more info here:
Issue #1:
can’t ping google dot com, can’t ping 8.8.8.8
All of these ping commands hang and wont show responses.
Virtualbox Adapter setting is NAT.
Connection on the host Windows 10 machine works fine.
output of ip a:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:7e:b7:a1 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic noprefixroute eth0
valid_lft 85644sec preferred_lft 85644sec
inet6 fe80::403a:c701:7bb1:5d64/64 scope link noprefixroute
valid_lft forever preferred_lft forever
output of cat /etc/resolvconf/resolv.conf.d/head:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
output of cat /etc/resolv.conf (I made changes to this in an attempt to solve my problem and the changes stuck)
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 8.8.8.8
nameserver 208.67.222.222
Issue #2:
Can’t ping 8.8.8.8 or google dot com The error message for both is "Network is unreachable"
Virtualbox network adapter setting is set to Bridged Adapter (Microsoft Network Adapter Multiplexor Driver).
Connection on Windows 10 host works fine.
the resolvconf info is the same as Issue #1.
output of ip a:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:7e:b7:a1 brd ff:ff:ff:ff:ff:ff
inet 192.168.56.101/24 brd 192.168.56.255 scope global dynamic noprefixroute eth0
valid_lft 352sec preferred_lft 352sec
inet6 fe80::403a:c701:7bb1:5d64/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Issue #3:
Can’t ping google dot com: shows error message "Temporary failure in name resolution"
Can’t ping 8.8.8.8: "Network is unreachable"
Virtualbox adapter settings are set to Host-Only Adapter (Virtualbox Host-Only Ethernet Adapter)
Windows 10 host connectivity is fine.
The resolvconf settings are the same as in Issue #1 .
In Windows 10 network settings, the VirtualBox Host-Only Network (Adapter) and the Wifi (Adapter) are bridged to form “Network Bridge”.
Output of ip a:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:7e:b7:a1 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic noprefixroute eth0
valid_lft 86322sec preferred_lft 86322sec
inet 192.168.56.101/24 brd 192.168.56.255 scope global dynamic noprefixroute eth0
valid_lft 598sec preferred_lft 598sec
inet6 fe80::403a:c701:7bb1:5d64/64 scope link noprefixroute
valid_lft forever preferred_lft forever
I have already done a sudo apt update && sudo apt full-upgrade
before posting.
Virtualbox guest additions is installed.
Virtualbox is on the latest version.