2020.05.12 – Problem and solution for Virtual Network in VMware Fusion and ESXi

Info details of the problem

VM with allowed network NAT

[root@esxi00:~] ping yahoo.com
getaddrinfo() for "yahoo.com" failed (-3: Temporary failure in name resolution)

VM with Share with my MAC

WAN -> em0 -> DHCP:
LAN -> em1 ->
murgescusilvia@Murgescus-MacBook-Pro ~ % ssh root@
ssh: connect to host port 22: Host is down
murgescusilvia@Murgescus-MacBook-Pro ~ % ssh root@
ssh: connect to host port 22: Operation timed out
[2.4.5-RELEASE][root@pfSense.silvique.ro]/root: ping yahoo.com
PING yahoo.com ( 56 data bytes
ping: sendto: No route to host

Sometime work sometime does not work ….

Step 1. Reading VMware documentation to trying to solve the problem:

From here https://kb.vmware.com/s/article/2009642?lang=en_US I’ve dome this and restart the MacBook PRO :

sudo rm -f "Library/Preferences/VMware Fusion/networking"
sudo rm -f "Library/Preferences/VMware Fusion/locations"
sudo "/Applications/VMware Fusion.app/Contents/Library/vmnet-cli" -c

The problem is still there. Not solve it!

Step 2 . Ideas receive from a fried and apply it => Solved the problem! OK!!

Change network from 10.1..1.251 to and very and test Internet connection

2.0. Make sure pfSense is powered pff

2.1. Inside ESXi terminal

 [root@esxi00:~] esxcfg-route 
VMkernel default gateway is

[root@esxi00:~] esxcli network ip dns server list

[root@esxi00:~] ping google.com
PING google.com ( 56 data bytes
64 bytes from icmp_seq=0 ttl=128 time=52.287 ms
64 bytes from icmp_seq=1 ttl=128 time=53.458 ms
64 bytes from icmp_seq=2 ttl=128 time=53.811 ms

--- google.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 52.287/53.185/53.811 ms


2.2. For internal CentOS VM inside ESXi_00 I change external ip to and and it works OK.

2.3. For pfSense in Vmware Fusion I do not modify anything, but ping works ok.

All are connected to Network > Custom > Allow using NAT