In juniper switch set aggregated Ethernet link mode as active
set aeX aggregated-ether-options lacp active
Edit file /etc/network/interfaces
# The loopback network interface auto lo iface lo inet loopback dns-nameservers 64.6.64.6 8.8.8.8 # eth0 slave interface iface eth0 inet manual # eth1 slave interface iface eth1 inet manual # bond0 trunk interface auto bond0 iface bond0 inet manual slaves eth0 eth1 bond-mode 4 bond-miimon 100 bond-downdelay 200 bond-updelay 200 bond-lacp-rate 1 bond-xmit-hash-policy layer3+4 #post-up ifup eth0 eth1 # bond0.2 vlan 2 interface auto bond0.2 iface bond0.2 inet static vlan-raw-device bond0 address 192.168.1.10 gateway 192.168.1.1 netmask 255.255.255.0 pre-down ip -4 addr flush dev $IFACE # bond0.3 vlan 3 interface auto bond0.3 iface bond0.3 inet static vlan-raw-device bond0 address 172.16.0.10 gateway 172.16.0.1 netmask 255.255.255.0 pre-down ip -4 addr flush dev $IFACE
Then restart networking service
service networking restart && ifdown bond0 && ifup bond0
Latest posts by Kawin Viriyaprasopsook (see all)
- Convert flac audio to opus/ogg/mp3 - 2020-12-20
- Fix systemd resolved not working (127.0.0.53) - 2019-09-23
- Safely remove SATA disk from a running Linux system - 2019-05-24