[Bridge] Bridge utilities compatible driver

Stephen Hemminger shemminger at osdl.org
Wed Nov 10 09:15:19 PST 2004

On Wed, 10 Nov 2004 13:22:18 +1100
ggb112 <gerard.borg at anu.edu.au> wrote:

> Hi guys
> I am writing a serial network driver. My aim is to bridge two ethernets 
> across a serial bridge.
> Unfortunately the channel is noisy and slip and ppp are too unreliable.

Full stop.  Then bridging is not the answer. You need to have a reliable
(no corruption), packetized link to do bridging. Otherwise, you would
be introducing corrupted packets from you link onto the Ethernet you
are bridging onto. If you can't get ppp to work, then bridging it isn't
the answer.

> The driver appears to work by itself and allows two computers  to ping 
> each other across a
> null modem cable.
> The network driver code permits Linux OS ARPing support for ethernet and 
>  MAC addresses
> are manually assigned by insmod.
> The driver is based on  mkiss.c: the packet radio driver for serial ttys 
> except that I have eliminated
> ax25 specific code, interfaced to IP directly and added some ethernet 
> support.
> Now the problem...
> The network driver cannot be bridged to an ethernet card using the 
> bridge-utilities layer 2
> bridge tools.

The device has to say it does ethernet encapsulation, the addresses
and headers must be the same as ethernet.

> Note that I have  successfully bridged between the ethernet  card and 
> other  ethernet like hardware such as
> cisco pci340 WiFi by using these tools.
> I am using bridge-utilities-0.9.6-1 on linux 2.4.18-14 and linux 2.20-8.
> Any ideas about what I should include as software support in the driver 
> code that will make bridge-utilities
> happy?
> What does bridge-utilities expect to have available to do its job?
> Cheers
> Gerard Borg
> Australian National Univesrity

More information about the Bridge mailing list