RHCA Journey – Day 2

It was a busy day at work, so I was unable to spend as much time on training today, therefore only one chapter was covered.  It was a good one, and a found a weakness that I need to work on.  On day two I covered network teaming, and software bridges.

Now either of those alone, easy.  Just use nmcli and off you go, create the team such as:

nmcli con add type team con-name team0 ifname team0 config ‘{“runner”: {“name”: “activebackup”}}’

Then add in the interfaces such as:

nmcli con add type team-slave con-name team0-port1 ifname eno1 master team0

nmcli con add type team-slave con-name team0-port2 ifname eno2 master team0

Of course, adding IP information to the team interface:

nmcli con mod team0 ipv4.addresses 192.168.0.15/24 ipv4.method manual

Then you got yourself a spiffy new team.  Bridges are fairly similar and just as easy via nmcli.  However, where it because a little more tricky is if you want to have a team be part of a bridge, as you can’t use network manager to configure it, or control it.  So you have to first disable your team with nmcli dev dis team0, then disable network manager with disable NetworkManager and stop NetworkManager, then you have to edit and create files manually within /etc/sysconfig/network-scripts/ifcfg*, editing the ifcfg-team0 file, as well as each slave interface, and then creating a new ifcfg-bridge file, and assigning it an IP address.

It’s not “difficult” per se, just have to recall what needs to be added to the file, either by memory, and locating the example information in a man page to compare it with.  As there are only a few lines, I will go with just memorizing the information.

Later on, I will create a post that covers in detail how to do network teaming and software bridges with examples on each.  I’ll be reviewing this information further as well until I have it down, just in case on the exam they want me to do both.

Today, the next chapter goes over firewalld and port security.  So that should be fun.  As for my daily posts, I shifted them to be in the mornings each day, instead of at the end of the day.  I ran out of time yesterday, and this will just work better I think.  So tune in tomorrow morning again for Day 3.

Cheers,

Ivan Windon – RHCSA

Share

Ivan Windon

Ivan Windon is a Site Reliability Engineer at IBM. Ivan is actively engaged in Cloud Technologies with AWS, Google, and Azure. Ivan has extensive experience with Linux and Windows administration, DNS, Networking, IDM, and Security. In his free time, he enjoys being with his wife and two children. The family enjoys hiking, and traveling when able. His favorite locations are Yosemite NPS, and San Francisco, California.

You may also like...

1 Response

  1. April 11, 2019

    […] Out of all the ones this week so far, I’d say the one I need most work on is the adding a network team to a software bridge. So my review will focus mostly on […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.