wifi ethernet bridge?

Toby Martin toby at coas.oregonstate.edu
Tue Feb 21 15:55:10 PST 2006


> >On Tue, 14 Feb 2006 Harmon Seaver <hseaver at gmail.com> wrote:

> >>I'm
> >>setting up a linux (debian) "access point" that has two Seano cards in
> >>it, plus ethernet to my home network. Both wifi cards connect to
> >>different remote AP's and get their IP with dhcp.  Eth0 is a static IP
> >>on my network. I want to bridge these 3 networks if possible, and get
> >>the combined bandwidth of the two cable modems the remote APs are
> >>connected to. If that isn't possible, then I'd settle for just one at a
> >>time, but so far while I can set up a bridge, I can't figure out how to
> >>route it at all, especially since everything I read so far is for
> >>setting it up the opposite way ( no IP given to the wifi cards and a
> >>static IP given to the bridge, putting it on the ethernet network).

> Toby Martin wrote:

> >I use a soekris box with a Seano card to beg service from a company
> >across the street.  My side comes off eth0.  For a while I had wlan0 
> >set up to get it's address via DHCP, but I noticed that it was SLOW 
> >to boot.  Some sort of race state at boot time I image.  Anyway both 
> >the wlan0 and eth0 are now static addresses and it works much better.
> >
> >Inital configuration of the system can be found at
> ><http://sssg1.whoi.edu/swap>.  I did have to make a few modifications to
> >get it to route correctly, mostly in iptables.  If you are interested, I
> >can write up the modifications and pass them along.

On Tue, 14 Feb 2006 Harmon Seaver <hseaver at gmail.com> wrote;

> >  Ah, yes, if you would please. And -- after just a quick look -- 
> >  that looks like a great link too. 

----------

Apologies for the delay getting this out.

Some quick notes and the associated files for doing this can be found at
<http://pigeon.shipops.orst.edu/swap/bridge/>
Obviously the notes are in the file:
  2006-01-30.notes
The directories:
  tecumsa - the new config that does bridging
  test1   - the original config

There are minor changes to 4 files.  The one Harmon is probably most
interested in is 
  /etc/network/firewall-nat
which contains the masquerading rules to do the routing.

Toby


More information about the Dev mailing list