VMware

CentOS7 VM network error – Destination host unreachable

I have been trying to set up a CentOS7 server with vmware, but i just can’t set up the network. I have tried almost everything, but still i get the same error:

​

https://preview.redd.it/bhx59cb8je841.png?width=630&format=png&auto=webp&s=efcdf88fcdeab5a79e1f71acc2777b622dd17ac3

This is what i did during installation:

* Set ip address
* Set subnet mask
* Set dns servers
* Set ipv6 to ignore ( Since i’m only using ipv4 )

Also:

* The network is active ( Checked it with NetworkManager )
* The network is set to NAT. ( But also note that changing it to Bridge doesn’t change anything )
* The vmnet8 adapter is enabled ( Checked it through control panel of host machine )
* Also vmnet8 is enabled in the Virtual Network Editor

Here is some additional pictures. If you need more, please tell me what.

**less /etc/sysconfig/network-scripts/ifcfg-ens33**

​

https://preview.redd.it/jioa1yhcke841.png?width=401&format=png&auto=webp&s=36ac615fa2183da493fcb328009c6055a97988e1

Note that when i changed **BOOTPROTO** to **static**, nothing changed.

**ip addr show**

​

https://preview.redd.it/f7rupipike841.png?width=799&format=png&auto=webp&s=5a47f926960a243197a7afc917742257788ed049

UPDATE:

**ip route**

​

https://preview.redd.it/q01jt48h2f841.png?width=642&format=png&auto=webp&s=287ac88335c078963d70b524193073dbd56ddd1f



View Reddit by ncode23View Source

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

4 Comments

  1. I don’t see anything regarding a default route, assuming your gateway is at 192.168.1.1 here is the syntax of two options:

    ip route add default via 192.168.1.1

    or

    route add default gw 192.168.1.1

  2. Start walking backward.

    Can you reach your gateway? (presumably 192.168.1.1)

    Can you reach other physical machines on your network? (Your desktop’s IP, or ideally another computer entirely)?

    Can you reach other VMs with the same networking settings (but different IP, of course)?

    Check each of these and we should have an easier time diagnosing your issue.

Leave a Reply