Vigyata.AI
Is this your channel?

Linux Network Interface Bonding for a Single TCP/IP Connection (Round-Robin)

12.1K views· 306 likes· 11:07· Dec 18, 2022

🛍️ Products Mentioned (2)

Featured Products: (affiliate links) HPE 2920-48G Switch... https://ebay.us/VqJ5CX RedHat Documentation... https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-network-bonding_configuring-and-managing-networking Bonding two 1GbE network ports to create a 2gbps connection to the switch for faster file transfers to an upstream host. This will be done on OracleLinux 8.6 using the round robin balancing mode so we can transfer with a single TCP/IP connection. We'll also do some IPerf 3 testing and talk about the pros/cons. Chapters: 00:00 Introduction 00:15 The Plan 00:38 Linux Interface Bond 04:40 MAC Flapping 05:30 Switch Trunk Config 07:15 IPerf Demonstration 09:02 L3 vs L4 Balancing 10:24 Conclusions Contact Info: Business email is lithiumsolardiy@gmail.com. I am not available for personal project questions or consultation. Disclaimers and Statements: ► I receive a small commission on purchases made using my affiliated links shared the video description and comments section. The views and opinions expressed here are my own, unbiased, and not influenced by this commission in any way.

About This Video

In this video I walk through bonding two 1GbE NICs on Oracle Linux 8.6 (basically RHEL 8) so I can push files off a small server faster—think 100GB chunks going up to my big storage box. The goal is a 2Gbps uplink back to my HPE 2920 switch, and I specifically use round-robin (mode 0 / balance-rr) because it’s the one bonding mode that can stripe packets across both links for a single TCP/IP flow. I do the whole config using nmcli, starting clean (no existing connection profiles), creating bond0, then adding eno1 and eno2 as slaves, and verifying link speed and MAC behavior. Then I show the part people skip: the switch side. If you don’t configure a trunk/LAG, you’ll get MAC flapping—your MAC bounces between ports and performance gets weird. On the 2920 I build a standard trunk (not LACP), confirm the MAC lands on the trunk interface, and then I validate performance with rsync and iperf3. The big takeaway from the iperf testing is that most switches won’t do true round-robin load balancing; they hash. With the 2920, changing trunk load balancing from L3 to L4 makes a huge difference for multiple parallel streams (iperf -P), but it still explains why bonding is very directional and why LACP is usually the “correct” approach when you’re not specifically trying to solve this exact upload/offload scenario.

Frequently Asked Questions

🎬 More from Home SysAdmin