All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] Bridge utilities compatible driver
@ 2004-11-10  2:22 ggb112
  2004-11-10 17:15 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: ggb112 @ 2004-11-10  2:22 UTC (permalink / raw)
  To: bridge

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.

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.

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bridge] Bridge utilities compatible driver
  2004-11-10  2:22 [Bridge] Bridge utilities compatible driver ggb112
@ 2004-11-10 17:15 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2004-11-10 17:15 UTC (permalink / raw)
  To: ggb112; +Cc: bridge

On Wed, 10 Nov 2004 13:22:18 +1100
ggb112 <gerard.borg@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
> 
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-10 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-10  2:22 [Bridge] Bridge utilities compatible driver ggb112
2004-11-10 17:15 ` Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.