File: //proc/1233/cwd/usr/share/doc/ifenslave/examples/two_hotplug_ethernet
A configuration with two hotplug ethernet (wire) interfaces.
-----8<----------8<----------8<----------8<----------8<-----
auto eth0
iface eth0 inet manual
bond-master bond0
auto eth1
iface eth1 inet manual
bond-master bond0
auto bond0
iface bond0 inet dhcp
bond-mode 1
bond-miimon 100
bond-primary eth0 eth1
-----8<----------8<----------8<----------8<----------8<-----
The "auto bond0" stanza is required, else bond0 won't bring up.