You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
510 B

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