Native OS bridge configuration ============================== The traditional "network-bridge" script attempts to modify existing active network interfaces to enable bridging. For non-trivial network configurations though this can be error prone, and the temporary disruption to network connectivity can upset some applications. This document outlines how to configure bridging using an OS' native network configuration files. Disabling Xen's network scripts ------------------------------- The first step is to check XenD's network bridge is disabled by editing /etc/xen/xend-config.sxp and changing the line (network-script network-bridge) To be (network-script /bin/true) Fedora/RHEL Bridging ==================== This outlines how to setup bridging using standard network initscripts present in Fedora or RHEL distros and their derivatives Disabling NetworkManager ------------------------ As of time of writing (Fedora 11) NetworkManager does not support bridging, so it is neccessary to disable it, and revert to "classic" network initscripts # chkconfig NetworkManager off # chkconfig network on # service NetworkManager stop # service network start NB, as an alternative to turning off NetworkManager, you can also add a line "NM_CONTROLLED=no" to the ifcfg-XXX scripts below Creating network initscripts ---------------------------- In the /etc/sysconfig/network-scripts directory it is necccessary to create 2 config files. The first (ifcfg-eth0) defines your physical network interface, and says that it will be part of a bridge: # cat > ifcfg-eth0 < ifcfg-br0 < /etc/sysconfig/iptables-forward-bridged # lokkit --custom-rules=ipv4:filter:/etc/sysconfig/iptables-forward-bridged # service libvirtd reload Alternatively, you can prevent bridged traffic getting pushed through the host's iptables rules completely. In /etc/sysctl.conf add # cat >> /etc/sysctl.conf <