Pošlite nám správu

Spojte sa s nami

Telefonné číslo

+421 948 490 415

Edit Template

How to Configure a Bond Interface in Ubuntu with a UDM Pro Switch

Tento článok je dostupný len v anglickom jazyku.

Since we don’t have fiber-optic connections between servers and aren’t planning to invest in such infrastructure in the near future, we decided to implement bonding on our servers, combining two network interfaces for improved throughput and redundancy. This article provides a step-by-step guide on setting up bonding in Ubuntu using Netplan and configuring the UDM Pro switch to ensure everything works seamlessly.

Steps to Configure Bonding

1. Configure Bonding in Ubuntu

				sudo vim /etc/netplan/01-netcfg.yaml
			

				network:
  version: 2
  ethernets:
    eno1:
      dhcp4: no
    eno2:
      dhcp4: no
  bonds:
    bond0:
      dhcp4: yes
      interfaces:
        - eno1
        - eno2
      parameters:
        mode: balance-rr
			

				sudo netplan apply
			

Note: Applying this configuration will cause the network to stop functioning until the switch is configured. Proceed with caution.

2. Configuring Bonding on the UDM Pro Switch

 

2. Verifying Functionality

				sudo apt install iperf3
			

				iperf3 -s
			

Test Redundancy by Disconnecting a Cable

Physically disconnect one of the bonded cables from the server or switch. Then ensure the connection remains active and traffic continues to flow without interruption.

Conclusion

By combining Ubuntu’s Netplan bonding configuration with the UDM Pro switch’s port aggregation settings, we achieved a cost-effective solution to our increased network demands. This setup enhances both throughput and redundancy, ensuring reliable performance for our Kubernetes cluster.

Tento članok si môžete prečitať na našom Medium

O nás

Vitajte na našom blogu! Prinášame inovatívne a efektívne riešenia a delíme sa o naše skúsenosti, aby ste mohli rásť spolu s nami. 

Odporúčané články

Najnovšie články

Zistite viac o našej spoločnosti

Navrhujeme softvérové riešenia, ktoré posunú váš biznis vpred!

CORETEQ Technology s.r.o.

CREATED BY DMITRY B. AND MAKHABBAT B.