Virtual machine with Ubuntu 16.04 cannot connect to internet
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I have found this problem only lately, apparently all my Ubuntu VMs stopped accessing internet. Host is Windows 10, connected either via Ethernet or WiFi, Vmware Workstation 12.5.6, network config in Vmware is NAT.
My Ubuntu VMs need a static address, I cannot use DHCP, here's the output of ifconfig:
docker0 Link encap:Ethernet HWaddr 02:42:f6:c9:67:3d
inet addr:172.17.0.1 Bcast:172.17.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ens33 Link encap:Ethernet HWaddr 00:0c:29:91:eb:b8
inet addr:192.168.72.179 Bcast:192.168.72.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe91:ebb8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:564 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:39862 (39.8 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:744 errors:0 dropped:0 overruns:0 frame:0
TX packets:744 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:64884 (64.8 KB) TX bytes:64884 (64.8 KB)
and this is the content of /etc/network/interfaces:
# The primary network interface
auto ens33
iface ens33 inet static
address 192.168.72.179
netmask 255.255.255.0
gateway 192.168.72.2
dns-nameservers 208.67.222.222, 208.67.222.220, 8.8.8.8
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
I tried to ping 8.8.8.8, Destination host is unreachable.
Anything else I can check?
networking internet ethernet
add a comment |Â
up vote
1
down vote
favorite
I have found this problem only lately, apparently all my Ubuntu VMs stopped accessing internet. Host is Windows 10, connected either via Ethernet or WiFi, Vmware Workstation 12.5.6, network config in Vmware is NAT.
My Ubuntu VMs need a static address, I cannot use DHCP, here's the output of ifconfig:
docker0 Link encap:Ethernet HWaddr 02:42:f6:c9:67:3d
inet addr:172.17.0.1 Bcast:172.17.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ens33 Link encap:Ethernet HWaddr 00:0c:29:91:eb:b8
inet addr:192.168.72.179 Bcast:192.168.72.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe91:ebb8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:564 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:39862 (39.8 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:744 errors:0 dropped:0 overruns:0 frame:0
TX packets:744 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:64884 (64.8 KB) TX bytes:64884 (64.8 KB)
and this is the content of /etc/network/interfaces:
# The primary network interface
auto ens33
iface ens33 inet static
address 192.168.72.179
netmask 255.255.255.0
gateway 192.168.72.2
dns-nameservers 208.67.222.222, 208.67.222.220, 8.8.8.8
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
I tried to ping 8.8.8.8, Destination host is unreachable.
Anything else I can check?
networking internet ethernet
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have found this problem only lately, apparently all my Ubuntu VMs stopped accessing internet. Host is Windows 10, connected either via Ethernet or WiFi, Vmware Workstation 12.5.6, network config in Vmware is NAT.
My Ubuntu VMs need a static address, I cannot use DHCP, here's the output of ifconfig:
docker0 Link encap:Ethernet HWaddr 02:42:f6:c9:67:3d
inet addr:172.17.0.1 Bcast:172.17.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ens33 Link encap:Ethernet HWaddr 00:0c:29:91:eb:b8
inet addr:192.168.72.179 Bcast:192.168.72.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe91:ebb8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:564 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:39862 (39.8 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:744 errors:0 dropped:0 overruns:0 frame:0
TX packets:744 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:64884 (64.8 KB) TX bytes:64884 (64.8 KB)
and this is the content of /etc/network/interfaces:
# The primary network interface
auto ens33
iface ens33 inet static
address 192.168.72.179
netmask 255.255.255.0
gateway 192.168.72.2
dns-nameservers 208.67.222.222, 208.67.222.220, 8.8.8.8
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
I tried to ping 8.8.8.8, Destination host is unreachable.
Anything else I can check?
networking internet ethernet
I have found this problem only lately, apparently all my Ubuntu VMs stopped accessing internet. Host is Windows 10, connected either via Ethernet or WiFi, Vmware Workstation 12.5.6, network config in Vmware is NAT.
My Ubuntu VMs need a static address, I cannot use DHCP, here's the output of ifconfig:
docker0 Link encap:Ethernet HWaddr 02:42:f6:c9:67:3d
inet addr:172.17.0.1 Bcast:172.17.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ens33 Link encap:Ethernet HWaddr 00:0c:29:91:eb:b8
inet addr:192.168.72.179 Bcast:192.168.72.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe91:ebb8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:564 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:39862 (39.8 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:744 errors:0 dropped:0 overruns:0 frame:0
TX packets:744 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:64884 (64.8 KB) TX bytes:64884 (64.8 KB)
and this is the content of /etc/network/interfaces:
# The primary network interface
auto ens33
iface ens33 inet static
address 192.168.72.179
netmask 255.255.255.0
gateway 192.168.72.2
dns-nameservers 208.67.222.222, 208.67.222.220, 8.8.8.8
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
I tried to ping 8.8.8.8, Destination host is unreachable.
Anything else I can check?
networking internet ethernet
edited Jun 10 at 15:45
![](https://i.stack.imgur.com/EQWv9.jpg?s=32&g=1)
![](https://i.stack.imgur.com/EQWv9.jpg?s=32&g=1)
Pilot6
50.1k15104185
50.1k15104185
asked Jun 10 at 15:43
sangrisano
61
61
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1045328%2fvirtual-machine-with-ubuntu-16-04-cannot-connect-to-internet%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password