# The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address IP_HOST_FIXME netmask 255.255.255.0 network NETWORK_FIXME broadcast BROADCAST_FIXME gateway GATEWAY_FIXME # create dummy interfaces up /sbin/ifconfig dummy0 up up /sbin/ifconfig dummy1 up # create the bridges up /sbin/brctl addbr bridge0 up /sbin/brctl addbr bridge1 # add the interfaces to the bridges up /sbin/brctl addif bridge0 dummy0 up /sbin/brctl addif bridge1 dummy1 # bringup the bridges up /sbin/ifconfig bridge0 up up /sbin/ifconfig bridge1 up # add the routes up /sbin/route add IP_VM_1_FIXME dev bridge0 up /sbin/route add IP_VM_2_FIXME dev bridge1 # the most important! up /sbin/sysctl -w net.ipv4.conf.eth0.proxy_arp=1