source /etc/network/interfaces.d/* auto lo iface lo inet loopback auto bond0 iface bond0 inet static address 192.168.1.101/31 #address 192.168.1.100 netmask 255.255.255.254 gateway 192.168.10.100 bond-downdelay 200 bond-miimon 100 bond-mode 4 bond-updelay 200 bond-xmit_hash_policy layer3+4 bond-lacp-rate 1 bond-slaves ens3f0 ens3f1 auto bond0:0 iface bond0:0 inet static address 10.0.0.1/31 post-up route add -net 10.0.0.0/8 gw 10.0.0.0 post-down route del -net 10.0.0.0/8 gw 10.0.0.0