Bug 14841

Summary: IEEE 802 encapsulation for arp on ethernet isn't supported
Product: Base System Reporter: mb <mb>
Component: kernAssignee: Adrian Chadd <adrian>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description mb 1999-11-12 13:50:00 UTC
In RFC 1122, Requirements for Internet Hosts -- Communication Layers);
Chapter II, 2.3.3 (Ethernet and IEEE 802 Encpasulation) is written:

[...]
Every Internet host connected to a 10Mbps Ethernet cable;

- MUST be able to send and recieve packets using RFC-894
  encapsulation.
- SHOULD be able to recieve RFC-1042 packets intermixed
  with RFC-894 packets.
[...]

It seems that FreeBSD does not support snap encapsulation on
Ethernet. Of seven different OS's, only FreeBSD had problems
with setting the arp replies. It's not usual that if we ask
with type ether, the replay is type snap, but it can happen.

Fix: 

I'm still investigating the problem. Help is welcome.
It seems that ATM does only support snap encapsulation
for tcp, so it should also be possible to implement
on Ethernet.
How-To-Repeat: (using snap encapsulation on router as specified RFC-1042)

# tcpdump -s 1500 -v -v
snap arp arp reply ibmrouter is-at 0:60:92:10:6d:20 hardware #6

# arp -n -a
? (192.168.115.252) at incomplete [ethernet]


(using ether encapsulation on router as specified in RFC-894)

# tcpdump -s 1500 -v -v
arp reply ibmrouter is-at 0:60:92:10:6d:20 (0:60:92:10:6d:20)

# arp -n -a
? (192.168.115.252) at 0:60:92:10:6d:20 [ethernet]
Comment 1 Adrian Chadd freebsd_committer freebsd_triage 1999-11-12 14:31:50 UTC
Responsible Changed
From-To: freebsd-bugs->adrian

I'll nab a cisco and look at this. 
Comment 2 Bruce M Simpson freebsd_committer freebsd_triage 2004-07-09 07:14:32 UTC
State Changed
From-To: open->closed

This is what if_ef is for.