[CentOS] Renaming NIC name in CentOS 7

George Kontostanos gkontos.mail at gmail.com
Mon Oct 6 11:26:05 UTC 2014


On Sun, Oct 5, 2014 at 11:20 PM, Digimer <lists at alteeve.ca> wrote:

> To answer this question using my use-case;
>
> I build HA clusters, and I want to make sure that physical port X on all
> nodes have the same device name. Biosdevname tries to address this, but
> doesn't work all the time.
>
> Further, in my case, I've got a minimum of six interfaces in each node,
> paired into three bonded groups. Having the device name reflect the purpose
> in the node is very helpful 12~24 months down the road when I need to fix a
> network problem.
>
> There *are* cogent arguments for renaming interfaces.
>
> cheers


No argument here. I just though that it is much easier to simply pass the
following options to grub --> "net.ifnames=0 biosdevname=0"
Then you manually edit the interface(s) name.



More information about the CentOS mailing list