Musings and Mutterings through the Machines

  • RSS
  • About Me
  • Resources
  • Projects
  • Professional Resume
  • Social
  • Blog

Hold your nose and close your eyes

Published: Wed 13 April 2016
By rilindo

In Blog.

tags: linux Network Manager networking

Aggregating interfaces can be a pain, but it doesn't have to be. With Red Hat 7 and above, you can team your interfaces with very little effort. Frankly, it is pretty awesome.

There is one catch, though. You will have to learn to use Network Manager.Specifically, nmcli.

Much can be say about whether Network Manager is necessary or not on the server, but after working with nmcli, I could at least see how useful it is when comes to persistently set teaming configurations. I mean, the setup goes something like this:

Create a team configuration file, using one of the example in the documentation directory

cd /usr/share/doc/teamd-1.17/example_configs/

cpactivebackup_ethtool_1.conf tmp.json

cat tmp.json

Then create the master, using the above configuration:

nmcli con add type team con-name team0ifnameteam0configtmp.json

Then add the slaves:

nmcli con add type team-slave con-name ens8ifnameens8masterteam0
nmcli con add type team-slave con-name ens9ifname ens9masterteam0

Re-start the interfaces and you are done!

It does smell a bit, but after fighting with Network Manager for the last decade, maybe it is time to at least give it a chance.

Proudly powered by Pelican, which takes great advantage of Python.

The theme is by Smashing Magazine, thanks!