Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-24-2006, 01:31 PM   #1
LQ Newbie
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Unhappy RH9 under VMware Player loses network access after restart

I installed Red Hat 9 in a virtual machine running under VMware Player according to the article, "HOW TO: Run Other OSes On Your PC" (can't link to it yet--newbie). Works great except that I lose network connectivity when I restart RH9! Maybe VMware is overwriting my settings somehow? Maybe this is just an RH9 networking issue. Please help.

This how to reproduce my problem:
  1. Restart RH9 to start with a clean slate.
  2. ping; says, "connect: Network is unreachable."
  3. From GUI Network Configuration tool, set and select static IP address, subnet mask, and default gateway to,, and, respectively. Click OK. Save configuration; click OK.
  4. Click Activate ( same as "ifup eth0").
  5. ping; get a bunch of "Destination Host Unreachable."
  6. From Network Configuration tool, select DHCP; click OK. Save configuration; click OK.
  7. ping; get a bunch of "Destination Host Unreachable."
  8. Enter "ifup eth0" at command line. Says, "Determining IP information for eth0... done." Via ifconfig, I see that VMware DHCP assigned IP address of, mask (I'm using VMware NAT mode).
  9. ping; get responses!!!!!!!!!!!!!!!
  10. Restart RH9. On the way back up RH9 says, "Bringing up interface eth0: Determining IP information for eth0... failed; no link present. Check cable? [FAILED]"
  11. ping; says, "connect: Network is unreachable." I'm back to where I started.
  12. Enter "ifup eth0" at command line. Says, "Determining IP information for eth0... failed; no link present. Check cable?" Via ifconfig, the IP address/network mask is now

For step 6, if I also specify DNS addresses of and and DNS search path of (probably not needed), besides being able to successfully ping in step 9, I am also able to ping, browse the internet, e.g.,, etc. Everything works! However, restarting RH9 negates all my gains. All of my previous settings show up in the Network Configuration tool, e.g., use-DHCP and the DNS addresses, but I have to go through steps 3 through 8 again to bring network connectivity back.
Old 03-24-2006, 02:28 PM   #2
LQ Newbie
Registered: Mar 2006
Posts: 2

Original Poster
Rep: Reputation: 0

Never mind, I found the fix in another thread. I had come across this particular fix earlier, and it didn't help me then. I guess that several things needed to be in position, so to speak, for it to all come together. Needed to add this to /etc/sysconfig/network-scripts/ifcfg-eth0:
check_link_down() {
return 1;
I'm guessing that, to RH9, the spooky, virtual VMware network device looks as if it is "down" when RH9 boots, so RH9 marks it as being down for the duration, even though it is configured correctly. This snippet of code apparently makes the link look as if it is up all the time, which is enough to fool RH9 when it boots. At least, that's my best guess. Sorry for the wasted bandwdith.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network In Redhat Linux Using Vmware Player bonniehandi Linux - Networking 2 03-22-2009 06:24 AM
Access Mp3 files across network in player trevclem Linux - Software 2 03-15-2006 02:27 AM
Firefox 1.0PR loses my settings on a restart drigz Linux - Software 4 04-30-2005 01:52 AM
Network Interface Failed booting RH9 on Vmware 4.0 linux618 Linux - Networking 6 03-01-2004 10:57 AM
VmWare 4 RH9 Network how? mr_segfault Red Hat 1 10-14-2003 08:50 AM

All times are GMT -5. The time now is 01:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration