On my desktop, there are files in /etc/sysconfig/network-scripts/ :
Code:
-rw-------. 1 root root 396 Feb 5 17:03 ifcfg-enp3s0
-rw-r--r--. 1 root root 254 May 3 2017 ifcfg-lo
lrwxrwxrwx. 1 root root 24 Feb 6 12:53 ifdown -> ../../../usr/sbin/ifdown
lrwxrwxrwx. 1 root root 22 Feb 6 12:53 ifup -> ../../../usr/sbin/ifup
will bring the NIC down, and
will bring it back up.
Each NIC will (should) have an ifcfg-* in /etc/sysconfig/network-scripts/ and
Code:
systemctl start network.service
or a reboot will startup both NICs.
Setting the
inside ifcfg-enp8s0 should prevent it from starting at boot, but I'm not sure if that will keep it from responding to a
Code:
systemctl restart network.service
...and only have one NIC on my pc to test with.
So: The commands are the same, but substitute the new name of the NIC for eth0/1
FWIW, on my headless server, I copied the ifcfg-* files from the old server, which preserved the eth0 name, because the name is one of the values in the ifcfg files. Still only one NIC there, tho, too.
PS: That link you posted says all of the above...wish I'd looked at it first
