If you have network interfaces that no longer counts from 0 or 1 because you’ve added and removed a network card, you may force Linux to renumber the interfaces by modifying the
udev rules and network configs.
The simplest solution would be to:
- Delete (or edit out old entries in) /etc/udev/rules.d/70-persistent-net.rules
- Edit the network scripts in /etc/sysconfig/network-scripts/ifcfg-* and delete any extraneous configs.
Ensure that your network configs match the interfaces when the system comes back up.