RHEL 6.5 on VMware Workstation 10 – No Internet
Hi. I installed RHEL 6.5 within VMware Workstation 10 as a VM for training. I used a Bridged (Automatic) Network Adapter/Connection. The OS installed using ‘Easy Install’ and boots fine, is assigned an IP address X.Y.23.116. However I cannot view websites or active my RHN subscription.
I have tried using ‘Replicate physical network connection state’ and I have also tried disabling the firewall within RHEL. My firewall on the laptop has an exception for bridged VMware traffic and I have tested connectivity with my Server 2008 R2 VM: It has the same setup and can receive updates/connect to the internet.
[j@localhost ~]$ lspci | grep -i net
02:01.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)
Any help I can receive to get RHEL online would be greatly appreciated.
Responses
Did you install the VMware Tools?
Do you see a default route (0.0.0.0)
do you have nameservers defined (/etc/resolv.conf)
If you could provide the output from the following (after removing sensitive data)
ifconfig eth0
netstat -rn
cat /etc/resolv.conf
cat /etc/sysconfig/network-scripts/ifcfg-eth0
ifconfig -a | grep HW
cat /etc/udev/rules.d/*net*
It's hard to guess at this point, but... I wonder if perhaps your interface changed it's MAC and the configuration file intended for eth0 is no longer valid (and now your interface will be listed in ifconfig as some random name).
Easy Install is a "feature" that I am not a fan of ;-)
Here is an article that explains how to deal with the situation you are in:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1017687
The first time you attempt to install VMware Tools on a particular OS, it has to download the tools - this typically requires some sort of response indicating you approve the download and installation. I wonder if it is stuck at that point somehow.
I would clean-up the Easy Install using the process above and then attempt to install the VMware Tools manually. The output you provided looks good otherwise (I am stumped if the tools does not resolve this for you).
Are you behind a web-proxy of some sort? (I assume Windows is somewhat capable of a proxy auto-config, hence why your 2008 VM works?)
Do you see any peers? Or can you ping Google?
ip neighbor show
ping -c 2 8.8.8.8
perhaps you can try nmap'ing your own subnet, or another subnet to see if you can get off the box that way. I wish I had a better answer - hopefully someone else can chime in if they have seen this before.
We have some systems that can not reach the public internet, so we have staged the vmware tools (called linux.iso) on the vmware's storage repository.
For anyone else's future reference, VMware tools can be installed with the "-default" which (for us) answers all questions with defaults by command-line. We use command-line vmware tools install so we can see if it bails or not as follows...
1) Connecting the linux.iso from the vmware tools on the vmware graphical interface to the linx system
2) mkdir -p /cdrom/notmounted;chmod 755 /cdrom # if not previously made
3) mount /dev/cdrom /cdrom
4) Find a location to put the contents of /cdrom/ above (a VMware tar gz file with the tools), for this example, we will pick /var/tmp/vmware
5) mkdir /var/tmp/vmware
6) rsync -au --progress /cdrom/VMwareTools-x.x.xx-xxxxxxx.tar.gz /var/tmp/vmware/
7) cd /var/tmp/vmware
8) tar zxvf VMwareTools-x.x.xx-xxxxxxx.tar.gz
9) ./vmware-tools-distrib/vmware-install.pl -default
NOTE: the "-default" above will answer all questions for you automatically, just wait for it to complete.
10) remove the /var/tmp/vmware contents
11) umount /cdrom and disconnect the vmware tools iso
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
