[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wireless/cat5 bridge



On Wed, Jul 16, 2003 at 05:28:52PM -0500, Todd Pytel wrote:
> I'm looking to set up a transparent wireless/cat5 in the uncommon
> direction - i.e. the network and rest of the world are on the wireless
> side and the LAN is on the cat5 side.  At some point, I'll probably go
> with a hardware solution, but for the moment Debian is what I've got.  I
> don't need firewalling, filtering, routing, or NAT - just a transparent
> bridge.  So what is the "Debian proper" way to do this?  From what I've
> read online, I need to ultimately do...
> 
> brctl addbr br0
> brctl addif br0 eth0
> brctl addif br0 eth1
> ifconfig eth0 0.0.0.0
> ifconfig eth1 0.0.0.0
> ifconfig br0 netmask 255.255.240.0 broadcast 10.36.127.255
> 
> Is the last line correct (assuming my numbers are right)?  That is, I
> don't assign an IP address to br0 because it's transparent?  For the
> same reason, I shouldn't be doing any routing, correct?  Also, do I need
> entries in interfaces for eth0 or eth1?  Or should I just write
> everything I need into a script, dump that into init.d, and create
> links appropriately?
> 

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

#auto br0
iface br0 inet static
    address 10.0.0.122
    netmask 255.255.255.0
    broadcast 10.0.0.0
    gateway 10.0.0.1
    bridge_ports all



Reply to: