BBR (Bottleneck Bandwidth and RTT) is a new congestion control algorithm which is contributed to the Linux kernel TCP stack by Google. With BBR in place, a Linux server can get significantly increased throughput and reduced latency for connections. Besides, it’s easy to deploy BBR because this algorithm requires only updates on the sender side, not in the network or on the receiver side.
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 18.104.22.168 22.214.171.124 # 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