Having difficulty in connecting to internet from VMware? Recently I installed CentOS in the VMWARE for configuration purposes. I thought it would be beneficial to share how to connect to internet via Linux installed on VMWARE; it can save your time
Please note that network can be configured on Linux from the below files.
/etc/sysconfig/network -> Configure HOSTNAME & GATEWAY here.
/etc/sysconfig/network-scripts/ifcfg-eth0 -> Configure IPADDR & NETMASK here
/etc/resolv.conf -> Configure DNS here
However, by default, Network Manger will configure your interface as DHCP. Go to your PC (which is hosting the VMWARE) & check the below connection settings.
That’s it, the network will now be shared with the VMWARE OS. Enjoy!