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! :)

Adnan Khurshid

Adnan Khurshid, the author of this article, has been working in a telecommunication sector since 2007. He has worked there as a VAS (Value Added Services) engineer and has excelled remarkably in the field. Working in this field has been his passion and he has always made efforts to keep himself up to date. Find more about him on LinkedIn

More Posts

Leave a Reply