Ubuntu have had this "issue" with vms for a long time: http://stateless.geek.nz/2007/02/01/ubuntu-and-vmware-losing-your-ethernet-device-when-migrating/
Just delete /etc/udev/rules.d/70-persistent-net.rules. It is auto generated on the next boot. Nicholas On 12 February 2015 at 13:38, Ian Collins via smartos-discuss < [email protected]> wrote: > Anil Jangity via smartos-discuss wrote: > >> I am creating a new OEL KVM dataset. I was able to bring it up but the >> networking isn’t working. >> I end up getting eth2 and eth3. eth0 and eth0 are missing. >> >> Looking at 70-persistent-net.rules file, I do see 4 interfaces/4 MAC >> addresses. However log’s show: >> >> net eth0: ‘eth0’ renaming to ‘eth3’ >> net eth0: ‘eth1’ renaming to ‘eth2’ >> >> I think I have a standard config: >> >> "nics": [ >> { >> "nic_tag": "admin", >> "model": "virtio", >> "ip": “x.x.x.x", >> "netmask": "255.255.255.224", >> "gateway": “x.x.x.x", >> "primary": true >> }, >> { >> "nic_tag": "be", >> "model": "virtio", >> "ip": “y.y.y.y", >> "netmask": "255.0.0.0" >> } >> ], >> >> I am not too familiar with Linux, any ideas? Strangely, the base KVM I >> installed worked fine (the one this image is based on — where I installed >> using ISO). >> >> Thanks for any tips. >> > > Red hat or centos VMs are a pain in the arse for shifting network > interfaces. This might help: > > http://www.cyberciti.biz/tips/vmware-linux-lost-eth0-after- > cloning-image.html > > -- > Ian. > > > > > ------------------------------------------- > smartos-discuss > Archives: https://www.listbox.com/member/archive/184463/=now > RSS Feed: https://www.listbox.com/member/archive/rss/184463/ > 25241303-ebebecbc > Modify Your Subscription: https://www.listbox.com/ > member/?& > Powered by Listbox: http://www.listbox.com > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
