Learn how to a build a cloud-first strategyRegister Now


Internet is not working on Vmware workstation 5 |REHEL5

Posted on 2009-12-31
Medium Priority
Last Modified: 2013-11-23
I installed Vmware 5 workstation on Windows 2003 server and on  Vmware Installed Redhat 5 .
 a :- IP address of eth 0 ,able to ping but not able to ping default gateway
b:- checked hosts ,resolve.conf,network,network-scripts file its ok
c:- In network connections  Vmware had made  virtual network adapter vmnet1 and vmnet8 changed Ip address of Vmnet 1 and vmnet from 192.168.X.X to then to with default gateway one by one but its now giving destination unreachable when pining default gateway because of that Internet is also not working on it

please resolve the issue
Question by:pawanopensource
LVL 99

Expert Comment

by:John Hurst
ID: 26155184
Make sure that the VMware Tools have been installed in your RedHat guest. Then, set the networking for Bridged mode (Not NAT or Host-Only), and see if that works.

I have a very old note for a RedHat virtual machine where some files had to edited:

/etc/ sysconfig/network-scripts /ifcfg-eth [n]
/etc/sysconfig/networking/devices/ifcfg-eth [n]
/etc/sysconfig/networking/profiles/default/ifcfg-eth0 if it exists

In each file, add the section:
check link_down () {
return 1;

Then restart the VM.

This is a very old note, and may not relate to your VM. ... Thinkpads_User

LVL 12

Accepted Solution

sarangk_14 earned 2000 total points
ID: 26158018
Could you tell us ehether the VM Network Adapter is configured as Bridged or Natted? Bridged is selected if you want to create a direct access to the Internet using the VM adapter; Natted is selected if you want to share the connection with host.

Warm regards,

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question