Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-14-2007, 11:14 PM   #1
LQ Newbie
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
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???
Old 08-15-2007, 08:42 AM   #2
Registered: Jun 2007
Location: UK
Distribution: openSUSE 10.2
Posts: 138

Rep: Reputation: 15
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

Last edited by tjyorkshire; 08-15-2007 at 08:46 AM.
Old 08-15-2007, 12:07 PM   #3
LQ Newbie
Registered: Aug 2007
Posts: 3

Original Poster
Rep: Reputation: 0
ifup did return that the bridge was working. I'll have a look at your link.

Old 08-15-2007, 04:08 PM   #4
LQ Newbie
Registered: Aug 2007
Posts: 3

Original Poster
Rep: Reputation: 0
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).

thanks for the help tjyorkshire


bridge, dhcp, file, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failure of server APACHE bridge hoffmanyew Linux - Software 1 10-18-2006 09:08 AM
quick question. dhcp server + bridge emetib Linux - Networking 2 06-02-2005 07:56 PM
DHCP Server on Bridge slacky Linux - Networking 2 03-11-2005 06:50 AM
Adding a line to file mikz Linux - General 2 03-03-2005 12:35 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM > Forums > Linux Forums > Linux - Networking

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration