From owner-freebsd-hackers Tue Jul 15 02:35:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA17650 for hackers-outgoing; Tue, 15 Jul 1997 02:35:53 -0700 (PDT) Received: from hq.icb.chel.su (hq.icb.chel.su [193.125.10.33]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA17454 for ; Tue, 15 Jul 1997 02:28:36 -0700 (PDT) Received: (babkin@localhost) by hq.icb.chel.su (8.8.3/8.6.5) id PAA08078; Tue, 15 Jul 1997 15:26:58 +0600 (ESD) From: "Serge A. Babkin" Message-Id: <199707150926.PAA08078@hq.icb.chel.su> Subject: Re: IPX routing? To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Tue, 15 Jul 1997 15:26:57 +0600 (ESD) Cc: jhay@mikom.csir.co.za, msmith@atrad.adelaide.edu.au, hackers@FreeBSD.ORG In-Reply-To: <199707140915.SAA09440@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Jul 14, 97 06:45:28 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > I do have code that do the Novel 802.3 protocol, but it only works > > on the ed0 type cards because I use link1 in ifconfig to set it > > and most other cards use that for something else like switching > > 10BT on/off. > > Erk. Do I take it then that it's not possible to do the 802.[23] protocols > as well as Ethernet_II simultaneously on the same interface? It's possible to receive both types of frames. But how to know which kind of encapsulation to use when you SEND the packets ? The only way to use both encapsulations I see is to keep a table that maps each network address to encapsulation type and fill it using the received packets. I've looked ayt the Linux code and it seems to me that they just allow the applied software to decide which encapsulation type to use: they just fill the full IPX header (that includes Ethernet header) in user-level software rather than in driver. It would be not bad to make the IPX implementation more Linux-like so it would be easy to port Netware emulators. -SB