[vbox-dev] NAT/slirp issue?

Frank Mehnert Frank.Mehnert at Sun.COM
Thu Dec 18 17:30:59 GMT 2008

On Thursday 18 December 2008, Huihong Luo wrote:
> I have a windows xp host PC that has two network interfaces, one is for
> internal local network without internet connection, the other can connect
> to internet. These two interfaces have 2 different IPs. 
> Somehow, vbox vm (configured as NAT) running on this pc can NOT browse any
> internet websites, but it works for the local network. I checked the
> settings inside vm, the adapter and ip are correct, and there is traffice
> between this vm and the host. 
> It seems somehow the vm is hooked to the internal network on host, rather
> than the one that can browse internet. I don't know how slirp works
> internally, but I assume it uses windows socket api to send/receive
> packets. Any chance that traffic is bounded to a specific interface? 

Please try again in NAT mode. Then have a look at the VBox.log
file yourself. Search for 'NAT: ...' lines and have a look at
lines which mention name servers. Please check if the correct
name server is passed to the guest.

Kind regards,

Dr.-Ing. Frank Mehnert    Sun Microsystems    http://www.sun.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20081218/d113550b/attachment.sig>

More information about the vbox-dev mailing list