RedHat Networking

Fix interface names with udev

If NICs get added and deleted, the interface number will be incremented, for example eth1, eth2, … To clean that up, the udev rules can be edited.

Edit rules:

# vi /etc/udev/rules.d/70-persistent-net.rules

Reload rules:

# udevadm control --reload-rules

Request device events from the kernel:

# udevadm trigger --action=change