@keegan.towne
Network interface teaming, also known as NIC teaming or bonding, allows you to combine multiple network interfaces into a single virtual interface, providing increased bandwidth, redundancy, and load balancing. Here are the steps to configure network interface teaming on Ubuntu:
1 2 |
sudo apt-get update sudo apt-get install ifenslave |
1 2 3 4 5 |
auto bond0 iface bond0 inet dhcp bond-mode 4 bond-miimon 100 bond-slaves eth0 eth1 |
1
|
sudo systemctl restart networking |
1
|
sudo ifconfig bond0 |
You should see output similar to the following:
1 2 3 4 5 6 7 |
bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST> mtu 1500 inet6 fe80::a00:27ff:fe5b:e716 prefixlen 64 scopeid 0x20<link> ether 08:00:27:5b:e7:16 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
That's it! You have now configured network interface teaming on Ubuntu.