Installation guide

# chkconfig NetworkManager off
# chkconfig network on
# service NetworkManager stop
# service network start
Note
As an alternative to turning off NetworkManager, add "NM_CONTROLLED=no" to the ifcfg-*
scripts used in the examples. If yo u d o n o t eit her set t h is p aramet er or disable
Net wo rkMan ag er ent irely, an y brid g e co n f ig u rat io n will b e o verwrit t en and lo st
wh en Net wo rkMan ag er n ext st art s.
Creat in g n et wo rk in it scrip ts
Create or edit the following two network configuration files. This step can be repeated (with different
names) for additional network bridges.
Change to the /etc/sysconfig/network-scripts directory:
# cd /etc/sysconfig/network-scripts
Open the network script for the device you are adding to the bridge. In this example, ifcfg-eth0
defines the physical network interface which is set as part of a bridge:
DEVICE=eth0
# change the hardware address to match the hardware address your NIC uses
HWADDR=00:16:76:D6:C9:45
ONBOOT=yes
BRIDGE=br0
Note
You can configure the device's Maximum Transfer Unit (MTU) by appending an MTU variable
to the end of the configuration file.
MTU=9000
Create a new network script in the /etc/sysconfig/network-scripts directory called ifcfg-
br0 or similar. The br0 is the name of the bridge; this name can be anything as long as the name of
the file is the same as the DEVICE parameter.
DEVICE=br0
TYPE=Bridge
BOOTPROTO=dhcp
ONBOOT=yes
DELAY=0
Red Hat En t erp rise Lin ux 5 Virt ualizat ion Guid e
138