LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-16-2009, 11:10 AM   #1
scottyob
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Bridging Q


G'Day gang.

Just a quick question about network bridging. I live on campus and wanted my little linux box to be on the net at the same time my Laptop is. I wanted each to have their own IP address and have had success with this by testing it out with a switch in my room. Now I've decided since my little linux box has two NIC's, I'll just use it to bridge my network. In Gentoo, my net configuration looks like this:
#bridging
bridge_br0="eth4 eth5"

config_br0=( "dhcp" )

#stop our non-bridge interfaces from getting IP addresses
config_eth4=( "null" )
config_eth5=( "null" )

#we wish to access the WAN on our current machine
RC_NEED_br0="net.eth4"

This works fine for both parties, however, my bridge is now assigned a new IP address with each boot. I was hoping for it to keep the same IP address that the DHCP server used to assign eth4 to. The problem is that each time the bridge starts, a new IP address is given. (where as the DHCP server usually only issues one IP address per MAC address). What's the best way to accomplish a more constant IP address with my universities network setup? (static IP addresses don't work)
 
  


Reply



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
VMWare's bridging vs Window's bridging - routing is messed up when Windows bridging brenan99 General 0 05-04-2008 10:24 PM
Help with bridging Mithrilhall Linux - Networking 11 10-20-2006 04:00 PM
Bridging+Bonding for Bridging+HA+Load Balancing? kartheekpn Linux - Networking 0 08-13-2006 02:08 AM
bridging firewall cortj Linux - Security 1 03-11-2005 03:48 AM
Bridging? JapaneseKamikaz Linux - Networking 0 03-11-2003 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:49 AM.

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