env:
1, MacOS Mojave 10.14.6
2, Fusion Professional Version 11.1.0 (13668589)
3, VM Ubuntu 16.04.1 LTS
4, firewall is turned off on host.
# on host
ifconfig
...
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
inet6 fe80::fbd9:871e:3049:8c54%utun0 prefixlen 64 scopeid 0x12
nd6 options=201<PERFORMNUD,DAD>
vmnet1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
ether 00:50:56:c0:00:01
inet 192.168.210.1 netmask 0xffffff00 broadcast 192.168.210.255
vmnet8: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:50:56:c0:00:08
inet 192.168.95.1 netmask 0xffffff00 broadcast 192.168.95.255
# on VM
vm-h1:~$ ifconfig
ens33 Link encap:Ethernet HWaddr 00:0c:29:b3:04:f9
inet addr:192.168.210.129 Bcast:192.168.210.255 Mask:255.255.255.0
inet6 addr: fe80::ac25:9007:f40e:31e8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:97 errors:0 dropped:0 overruns:0 frame:0
TX packets:1506 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13139 (13.1 KB) TX bytes:146746 (146.7 KB)
ens160 Link encap:Ethernet HWaddr 00:50:56:23:a3:10
inet addr:192.168.95.192 Bcast:192.168.95.255 Mask:255.255.255.0
inet6 addr: fe80::eabf:d3de:f351:63b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4206 errors:0 dropped:0 overruns:0 frame:0
TX packets:4364 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5311264 (5.3 MB) TX bytes:345657 (345.6 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:731 errors:0 dropped:0 overruns:0 frame:0
TX packets:731 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:58036 (58.0 KB) TX bytes:58036 (58.0 KB)
# on Vm, ping vnet1, doesn't work
vm-h1:~$ ping 192.168.210.1
PING 192.168.210.1 (192.168.210.1) 56(84) bytes of data.
^C
--- 192.168.210.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2055ms
using wireshark to capture packets on vmnet1 interface on mac, see the icmp packets, but there is no response.
# on host, ping vm ip
ping 192.168.210.129
PING 192.168.210.129 (192.168.210.129): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
^C
--- 192.168.210.129 ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss
can't capture the packets on vmnet1 interface on mac.
# on host, ping vmnet1 ip address, doesnt' work as well.
ping 192.168.210.1
PING 192.168.210.1 (192.168.210.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
^C
--- 192.168.210.1 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
Why would you need both a host-only network connection and a NAT network connection in your guest?