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

wireless/cat5 bridge



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?

Thanks for any assistance,
Todd



Reply to: