Thursday, June 20, 2013

 

updating ip after cloning rhel 6 image

1. Go to /etc/udev/rules.d/
2. Open 70-persistent-net.rules with your favorite editor (I prefer "nano")
     There should be two devices listed starting with "SUBSYSTEM" (the same machine before cloning had only one)
3. Comment out the first line starting with "SUBSYSTEM" (a "#" will comment it out)
4. Go to the end of the second line (uncommented one) starting with "SUBSYSTEM" and change "eth1" to "eth0"
     Record the new MAC Address of the entry
5. Go to /etc/sysconfig/networking/devices
6. Open ifcfg-eth0 with your favorite editor
7. Change "HWADDR" to the new MAC Address you recorded
8. Change the IP while you're in here
9. Reboot the box, if ifcfg-eth0 is set to come up on boot, the vNIC should be working now.


Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?