In my Trusty with all updates for today it works with this configuration: auto eth0 iface eth0 inet manual bond-master bond0 bond-primary eth2
auto eth2 iface eth2 inet manual bond-master bond0
auto bond0 iface bond0 inet static address 212.XXX.YYY.206 netmask 255.255.255.0 network 212.XXX.YYY.0 gateway 212.XXX.YYY.1 dns-nameservers 212.XXX.YYY.2
bond-mode 4 bond-miimon 100 bond-slaves none bond-xmit_hash_policy 1
iface bond0 inet6 static address 2010:ZZZZ:WWWW:2::ce netmask 64 gateway 2010:ZZZZ:WWWW:2::1
In my Trusty with all updates for today it works with this configuration:
auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth2
auto eth2
iface eth2 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
address 212.XXX.YYY.206
netmask 255.255.255.0
network 212.XXX.YYY.0
gateway 212.XXX.YYY.1
dns-nameservers 212.XXX.YYY.2
bond-mode 4 xmit_hash_ policy 1
bond-miimon 100
bond-slaves none
bond-
iface bond0 inet6 static WWWW:2: :ce
address 2010:ZZZZ:
netmask 64
gateway 2010:ZZZZ:WWWW:2::1