Linux – what is the use of /etc/udev/rules.d/70-persistent-net.rules file in rhel

interfacelinuxredhatudev

what is the use of /etc/udev/rules.d/70-persistent-net.rules file in linux?
is anyother way to change interface name in linux other than 70-persistent-net.rules?

Thanks.

Best Answer

This file associates your NIC's MAC address with an interface name that will be given to the NIC at startup. There are certainly ways to change the name at runtime but if you reboot, it's gonna be the contents of that file that count.