VirtualBox

Ticket #1715 (closed enhancement: fixed)

Opened 6 years ago

Last modified 4 years ago

NAT doesn't provide conection to internet for guest (Vista host)

Reported by: tulpina Owned by:
Priority: major 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

comment:1 Changed 6 years ago by sandervl73

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.

comment:2 Changed 6 years ago by sandervl73

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 Changed 6 years ago by tulpina

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 Changed 6 years ago by tulpina

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 Changed 6 years ago by frank

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 Changed 6 years ago by tulpina

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 Changed 6 years ago by frank

  • Component changed from other to network

comment:8 Changed 5 years ago by frank

  • Component changed from network to network/NAT

comment:9 Changed 5 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

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.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use