Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 1997 10:10:19 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        awhawks@ibm.net
Cc:        current@freebsd.org
Subject:   Is 802.3 supported?
Message-ID:  <199703241510.KAA13525@khavrinen.lcs.mit.edu>
In-Reply-To: <199703220147.UAA08708@pent.ibm.net>
References:  <199703220147.UAA08708@pent.ibm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 21 Mar 1997 20:47:03 -0500, "Adam W. Hawks" <awhawks@ibm.net> said:

> I have a NE2000 card and a IBM 9229 Token-Ring to Ethernet bridge which 
> currently talks to everything fine except for my FreeBSD Box. I finaly 
> found in the docs that the default is Ethernet-II protocol. Can I set
> something in the kernel that will make it use 802.3 (like the bidge) 
> instead?

No.  It's not actually very hard to do this, but we are unfortunately
out of interface flags at the moment which you might set to
enable/disable such translation.

If you'd like to try to change the code yourself, you need to look in
net/if_ethersubr.c at the function ether_output().  Rather than
filling in the Ethertype in the header, you'll need to put the packet
length there and folllow the Ethernet header with hex 'aa aa 03 00 00
00' and the Ethertype.  This also means that the MTU of each interface
would be reduced to 1494 from 1500 (one of the reasons why 802.2
encapsulation is rarely used under IP).

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703241510.KAA13525>