-   Linux - Networking (
-   -   adding bridge to file server (

kr00pa 08-15-2007 12:14 AM

adding bridge to file server
So the big, loud, and free laser printer is now living in the garage with the file server. It's got an ethernet interface and I'd like to bridge dhcp requests from it to the home router, via the server. I'm running Debian. I have the bridge-utils installed and tried the basic settings like this...

# ifconfig eth0
# ifconfig eth1
# brctl addbr br0
# brctl addif br0 eth0
# brctl addif br0 eth1
# dhclient br0

only to find it removes my ability to access the file server. Am I now supposed to make another virtual device for the file server???

tjyorkshire 08-15-2007 09:42 AM

I did read somewhere that when setting up an Ethernet bridge the system acting as the bridge doesn't show up on the network by default... Also if one of your interfaces is a wireless NIC bridging probably wont work.

I will go and see if i can find the tutorial...

Did you try ifup br0?

I found it, look here
look at step 5 in "6.2. Basic Setup"

Hope this helps

kr00pa 08-15-2007 01:07 PM

ifup did return that the bridge was working. I'll have a look at your link.


kr00pa 08-15-2007 05:08 PM

fyi- for those who are noob like me. I had to restart the samba server, and use a real crossover cable to the printer(as opposed to one you thought was, but wasn't:scratch:).

thanks for the help tjyorkshire

All times are GMT -5. The time now is 10:23 PM.