LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-29-2003, 04:54 PM   #1
masterkiwi
LQ Newbie
 
Registered: Aug 2003
Distribution: MMandrake 9.1
Posts: 3

Rep: Reputation: 0
can't ping


OK this has probably been posted somewhere before if so I would be gratefull if I could be pointed to the solution.

Hi, I have just installed Linux Mandrake 9.1 on my system, duel booting with XP.

I have the linux machine set up as 192.168.0.2

winxp1 as 192.168.0.1
winxp2 as 192.168.0.3

The winxp1 has the internet connection... however for now that is irrelevent.

The two xp machines can ping each other, and if I boot into XP on this machine all three machines can see each other.

However when in linux the other machines can't ping me, and I can not ping the other machines. I can ping myself. (me, myself and I being the lineage box).

I have the ViA Rhine II built into the AT7-MAX2 motherboard, and it appears to have correctly been detected in linux.

Any ideas how to make this work? There is nothing hardware related as I said it works with XP on the same machine.

Thankyou.
Calvin

p.s. I am new to linux, so be easy on me

Last edited by masterkiwi; 08-29-2003 at 04:56 PM.
 
Old 08-29-2003, 05:34 PM   #2
quest4knowledge
Member
 
Registered: Aug 2003
Distribution: gentoo
Posts: 62

Rep: Reputation: 15
use these commands:

# ifconfig eth0
# route -n

to check these values:

IP, netmask, broadcast addresses and if the device is UP or not.
In the route -n command check and make sure the correct gateway is listed.

If all of these are correct it should work. Unless you have a firewall enabled then you will want to check:

# iptables -L

to make sure you are allowing the connection.
 
Old 08-30-2003, 12:33 PM   #3
masterkiwi
LQ Newbie
 
Registered: Aug 2003
Distribution: MMandrake 9.1
Posts: 3

Original Poster
Rep: Reputation: 0
ok checked these and realised I couldnt transfer them to cut and paste hehe... so heres a narrowed down result:

#ifconfig eth0

inet: 192.168.0.2 BCast 192.168.0.255 Mask 255.255.255.0

MTU 1500 Metric 1

RX dropped 6?

TX no errors

queuelan 100?

Interupt 16 Base Address 0xc000

#route -n

Destination, Gateway, Genmask, Flag

192.168.0.0, 0.0.0.0, 255.255.255.0, U
127.0.0.1, 0.0.0.0, 255.0.0.0, U
0.0.0.0, 192.168.0.1, 0.0.0.0, UG

#iptables -F

There were no entries after INPUT, FORWARD, OUTPUT.

Hope this sheds some light.

TY Calvin... p.s. there is no firewall on any machine unless one is set up on the mandrake which I am unaware of.

Thankyou.
 
Old 08-30-2003, 02:56 PM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
iptables -F will not set the default policies of the chains to ACCEPT.

Type: service iptables stop
Or: iptables -P INPUT ACCEPT

Last edited by Mathieu; 08-30-2003 at 02:58 PM.
 
Old 08-30-2003, 03:05 PM   #5
masterkiwi
LQ Newbie
 
Registered: Aug 2003
Distribution: MMandrake 9.1
Posts: 3

Original Poster
Rep: Reputation: 0
they are all set to accept... still doesnt work...
 
Old 08-31-2003, 02:29 AM   #6
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Hi masterkiwi,

No idea if this is the problem, but you could try deleting the last entry in the routing table.

Something like
# route del 192.168.0.1
Just to try tidying things up.

It might be useful if you can show us the contents of the file /etc/sysconfig/network-scripts/ifcfg-eth0.

Also in ifconfig eth0, check that the word UP appears in the output.

Last, can you say what output you get when you try to ping. Does it just hang or do you get something like "Destination network unreachable"?

Iain.
 
  


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
Any idea why this time I can not ping my LAN pc but can PING for ex. www.yahoo.com vakia Debian 5 09-28-2005 06:42 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 04:57 AM
I can ping google.com successfully,but ping client(in my intranet) failed.Why? whepin Linux - Newbie 4 12-30-2001 04:54 AM

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

All times are GMT -5. The time now is 11:43 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