Howto setup a bridge device on CentOS or Fedora.
If you need to bring your KVM VM’s into the same local area network like your host is in you need to configure a bridge device.
1. Install all needed packages:
yum install bridge-utils
yum install tunctl
2. Disable NetworkManager and enable network at boot time:
chkconfig NetworkManager off
chkconfig –levels 35 network on
3. Create br0 configuration
Change following configuration to your needs.
4. Modify eth0 configuration:
5. Restart network or reboot machine to see if everything is configured persistent
Here are some additional information on the libvirt page. If you have performance problems with your bridge device you maybe need to disable the netfilter on the bridge interface.
Copyright © 2011. All Rights Reserved.