NAT - no internet connectivity for guests
Posted: 8. Apr 2020, 19:04
Hello everyone,
My VirtualBox installation has an issue. The guest VMs ( guests are Oracle Linux) don't have internet access when network adapter is NAT (default).
Request you to please advise if you faced this kind of issue. Thank you!!
Here are the details of my configuration:
Host : Windows 10
VirtualBox version : 6.0.18 r136238 (Qt5.6.2)
Guest OS : Oracle Linux
I tried yum, ping and curl. But, nothing works because the guest VM doesn't have internet connectivity.
I have attached the log of the VM to this post. Here are the approaches I tried to resolve the issue.. But, no luck. Please let me know if you need additional information.
Approach 1: Identifying the IP detail and DNS details
PFA screenshot which has ifconfig and dns details.
Approach 2: Internet works when adapter is changed manually to "Bridged Adapter" mode.
But, my Virtual Box is managed by Kitchen&Vagrant. Hence, VBox needs internet connectivity with NAT (default) adapter.
Approach 3: Uninstalled VirtualBox-6.1.4-136177-Win, reboot, and then installed VirtualBox-5.2.38-136252-Win
Still internet connectivity in NAT doesn't work.
Approach 4: Uninstalled VirtualBox-5.2.38-136252-Win, reboot, and then installed 6.0.18 r136238 (Qt5.6.2)
Still internet connectivity in NAT doesn't work.
Approach 5: Tried checking adapters (Control Panel\Network and Internet\Network Connections) in windows10 host.
Both "VirtualBox Host-Only Network" and "Both VirtualBox Host-Only Network #2" are in Enabled state. I am also not sure if these are related to NAT adapter.
Best,
Manush
My VirtualBox installation has an issue. The guest VMs ( guests are Oracle Linux) don't have internet access when network adapter is NAT (default).
Request you to please advise if you faced this kind of issue. Thank you!!
Here are the details of my configuration:
Host : Windows 10
VirtualBox version : 6.0.18 r136238 (Qt5.6.2)
Guest OS : Oracle Linux
I tried yum, ping and curl. But, nothing works because the guest VM doesn't have internet connectivity.
I have attached the log of the VM to this post. Here are the approaches I tried to resolve the issue.. But, no luck. Please let me know if you need additional information.
Approach 1: Identifying the IP detail and DNS details
PFA screenshot which has ifconfig and dns details.
Approach 2: Internet works when adapter is changed manually to "Bridged Adapter" mode.
But, my Virtual Box is managed by Kitchen&Vagrant. Hence, VBox needs internet connectivity with NAT (default) adapter.
Approach 3: Uninstalled VirtualBox-6.1.4-136177-Win, reboot, and then installed VirtualBox-5.2.38-136252-Win
Still internet connectivity in NAT doesn't work.
Approach 4: Uninstalled VirtualBox-5.2.38-136252-Win, reboot, and then installed 6.0.18 r136238 (Qt5.6.2)
Still internet connectivity in NAT doesn't work.
Approach 5: Tried checking adapters (Control Panel\Network and Internet\Network Connections) in windows10 host.
Both "VirtualBox Host-Only Network" and "Both VirtualBox Host-Only Network #2" are in Enabled state. I am also not sure if these are related to NAT adapter.
Best,
Manush