We're using a VirtualBox (version 3) for a virtual PC.
The problem is that somehow the .xml file is corrupt and the virtual PC cannot be started.
To fix this problem, we followed:
which fixed the problem and allowed me to start up the virtual PC.
The next problem is that the network is changing to eth1, eth2, eth3, and so on instead of the original eth0.
For this, we fixed it following:
which again, fixes the problem. I assigned the old MAC address via VBox GUI and restart the virtual PC. I correctly ended up with eth0 (well almost. at first the "network connection" shows "ifupdown eth0" instead, but after playing around with the settings, I ended up with just eth0).
The problem is that I cannot connect to the internet from the virtual PC.
I can ping the host PC interface: 184.108.40.206
and the gateway (on a router) 220.127.116.11
but not the dns server (eg:) 18.104.22.168
and not yahoo.com nor google .com
From the Host PC:
I can ping the virtual PC: 22.214.171.124
and browse the internet.
I've tried adding the dns address 126.96.36.199 to /etc/resolv.conf but it doesnt work.
My setup is:
2 Lan interface: eth0=188.8.131.52, eth1=184.108.40.206
On VirtualBox panel, 220.127.116.11 is bridged to the virtualPC
Both 18.104.22.168 and 22.214.171.124 is connected to a switch which is connected to a router.
I've also tried:
>sudo default gw 126.96.36.199 dev eth0
Please note that prior to the xml error, the guest was able to connect to the internet.
Thank You so much.