en_rinominareeth0.html

You can rename eth0 and other cards as we like? It may seem philosophical or onanistic, but also useful for the logics of standard roles and names in private networks.

 First save the current, device configurations and routes:

cp ifcfg-eth0 old.ifcfg-eth0 ; route -n > old.routes

On rh changes file ifcgf-newname and adds file route-newname in directory /etc/sysconfig/network-scripts/

In file ifcfg-newname add params NAME, DEVICE, ONBOOT, BOOTPROTO, IPADDR, HWADDR, TYPE.
Some parameters may seem outdated but this ensures the recognition configuration at boot.

NAME=mgt
DEVICE=mgt
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.168.144.72
NETMASK=255.255.255.0
IPV6INIT=no
TYPE=Ethernet
HWADDR=00:0c:29:be:a0:00


Firts reboot o restart the service, you must delete file /etc/udev/rules.d/70-persistent-net.rules where there are write paramiters about type, name, hw, device it will be write next boot again.

  Check directory /sys/class/net/ if everything is ok, as well uses tools like  iproute2, ethtools, ecc...