auto lo iface lo inet loopback # Configure bond0 interface with static IP auto bond0 iface bond0 inet static address {ip_address} netmask 255.255.255.0 gateway {gateway} bond-slaves {interface1} {interface2} bond-mode active-backup bond-miimon 100 # Ensure that slave interfaces do not get IP addresses allow-hotplug {interface1} iface {interface1} inet manual bond-master bond0 allow-hotplug {interface2} iface {interface2} inet manual bond-master bond0