Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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.

share|improve this answer
    
Additionally, you can use it for renaming the interfaces. –  dsmsk80 Aug 12 '13 at 11:43
    
marki: may i know the ways to change interface name ay runtime ? –  user1812956 Aug 13 '13 at 5:33
    
I would change the interface name, stop the network service (on RHEL, service network stop), unload the kernel module for the network interface card (rmmod MOD_NAME), restart udev (on rhel, start_udev command), load the module and start the network service again. Please keep in mind that you will probably lose remote access to this server with this procedure. –  dsmsk80 Aug 13 '13 at 6:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.