Destination host unreachable: pinging one Ubuntu VM from another Ubuntu VM
![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
0
down vote
favorite
I am working on my home wireless network, trying to ping one Ubuntu (16.04) VM from another Ubuntu (16.04) VM on a Windows machine.
VM1 - Ubuntu1604-Node2 - IP address is 192.168.56.5
interface file looks as below:
auto lo
iface lo inet loopback
auto enp0s3
iface enp0s3 inet static
address 192.168.56.5
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.56.1
VM2 - Ubuntu-Node3 - IP address is 192.168.56.102
interface file looks as below:
auto lo
iface lo inet loopback
auto enp0s3
iface enp0s3 inet static
address 192.168.56.102
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.56.1
On Pinging one from another VM, I keep getting "Destination host not reachable". Any help is appreciated.
14.04 networking virtualbox
add a comment |Â
up vote
0
down vote
favorite
I am working on my home wireless network, trying to ping one Ubuntu (16.04) VM from another Ubuntu (16.04) VM on a Windows machine.
VM1 - Ubuntu1604-Node2 - IP address is 192.168.56.5
interface file looks as below:
auto lo
iface lo inet loopback
auto enp0s3
iface enp0s3 inet static
address 192.168.56.5
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.56.1
VM2 - Ubuntu-Node3 - IP address is 192.168.56.102
interface file looks as below:
auto lo
iface lo inet loopback
auto enp0s3
iface enp0s3 inet static
address 192.168.56.102
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.56.1
On Pinging one from another VM, I keep getting "Destination host not reachable". Any help is appreciated.
14.04 networking virtualbox
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am working on my home wireless network, trying to ping one Ubuntu (16.04) VM from another Ubuntu (16.04) VM on a Windows machine.
VM1 - Ubuntu1604-Node2 - IP address is 192.168.56.5
interface file looks as below:
auto lo
iface lo inet loopback
auto enp0s3
iface enp0s3 inet static
address 192.168.56.5
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.56.1
VM2 - Ubuntu-Node3 - IP address is 192.168.56.102
interface file looks as below:
auto lo
iface lo inet loopback
auto enp0s3
iface enp0s3 inet static
address 192.168.56.102
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.56.1
On Pinging one from another VM, I keep getting "Destination host not reachable". Any help is appreciated.
14.04 networking virtualbox
I am working on my home wireless network, trying to ping one Ubuntu (16.04) VM from another Ubuntu (16.04) VM on a Windows machine.
VM1 - Ubuntu1604-Node2 - IP address is 192.168.56.5
interface file looks as below:
auto lo
iface lo inet loopback
auto enp0s3
iface enp0s3 inet static
address 192.168.56.5
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.56.1
VM2 - Ubuntu-Node3 - IP address is 192.168.56.102
interface file looks as below:
auto lo
iface lo inet loopback
auto enp0s3
iface enp0s3 inet static
address 192.168.56.102
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.56.1
On Pinging one from another VM, I keep getting "Destination host not reachable". Any help is appreciated.
14.04 networking virtualbox
14.04 networking virtualbox
edited Feb 28 at 14:43
asked Feb 28 at 6:50
learnedOne
11
11
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
As you are using VMs, you should be sure that the NAT is properly configured. Are you able to ping the VMs from their corresponding hosts?
If you are using VirtualBox (same principles for other products), you can find related info in:https://www.virtualbox.org/manual/ch06.html
Lookt at table 6.1
VM â Host VM1 â VM2 VM â Internet VM â Internet
Host-only + + â âÂÂ
Internal â + â âÂÂ
Bridged + + + +
NAT â â + Port forwarding
NAT Network â + + Port forwarding
I think, the easiest way is to change the default settings to NAT Network, but you can try other options.
I am using Virtualbox. yes, I can ping the VM from host. But while trying to ping back Host from VM, I again get the same message of "Destination host unreachable". I am using "Host-only networking", should I still be configuring NAT? I am not at all an expert in networking, please suggest...thanks.
â learnedOne
Feb 28 at 16:25
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
As you are using VMs, you should be sure that the NAT is properly configured. Are you able to ping the VMs from their corresponding hosts?
If you are using VirtualBox (same principles for other products), you can find related info in:https://www.virtualbox.org/manual/ch06.html
Lookt at table 6.1
VM â Host VM1 â VM2 VM â Internet VM â Internet
Host-only + + â âÂÂ
Internal â + â âÂÂ
Bridged + + + +
NAT â â + Port forwarding
NAT Network â + + Port forwarding
I think, the easiest way is to change the default settings to NAT Network, but you can try other options.
I am using Virtualbox. yes, I can ping the VM from host. But while trying to ping back Host from VM, I again get the same message of "Destination host unreachable". I am using "Host-only networking", should I still be configuring NAT? I am not at all an expert in networking, please suggest...thanks.
â learnedOne
Feb 28 at 16:25
add a comment |Â
up vote
0
down vote
As you are using VMs, you should be sure that the NAT is properly configured. Are you able to ping the VMs from their corresponding hosts?
If you are using VirtualBox (same principles for other products), you can find related info in:https://www.virtualbox.org/manual/ch06.html
Lookt at table 6.1
VM â Host VM1 â VM2 VM â Internet VM â Internet
Host-only + + â âÂÂ
Internal â + â âÂÂ
Bridged + + + +
NAT â â + Port forwarding
NAT Network â + + Port forwarding
I think, the easiest way is to change the default settings to NAT Network, but you can try other options.
I am using Virtualbox. yes, I can ping the VM from host. But while trying to ping back Host from VM, I again get the same message of "Destination host unreachable". I am using "Host-only networking", should I still be configuring NAT? I am not at all an expert in networking, please suggest...thanks.
â learnedOne
Feb 28 at 16:25
add a comment |Â
up vote
0
down vote
up vote
0
down vote
As you are using VMs, you should be sure that the NAT is properly configured. Are you able to ping the VMs from their corresponding hosts?
If you are using VirtualBox (same principles for other products), you can find related info in:https://www.virtualbox.org/manual/ch06.html
Lookt at table 6.1
VM â Host VM1 â VM2 VM â Internet VM â Internet
Host-only + + â âÂÂ
Internal â + â âÂÂ
Bridged + + + +
NAT â â + Port forwarding
NAT Network â + + Port forwarding
I think, the easiest way is to change the default settings to NAT Network, but you can try other options.
As you are using VMs, you should be sure that the NAT is properly configured. Are you able to ping the VMs from their corresponding hosts?
If you are using VirtualBox (same principles for other products), you can find related info in:https://www.virtualbox.org/manual/ch06.html
Lookt at table 6.1
VM â Host VM1 â VM2 VM â Internet VM â Internet
Host-only + + â âÂÂ
Internal â + â âÂÂ
Bridged + + + +
NAT â â + Port forwarding
NAT Network â + + Port forwarding
I think, the easiest way is to change the default settings to NAT Network, but you can try other options.
answered Feb 28 at 15:30
![](https://lh3.googleusercontent.com/-gQhJvbcSMKg/AAAAAAAAAAI/AAAAAAAAAAA/MKenUd3OmRA/photo.jpg?sz=32)
![](https://lh3.googleusercontent.com/-gQhJvbcSMKg/AAAAAAAAAAI/AAAAAAAAAAA/MKenUd3OmRA/photo.jpg?sz=32)
Igor GarcÃa Olaizola
313
313
I am using Virtualbox. yes, I can ping the VM from host. But while trying to ping back Host from VM, I again get the same message of "Destination host unreachable". I am using "Host-only networking", should I still be configuring NAT? I am not at all an expert in networking, please suggest...thanks.
â learnedOne
Feb 28 at 16:25
add a comment |Â
I am using Virtualbox. yes, I can ping the VM from host. But while trying to ping back Host from VM, I again get the same message of "Destination host unreachable". I am using "Host-only networking", should I still be configuring NAT? I am not at all an expert in networking, please suggest...thanks.
â learnedOne
Feb 28 at 16:25
I am using Virtualbox. yes, I can ping the VM from host. But while trying to ping back Host from VM, I again get the same message of "Destination host unreachable". I am using "Host-only networking", should I still be configuring NAT? I am not at all an expert in networking, please suggest...thanks.
â learnedOne
Feb 28 at 16:25
I am using Virtualbox. yes, I can ping the VM from host. But while trying to ping back Host from VM, I again get the same message of "Destination host unreachable". I am using "Host-only networking", should I still be configuring NAT? I am not at all an expert in networking, please suggest...thanks.
â learnedOne
Feb 28 at 16:25
add a comment |Â
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%2f1010524%2fdestination-host-unreachable-pinging-one-ubuntu-vm-from-another-ubuntu-vm%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