[CentOS] NICs order

Digimer lists at alteeve.ca
Mon Feb 1 19:56:11 UTC 2016


On 01/02/16 09:16 AM, Daniel Ruiz Molina wrote:
> Hi,
> 
> After installing CentOS 7 in a server with 2 NICs, system detects eth0
> and eth1 in reserve order. I would like to have eth1 as eth0 and eth0 as
> eth1. I have forced HWADDR attribute in
> /etc/sysconfig/network-scripts/ifcfg-etc{0,1}, but after rebooting,
> order is the same...
> 
> How can I solve it?
> 
> Thanks.

https://alteeve.ca/w/Changing_Ethernet_Device_Names_in_EL7_and_Fedora_15%2B

That covers renaming NICs on EL7.

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?



More information about the CentOS mailing list