Available Runners and configuring teaming interface

Mihir SuratwalaMihir Suratwala
2 min read

Last Blog Review

In the last blog we understood, what is NIC teaming

What are Runners →

This are distinct unit of implement NIC teaming in different mode.

Available Runners in NIC →

  1. broadcast → data is transmitted all over ports

  2. active-backup → one port or link is used while others are kept as a backup

  3. round-robin → data is transmitted over all ports in turn

  4. loadbalance → Traffic is distributed across all NIC’s

Advantage of NIC Teaming →

  1. Load balancing →

    In case of NIC Teaming, the network traffic is balanced across all active NIC’s equally.

  2. Fault Tolerance →

    Another benefit offered by NIC Teaming is higher Fault Tolerance. If one of the underlying physical NICs is broken down or if the cable of the corresponding NIC is unplugged, the host/server detects the fault condition and moves the traffic to another NIC automatically. This reduces the possibility of a breakdown of the entire network, thus improving the fault tolerance of the system.

cmd’s for teaming interface.

  1. configure network teaming domain

     yum install teamd
    
  2. create the teaming interface

     nmcli con add type team con-name Teama ifname Teama config
     '{"runner": {"name": "activebackup"}}'
    
  3. Add an IPv4 configuration

     nmcli con modify Team1 ipv4.add 192.168.1.10/24 gw4 192.168.1.1 
     ipv4.dns 192.168.1.1 connection.autoconnect yes ipv4.method manual
    
  4. Add the eth0 & eth1 interface to the teaming interface

     nmcli con add type team-slave con-name Teama-slavea ifname enp0s1 master Teama
    
     nmcli con add type team-slave con-name Teama-slave2 ifname enp0s2 master Teama
    
  5. Activating the teaming interface

     nmcli con up Teama
     nmcli con up Teama-slave1
     nmcli con up Teama-slave2
    

    For checking

     ping 192.168.1.10
     teamdctl Teama stat
    

Conclusion

In the this blog we understood, what are runners, types of runners and advantages of runners. Commands of network interface teaming.

Image credit

https://images.app.goo.gl/MsG1DyWwwhE3kCsx6

💡
That’s a wrap for today’s post! I hope this has given you some valuable insights. Be sure to explore more articles on our blog for further tips and advice. See you in the next post!
0
Subscribe to my newsletter

Read articles from Mihir Suratwala directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Mihir Suratwala
Mihir Suratwala

Hi, How are you !! Hope you doing good.... I got introduced to Cloud initially. As I went ahead learning what is cloud and how it works, then got to know a field which is DevOps that makes Cloud model more effective. So, as I started working & got good experience on AWS. I have been learning the DevOps tool and technologies on how to use it with the Cloud, which will give me good understanding on how Cloud and DevOps go hand in hand to deploy my applications.