Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Networking Options in VMWare and Guest OS = RedHat 9.0

715 views
Skip to first unread message
Message has been deleted

Richard Robinson

unread,
Jun 12, 2003, 6:38:26 AM6/12/03
to
This is a well known problem. RedHat9 tests for link when bringing up the
eth0 device, and when it doesn't find one it fails. This can be fixed by
adding a statement to trap the test result in the config files for eth0.
The fix for this problem is discussed in vmware's knowledge base (ID 977).
Here is the text for this fix:

>To work around this problem, become root (su -) and use a text editor to
edit the following files >in the guest operating system:
>/etc/sysconfig/network-scripts/ifcfg-eth[n]
>/etc/sysconfig/networking/devices/ifcfg-eth[n]
>
>In both cases, [n] is the number of the Ethernet adapter -- for example,
eth0.
>
>In each of the two files, add the following section:
>
> check_link_down () {
> return 1;
> }
>
>Then run the command ifup eth[n] (where [n] is the number of the Ethernet
adapter) or restart >the guest operating system.
>
>If you do this, it will be fixed.

"Abdul Nasir Khan" <a.n...@ieee.org> wrote in message
news:973f19f6.03061...@posting.google.com...
> I have installed vmware and then Redhat 9 as my guest OS.
> I am stuck in a problem
>
> Problem Description:
> ----------
> I have choosen my following network option
> "Host-only : A private network shared with host"
>
> When I boot my virtual machine. During booting I see message
>
> "
> Bringing up interface eth0:
> Determining IP information for eth0... failed; no link present. Check
cable?
> "
>
> Am I chosing the right option of networking "Host Only"?
>
> thanking you
>
> abdul nasir khan


Abdul Nasir Khan

unread,
Jun 15, 2003, 5:34:54 AM6/15/03
to
Below please find the contents of my files in RedHat 9.0

[root@ankRH9 root]# more /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
USERCTL=no
PEERDNS=no
TYPE=Ethernet
check_link_down(){
return 1;
}

[root@ankRH9 root]# more /etc/sysconfig/networking/devices/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
USERCTL=no
PEERDNS=no
TYPE=Ethernet
check_link_down(){
return 1;
}

now I am stilling getting the following message

[root@ankRH9 root]# ifup eth0
Determining IP information for eth0... failed; no link present. CheckCable?

What else should I check

Thanking You

Abdul Nasir Khan


"Richard Robinson" <rdr...@hotmail.com> wrote in message news:<GLednZU7i9G...@comcast.com>...

Richard Robinson

unread,
Jun 16, 2003, 12:09:31 PM6/16/03
to
Mr. Khan,

You didn't need to copy the entire contents of the first file into the
second one, but I don't think that would cause you not to be able to get an
address.

You do have your vmware configuration for that guest set up to use bridged
networking, right?

Where do you get your IP address? Do you have a router, or do you get one
from your ISP? If you get an address from you ISP, you should probably use
NAT which will use your Host's IP address.

Regards,
Richard

Abdul Nasir Khan

unread,
Jun 17, 2003, 4:49:56 AM6/17/03
to
Yes I am using "BRIDGED" NIC.
My Host OS = Windows XP
My Guest OS = Linux RH 9.0

I get my IP address from dhcp server. I am connected to my office
network. Just like my Windows XP is able to get an IP address. I also
expect Linux RH 9 should get an IP address from the same DHCP server.

But I have observed the following Network Connections in my Host OS
"Win XP"
i) VMWare Network Adapter VMnet1
ii) VMWare Network Adapter VMnet8
Are there some setting also involved in the Host OS "Win XP"

Thanks

Abdul Nasir Khan

"Richard Robinson" <rdr...@hotmail.com> wrote in message news:<egidnVZ-uOQ...@comcast.com>...

Richard Robinson

unread,
Jun 17, 2003, 6:46:31 AM6/17/03
to
I have a Linksys router that gives me a DHCP, and yes, it treats the guest
OS just like another computer on the network. The VMWare network adapters
in your host OS are necessary, but there should also have a "Network
Bridge(Network Bridge)" entry in your Network Connections window. If that
is not present, your host OS will not be able to bridge your guest OS
through the PC's real network card.

Abdul Nasir Khan

unread,
Jun 18, 2003, 5:18:13 PM6/18/03
to
As far as "Network Bridge(Network Bridge)" is concerned, I see this in
"Virtual Network Settings ..." menu is VMWare . But I don't see it in
my Host OS (Windows XP) Network Connection Window.
How much important is it?
If I use "NAT" or "Host Only", should I be able to ping my Host OS
(Windows XP)

Thanking you

abdul nasir khan


"Richard Robinson" <rdr...@hotmail.com> wrote in message news:<PbqdnZpQIZM...@comcast.com>...

Richard Robinson

unread,
Jun 18, 2003, 7:18:54 PM6/18/03
to
Very important. That bridge device is what allows your host OS's access to
the PC's network connection. Without it, you can't get out to the Internet
or even to other computers on the network.

It is installed by default when vmware is installed. Maybe if you run the
vmware install again, it will add it.

If you use NAT and try to ping your host, you'll be pinging your guest's IP
address as they will be one in the same.

Abdul Nasir Khan

unread,
Jun 19, 2003, 3:21:51 AM6/19/03
to
Dear Richard

I guess I have finally been able to obtain IP.

I guess I was missing something something in Knowledgebase 977. I did
not check the contents of file
/etc/sysconfig/networking/profiles/default/ifcfg-eth0

Anyway I just ran the utility redhat-config-network . I did some
settings ( that I assume to be correct ). After that I run "ifup eth0"
and it was successfully done.

Thank you very much for all the effort you have put

Abdul Nasir Khan
a.n...@ieee.org


a.n...@ieee.org (Abdul Nasir Khan) wrote in message news:<973f19f6.03061...@posting.google.com>...

0 new messages