VMware Communities
chunchengch
Contributor
Contributor

no eth0 in clone machine?

I built a Linux guest VM, and it's eth0 works fine, for backup concern, I created a full clone of this Linux guest VM, the problem is the eth0 of this clone does not work, how can I solve it?

Thanks for your help!

Reply
0 Kudos
6 Replies
Liz
Virtuoso
Virtuoso

OK, start at the beginning

Does the guest definition have a network card still?

Is it enabled on startup?

Does the kernel of the guest find it when its booting up or report any issues

Or is it more a case just not getting an IP

Reply
0 Kudos
chunchengch
Contributor
Contributor

Thanks for reply!

I forgot to mention the guest os is Gentoo, I just finished a fresh install, so

1. Does the guest definition have a network card still? --- yes, NAT

2. Is it enabled on startup? --- yes

3. Does the kernel of the guest find it when its booting up or report any issues? --- yes, the kernel find the eth0, but report as follows,

-


starting eth0

Bringing up eth0 dhcp

network interface eth0 does not exit

please verify hardware or kernel module (driver) ERROR: cannot start netmount as net.eth0 could not start

4. Or is it more a case just not getting an IP --- what should I do?

Thanks!

Reply
0 Kudos
uslacker99
Expert
Expert

The virtual MAC address changed. Find the place in Gentoo where it's stored and either change it or delete it and I think eth0 will come up.

Reply
0 Kudos
chunchengch
Contributor
Contributor

Thanks for reply,

1. I do not know where to modify or delete the virtual MAC address, I type "slocate MAC" and "whereis MAC" to search, but got nothing, would you please explicitly tell me how to do ? thanks!

2. I type command "ifconfig -a" to check the network interface, and the system finds eth1 and lo, but no eth0, I try to change eth0 to eth1 in file /etc/conf.d/net, but it does not work, any solution about this? thanks!

Reply
0 Kudos
Liz
Virtuoso
Virtuoso

Ok, this comes with the warning of: I use slackware, and I like it. I use redhat at work, and I hate it. (because they moved stuff, and put in a number of "help the user" scripts which just get in the way)

In redhat under /etc/sysconfig/network-scripts there is a file called ifcfg-eth0, in there it DUMBLY puts the mac in so that should you ever change the card it wont work.. which I find highly irritating.. if you just comment out the HWADDR like it happily works no matter.

Try looking around that kind of area.

Reply
0 Kudos
uslacker99
Expert
Expert

Try just reinstalling vmware tools.

Reply
0 Kudos