From owner-freebsd-current Mon Mar 24 07:10:45 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA12477 for current-outgoing; Mon, 24 Mar 1997 07:10:45 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.0.193]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA12470 for ; Mon, 24 Mar 1997 07:10:38 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.8.5/8.8.5) id KAA13525; Mon, 24 Mar 1997 10:10:19 -0500 (EST) Date: Mon, 24 Mar 1997 10:10:19 -0500 (EST) From: Garrett Wollman Message-Id: <199703241510.KAA13525@khavrinen.lcs.mit.edu> To: awhawks@ibm.net Cc: current@freebsd.org Subject: Is 802.3 supported? In-Reply-To: <199703220147.UAA08708@pent.ibm.net> References: <199703220147.UAA08708@pent.ibm.net> Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk < 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