LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-09-2004, 05:05 PM   #1
hairysocks
Member
 
Registered: May 2002
Location: Thorverton, Near Exeter, Devon, England
Distribution: Ubuntu 10.04 (used to be Red Hat 7.1, then Red Hat 9, then FC 2, FC 5, FC 6, FC 9 and Ubuntu 8.04)
Posts: 105

Rep: Reputation: 16
Unhappy Slackware 10 and VMware


I have just installed Slackware 10 into a new virtual machine in VMware running on Windows XP. Everything seems to be ok, but outgoing network traffic just doesn't work.

Trying ping www.google.com gives Host unreachable
Trying ping to another machine on our network also gets no response
Accessing Google in a web browser doesn't work either.
Trying to ping the VM from another machine on the network also fails.

But pinging the VM's IP address from itself works (well, it has to doesn't it?)

I looked at the output from /etc/ifconfig eth0 and it shows RX bytes, so it appears that the VM is seeing network traffic.

There is no firewall active on the VM (iptables just shows the three headings for rules, but no rules - I assume that means all traffic is allowed).

The VM has a static IP address, so its not a DHCP problem.

I'm stuck. Can anyone help me please?

Rob
 
Old 09-10-2004, 04:32 AM   #2
db391
Member
 
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186

Rep: Reputation: 31
so it appears that the VM is seeing network traffic
i gess when trying to ping 127.0.0.1 or something..


also you need vmware to recognise which DNS nameserver is pointing to otherwise linux goes 'what!! i can't use dns so i cant see google'

if you ping another IP address and not a domain name, do you get a responce from ping
eg: ping 82.34.77.49 (i always use this IP)
 
Old 09-13-2004, 06:34 AM   #3
hairysocks
Member
 
Registered: May 2002
Location: Thorverton, Near Exeter, Devon, England
Distribution: Ubuntu 10.04 (used to be Red Hat 7.1, then Red Hat 9, then FC 2, FC 5, FC 6, FC 9 and Ubuntu 8.04)
Posts: 105

Original Poster
Rep: Reputation: 16
I have set up /etc/resolv.conf with our DNS server.

When I try the ping you suggested I get the message
connect: Network is unreachable

Do you have any other suggestions?

Rob
 
Old 09-25-2004, 11:52 AM   #4
dukman823
LQ Newbie
 
Registered: Sep 2001
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Hey Rob!

I'm not sure if you have got things working by now, but if you haven't...

what are your virtual network settings in VMWare? It all depends on if you want the guest OS to have its own IP just like the host system or do you want to use NAT?

I'm running Slackware under a WinXP VMWare host using NAT. Under the NAT tab in the "Virtual Network Editor" I'm using the defaults of:

VMnet host: VMnet8
Gateway IP Address: 192.168.96.2
Netmask: 255.255.255.0

I set my IP under Slackware to be 192.168.96.20 (anything on the 192.168.96.0 network) and used 192.168.96.2 as the gateway. If you want to use the VMWare host as the DNS server as well just "Edit" the VMnet host info for your ISP's DNS servers

Hopefully this helps out a bit. Reply back to let us know if your've got things working!

- Donald
 
Old 09-27-2004, 11:10 AM   #5
vallois
LQ Newbie
 
Registered: Apr 2004
Location: Wisconsin
Distribution: Slackware 10
Posts: 13

Rep: Reputation: 0
If i remember correctly sometimes you need to set to allow all traffic on the ifconfig. Goolge search will tell you how to do that.
 
  


Reply



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
Slackware on vmware. zetox Slackware 14 10-31-2007 08:40 PM
VMware 5.5 on Slackware how-to jong357 Slackware 16 07-20-2006 01:58 PM
slackware 8.1 under VMWare... sqn Slackware 1 06-26-2003 04:27 AM
help Slackware 8.1 and vmware 4 qmon2002 Slackware 0 04-14-2003 07:09 PM
VMware 3.2 and Slackware 9/8.1 antibasic Slackware 4 03-29-2003 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:02 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
Open Source Consulting | Domain Registration