Like this, but then with bonding:
# The loopback network interface auto lo iface lo inet loopback auto bond0 # The primary network interface iface bond0 inet manual slaves eth0 eth1 bond-mode active-backup bond-miimon 100 bond-downdelay 200 bond-updelay 200 auto xenbr0 iface xenbr0 inet static address 22.214.171.124 netmask 255.255.255.0 network 126.96.36.199 gateway 188.8.131.52 dns-nameservers 184.108.40.206 220.127.116.11 bridge_ports bond0 bridge_fd 0
I needed it because I had have a dedicated server that was setup with ethernet bonding that I wanted to install Xen on. Normally, you can let xen setup the network with “network-script network-bridge” in /etc/xen/xend-config.xsp, but that doesn’t work when you have bonding. And, it’s actually better to do it with Debian’s netconfig anyway.