I'm adding a secondary IP to my CentOS 8 server running NetworkManager. I would previously have done this with ifcfg-style configuration files, but I'm trying to embrace the future and the direction RHEL/CentOS is setting. Unfortunately, this isn't going the way I expected.
What I was expecting, was a new ethernet interface. The reason for wanting this, is that it allows me to bind different services to different IPs, possibly on the same ports. This is nothing new, and it "just worked" with files like ifcfg-eth0:1 in previous versions of CentOS. Now, my ifcfg-eth0:1 alias file is either being completely ignored, or results in an additional IP being added to the primary interface. No method has so far created an additional network interface.
My question now is this: Is this actually possible in CentOS8 without reverting to network-scripts? Is the concept of binding a service to a specific network interface a thing of the past??