You are not logged in.

#1 2009-09-03 23:20:16

ar5007eg
Member
Registered: 2008-06-29
Posts: 45

Can't configure network on Virtual PC using NAT

Hello, I can't configure network on Virtual PC 2007. Im using NAT.

I am able to "dhcpcd eth0" and get the following result:

dhcpcd: eth0: broadcasting for a lease
dhcpcd: eth0: offered 192.168.131.65 from 192.168.131.254
[...]
dhcpcd: eth0: leased 192.168.131.65 for 536870911 seconds
dhcpcd: forking to background

But I can't resolve host names, I can't ping 4.2.2.2 and I can't even ping 192.168.131.254.
Actually, the only IP I can ping is 192.168.131.65 (my local IP).

So, I need some help to setup my network.

Thanks in advance.

Offline

#2 2009-09-04 00:42:43

neddie_seagoon
Member
Registered: 2009-08-23
Posts: 121

Re: Can't configure network on Virtual PC using NAT

What is the output of /sbin/route -n ? What error do you get when trying to ping other hosts?

Offline

#3 2009-09-04 21:51:38

ar5007eg
Member
Registered: 2008-06-29
Posts: 45

Re: Can't configure network on Virtual PC using NAT

Output from /sbin/route -n is:

Kernel IP routing table

Destination               Gateway               Genmask             Flags    Metric   Ref  Use   Iface
192.168.131.0           0.0.0.0                 255.255.255.0      U         202       0     0      eth0
0.0.0.0                     192.168.131.254    0.0.0.0                UG       202       0     0      eth0

ping www.google.com
...
UOW... while I am writting this post, I realized that internet is actually WORKING. Well, one hour ago, I tried to install VirtualBox, and VirtualBox installed some new network adapter on my Windows. (But VirtualBox crashes under my Windows 7 when booting Linux kernel)

So, I guess that MAYBE that VirtualBox network adapter is making my internet work, because it was not working before I install it. So, MAYBE this is a tip for people that can't get internet to work under VirtualPC.

Anyway, thank you very much.

Offline

#4 2009-09-05 05:40:03

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Can't configure network on Virtual PC using NAT

Hello ar507eg!

"But VirtualBox crashes under my Windows 7 when booting Linux kernel" <- Please use the 3.0.6 beta version which is available from their site, this is a known bug with the earlier version.

Offline

Board footer

Powered by FluxBB