LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-01-2004, 09:34 PM   #1
icoming
Member
 
Registered: Feb 2004
Posts: 96

Rep: Reputation: 15
why the virtual network of my vmware can not work


I installed vmware workstation in WinXP , and the operating system in vmware is Fedora Linux. I set the virtual machine connect the host in the way of host-only. And I set the vmnet1(host-only) as 192.168.0.1/255.255.255.0.
The ip of eth0 in Linux is static. And I use netconfig set the eth0:
ip 192.168.0.2
netmask: 255.255.255.0
default gateway: 192.168.0.1
dns:192.168.0.1
Then type 'service network start' , and eth0 is started successfully.
But when I ping 192.168.0.1, there is no message at all.
It did not tell me that it is out of time, or the network is unreachable, of course it did not receive the package.
what is the problem?
 
Old 12-02-2004, 04:23 AM   #2
kaito
LQ Newbie
 
Registered: Nov 2004
Location: japan
Distribution: plamo, fedora
Posts: 27

Rep: Reputation: 15
Hi, icoming:)

you make sure the following points:

-------
1. HostOS: XP ping to GuestOS: Fedora
  you can get reply from GuestOS?

2. do vnetsniffer.exe vmnet1
  (maybe, vnetsniffer.exe is in VMware Installed Folder)
  Any packets pass through vmnet1 when do ping?
-------

i gald to help you my advice
Good luck!
 
Old 12-02-2004, 08:44 AM   #3
gco10996
LQ Newbie
 
Registered: Oct 2002
Location: New Windsor, NY
Distribution: Red Hat, Slackware, Smoothwall, Fedora, Mandrake, *BSD
Posts: 20

Rep: Reputation: 0
You may also want to look at the routing table of the VM -- make sure the gateway is
1. actually there
2. What you wanted it to be.

And it certainly wouldn't hurt to also check the contents of /etc/sysconfig/network-scripts/ifcfg-eth0.

I've seen this routing table "phenominon" happen in Fedora before.
 
Old 12-05-2004, 09:11 AM   #4
icoming
Member
 
Registered: Feb 2004
Posts: 96

Original Poster
Rep: Reputation: 15
thank you for your advice.
and I find the problem now.
It is really a stupid mistake: the IP of subnet and the IP of the hosts are not consistent.
But I met another problem again.
When I set the IP of Linux in the virtual machine static,and give it correct IP, it could connect the host OS.
But if I set the IP in virtual machine dynamic, and restarted the network, Linux told me to check the cable.
I have run DHCP service in the virtual machine.
And when I restarted the network and run vnetsniffer.exe vmnet1, vnetsniffer didn't receive any package
What is the problem?
 
Old 12-05-2004, 09:24 PM   #5
kaito
LQ Newbie
 
Registered: Nov 2004
Location: japan
Distribution: plamo, fedora
Posts: 27

Rep: Reputation: 15
Hi, icoming

Maybe, this problem you faced is known.
I and my friend faced the same problem

>But if I set the IP in virtual machine dynamic, and restarted the >network, Linux told me to check the cable.
>I have run DHCP service in the virtual machine.

There is information for this problem in VMware KnowledgeBase.
Please check the following url:

http://www.vmware.com/support/kb/end...Z2U9MQ**&p_li=

I made sure that the problem is resolved when i did the way in the url advice
Good luck!!
 
  


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
How to set up a virtual network (vmware)? kornerr Slackware 4 10-26-2007 01:05 PM
Vmware and its virtual harddisk! Stealth870 Linux - General 1 03-12-2005 09:33 AM
vmware virtual networking.... atitce51 Linux - Newbie 0 10-17-2004 10:49 AM
Vmware Virtual Machine Problem With Windows In Vmware jvdbossc Linux - Software 2 05-28-2004 06:54 AM
VMWare Virtual Networking rehash Linux - Networking 1 03-25-2002 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:31 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration