The interface identify of a community system will increase if the mac handle of the bodily or digital community card modifications. A widespread case is when you made a clone of a digital machine for instance by way of VMware or KVM or changed a bodily community card in a non virtualized server.

If it’s a CentOS S machine it’s essential change P information to rename the interface for instance from eth1 again to eth0.

One file is the udev rule for community units which is situated right here:

/and so on/udev/guidelines.d/70-persistent-internet.guidelines

Copy the brand new mac handle to the road of your eth0 rule and delete the brand new rule for eth1.

# PCI gadget 0x15ad:0x07b0 (vmxnet3)
SUBSYSTEM==”internet”, ACTION==”add”, DRIVERS==”?*”, ATTRhandle==”00:forty:33:b7:eleven:f0″, ATTRsort==”M″, KERNEL==”eth*”, NAME=”eth0″

Modify the community configuration situated beneath:

/and so on/sysconfig/community-scripts/ifcfg-eth0

and replace the previous ip with the brand new one and the previous mac tackle with the brand new mac handle.

To be certain all the things works high-quality reboot your machine.

Leave a Reply

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