Archive for October, 2010

how-to Create Virtual Bridge

This is kinda old, but pretty helpful. I find myself referring to these notes often so I thought I would share

1. Create Virtual Bridge
# brctl addbr br0

verify with: brctl show

2. Create network script, edit /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
TYPE=Bridge
BOOTPROTO=dhcp
ONBOOT=yes

3. Edit eth0 network script add…

BRIDGE=br0
4. Add your physical interface to the bridge
# brctl addif br0 eth0

verify with: brctl show

5. Restart your network services
# service network restart

References:

http://www.linux-kvm.com/content/using-bridged-networking-virt-manager

http://www.linux-kvm.com/content/tip-how-get-maximum-network-performance-using-paravirtual-drivers-and-bridged-networking

Advertisement