So, if you have been following along various posts made here over the past month, you know that I have taken to centos as my go-to server. I have made a nice centos vm at work and configured it with LAMP to serve as a intranet server. Everything is running along nicely, so I thought I would take it up a bit. I exported the vm onto a usb stick and brought it home.
In moving a ESXi 5.0 centos box from work (non x86) to my home testbox (x86), the virtual network device was no longer available on my home vmware box.
I needed to force the os to redetect network devices:
delete the file /etc/udev/rules.d/70-persistent-net.rules
shutdown
Edit the vm and install a new virtual network adapter
(in my case I left the E1000 that existed and added a VMXNET2 adapter as I would like to maintain the current adapter as eth0 so the vm will still function at work).
Boot centos
ifconfig should show eth1 present without an ip
run setup and configure a new network adapther, eth1, assign ip
exit setup and reboot
eth1 should be good.
Recent Comments