LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-24-2006, 12:31 PM   #1
plong
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 192.168.1.1; says, "connect: Network is unreachable."
  3. From GUI Network Configuration tool, set and select static IP address, subnet mask, and default gateway to 192.168.1.105, 255.255.255.0, and 192.168.1.1, respectively. Click OK. Save configuration; click OK.
  4. Click Activate ( same as "ifup eth0").
  5. ping 192.168.1.1; get a bunch of "Destination Host Unreachable."
  6. From Network Configuration tool, select DHCP; click OK. Save configuration; click OK.
  7. ping 192.168.1.1; 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 192.168.71.128, mask 255.255.255.0 (I'm using VMware NAT mode).
  9. ping 192.168.1.1; 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 192.168.1.1; 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 127.0.0.1/255.0.0.0.

For step 6, if I also specify DNS addresses of 207.235.20.7 and 168.215.165.186 and DNS search path of zeecon.com (probably not needed), besides being able to successfully ping 192.168.1.1 in step 9, I am also able to ping google.com, browse the internet, e.g., msnbc.com, 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, 01:28 PM   #2
plong
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Lightbulb

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:
Code:
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.
 
  


Reply


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 05:24 AM
Access Mp3 files across network in player trevclem Linux - Software 2 03-15-2006 01:27 AM
Firefox 1.0PR loses my settings on a restart drigz Linux - Software 4 04-30-2005 12:52 AM
Network Interface Failed booting RH9 on Vmware 4.0 linux618 Linux - Networking 6 03-01-2004 09:57 AM
VmWare 4 RH9 Network how? mr_segfault Red Hat 1 10-14-2003 07:50 AM


All times are GMT -5. The time now is 08:10 PM.

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