LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-28-2010, 08:27 AM   #1
mcleandl
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 5
Bridge networking on RHEL


Hi All,

Trying to set up Bridge networking on RHEL 5.5 to support KVM virtual quest:

ifcfg-br0
DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
GATEWAY=192.168.0.1
IPADDR=192.168.0.100
NETMASK=255.255.255.0
ONBOOT=yes

ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
TYPE=Ethernet
BRIDGE=br0

#brctl show
bridge name bridge id STP enabled interfaces
virbr0 8000.000000000000 yes
br0 8000.000e0cb30550 no eth0

For some reason the eth0 is picking up an dhcp address and not bridging through br0.

Any idea?

dave
 
Old 09-28-2010, 08:45 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Have you tried adding this line to your ifcfg-eth0?
Code:
BOOTPROTO=none
Also verify you don't have any saved copies of ifcfg-eth0 in /etc/sysconfig/network-scripts (e.g. ifcfg-eth0.old, .v01, .20100928 etc...). The network start script keys on files starting with "ifcfg-" so will try to start the NIC at the HWADDRESS in those files which is very likely to be the same one you have in ifcfg-eth0.

FYI: You CAN save copies in network-scripts by prepending rather than appending - e.g. old-ifcfg-eth0, v01-ifcfg-eth0, 20100928-ifcfg-eth0 etc... The important thing is that the copies don't start with "ifcfg-".
 
Old 10-06-2010, 06:47 AM   #3
mcleandl
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 5
Such a quick reply to the thread. Thanks to MensaWater for pointing out the newbie problem with naming convention on network files in /etc/sysconfig/network-scripts/. Removed old copies of network file names and everything was good.
 
  


Reply


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
Problem with configuring Xen Bridge Networking l2g Linux - Networking 4 04-30-2010 05:04 AM
Bridge networking for Xen sparkshankar Linux - Server 1 09-30-2009 03:53 AM
QEMU networking bridge not working tisource Linux - Software 1 02-01-2006 01:29 PM
slackware networking through XP bridge zigmund555 Linux - Networking 5 01-31-2004 10:43 AM

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

All times are GMT -5. The time now is 04:42 PM.

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