#1715 closed enhancement (fixed)
NAT doesn't provide conection to internet for guest (Vista host)
Reported by: | tulpina | Owned by: | |
---|---|---|---|
Component: | network/NAT | Version: | VirtualBox 1.6.2 |
Keywords: | nat internet ics | Cc: | |
Guest type: | other | Host type: | other |
Description
Host OS: Vista sp1 Guest OS: Ubuntu 8.04 (live)
With NAT networking, guest doesn't find anything in the internet. The only solution for connecting is ICS on windows with new VirtualBox Interface. Sharing Internet through NAT via dhcp would be nice like in Vmware.
Change History (9)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
And ping doesn't work with NAT as documented in the user manual. So what did you use to test internet access in the guest?
comment:3 by , 16 years ago
Guest have working dhcp and it get IP: 10.0.2.15 bc: 10.0.2.255 mask: 255.255.255.0 route: 10.0.2.2 and DNS: 10.0.2.3 I use Firefox to connect to internet and I know I can manualy set DNS if that's the problem, but I want a working internet conection out of the box.
comment:4 by , 16 years ago
Guest have working dhcp and it get IP: 10.0.2.15 bc: 10.0.2.255 mask: 255.255.255.0 route: 10.0.2.2 and DNS: 10.0.2.3 I use Firefox to connect to internet and I know I can manualy set DNS if that's the problem, but I want a working internet conection out of the box.
comment:5 by , 16 years ago
Please could you boot your VM with NAT networking and then check the resulting VBox.log file for NAT:
entries? Maybe that your host name server is just not passed to the guest -- only the first one is passed. I just want to verify if this bug is some duplicate.
comment:6 by , 16 years ago
Tried again and guess what, it worked! I didn't change anything so it's funny how this fixed by itself. Here is NAT from log:
03:39:19.615 Driver <string> = "NAT" (cch=4) 03:39:20.219 NAT: DNS address: 86.106.77.1 03:39:20.219 NAT: ignored DNS address: 86.106.77.2 03:39:20.219 NAT: ignored DNS address: 89.41.24.100 03:40:49.520 NAT: DHCP offered IP address 10.0.2.15 03:40:49.524 NAT: DHCP offered IP address 10.0.2.15
comment:7 by , 16 years ago
Component: | other → network |
---|
comment:8 by , 16 years ago
Component: | network → network/NAT |
---|
comment:9 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Please reopen if this problem persists with VirtualBox 2.2.2. Since VirtualBox 2.2.0 we support multiple DNS servers. And ping over NAT works since release 2.1.0.
NAT works fine here. It's more likely you haven't set it up properly or you have some complicated internet setup on your host that our NAT engine doesn't understand.
So why not post some more information? The guest must do dhcp to acquire the required info to get to the internet.