VMware Communities
introiboad
Enthusiast
Enthusiast

VMnet8 NAT adapter unreachable from Host

Overall details:

VMWare Workstation 16 Pro: 16.0.0 build-16894299

Host OS: Windows 10, Version 2004

Guest OS: Ubuntu 20.04

Until very recently I was able to reliably ssh from Windows 10 into my Ubuntu virtual machine by just using:

ssh user@192.168.168.128

The network adapter I ssh to is a NAT one, VMnet8, and it is also the only network adapter connected to the VM.

Recently, I started getting a timeout when sshing and a "Destination net unreachable" when trying to ping the Ubuntu VM, and the only solution seems to be to disable the VMnet8 network adapter and re-enable it again. Once that's done, it works again without any problems.

Output from Ubuntu's side:

$ ip addr show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    inet 127.0.0.1/8 scope host lo

       valid_lft forever preferred_lft forever

    inet6 ::1/128 scope host

       valid_lft forever preferred_lft forever

2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000

    link/ether 00:0c:29:b3:db:f3 brd ff:ff:ff:ff:ff:ff

    inet 192.168.168.128/24 brd 192.168.168.255 scope global dynamic noprefixroute ens33

       valid_lft 1793sec preferred_lft 1793sec

    inet6 fe80::2c16:5652:a124:9d13/64 scope link noprefixroute

       valid_lft forever preferred_lft forever

3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default

    link/ether 02:42:5e:34:56:ca brd ff:ff:ff:ff:ff:ff

    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0

       valid_lft forever preferred_lft forever

Output from Windows:

$ ping 192.168.168.128

Pinging 192.168.168.128 with 32 bytes of data:

Reply from 81.46.38.175: Destination net unreachable.

Reply from 81.46.38.175: Destination net unreachable.

Reply from 81.46.38.175: Destination net unreachable.

Reply from 81.46.38.175: Destination net unreachable.

Ping statistics for 192.168.168.128:

    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

$ tracert 192.168.168.128

Tracing route to 192.168.168.128 over a maximum of 30 hops

  1     1 ms     1 ms     1 ms  192.168.1.1

  2  175.red-81-46-38.customer.static.ccgg.telefonica.net [81.46.38.175]  reports: Destination net unreachable.

Trace complete.

Reply
0 Kudos
0 Replies