Destination host unreachable: pinging one Ubuntu VM from another Ubuntu VM

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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.


enter image description here

enter image description here










share|improve this question



























    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.


    enter image description here

    enter image description here










    share|improve this question

























      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.


      enter image description here

      enter image description here










      share|improve this question















      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.


      enter image description here

      enter image description here







      14.04 networking virtualbox






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 28 at 14:43

























      asked Feb 28 at 6:50









      learnedOne

      11




      11




















          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.






          share|improve this answer




















          • 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











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          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






























          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.






          share|improve this answer




















          • 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















          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.






          share|improve this answer




















          • 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













          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.






          share|improve this answer












          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 28 at 15:30









          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

















          • 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


















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          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













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491