Here it is the correct workaround for the bond0 section.
auto bond0 iface bond0 inet manual post-up ifconfig $IFACE up pre-down ifconfig $IFACE down bond-slaves none bond-mode active-backup bond-downdelay 250 bond-updelay 120
Here it is the correct workaround for the bond0 section.
auto bond0
iface bond0 inet manual
post-up ifconfig $IFACE up
pre-down ifconfig $IFACE down
bond-slaves none
bond-mode active-backup
bond-downdelay 250
bond-updelay 120