When virtual machines’s network card is mapped to the host virtual network connection (VMNet1 - 8), to access internet we have to configure NAT on VMWare Server. Most network configurations are managed from Virtual Network Editor.
To open Virtual Network Editor go to VMWare Server Console. On main menu go to Host -> Virtual Network Settings.
Virtual Network Editor look as below
Go to the NAT tab
On NAT tab we should select host’s virtual network card that are mapped to virtual machine. In my case virtual machine is mapped to VMnet1. VMnet1 subnet is 10.0.0.0/24. By default the second IP address of subnet assigned as gateway IP address for virtual machines. To change gateway IP address click to Edit button. In Gateway IP address of NAT settings we can assign any IP address that applicable.
At the same time gateway IP address is a DNS server address to resolve domains in virtual network.