Networking Forums

Networking Forums > Computer Networking > Linux Networking > Cannot ping Linux machine from Win XP and vice versa

Reply
Thread Tools Display Modes

Cannot ping Linux machine from Win XP and vice versa

 
 
Zefram Cochrane
Guest
Posts: n/a

 
      07-22-2004, 10:09 PM
Hello everyone,

I am Linux newbie, just entering into the vast Linux democracy.

I have a Linux box (SUSE 7.0 Personal) that I have freshly installed
and I also have a Windows XP box. I am trying to ping the Linux box
from WinXP and the WinXP from Linux but neither of them seems to work.
I know that the hardware is good because the lights on the hub blink
whenever either one sends a ping message out. On the Linux side, I ran
tcpdump and I saw that the Linux box was sending out ARP messages
asking for the location of the IP. But it was not receiving any
messages whatsoever from the WinXP box. What settings do I have to
configure to get it to work?

WinXP
IP address: 10.1.1.73
Subnet mask: 255.255.255.0

Linux (verified it with ifconfig - eth0)
IP address: 10.1.1.70
Subnet mask: 255.255.255.0

On the Linux box I can ping it's own ip address (10.1.1.70) and also
the loopback (127.0.0.1). The same with WinXP box; I can ping it's own
ip address and loopback.

Please help.

Thanking you all,

Zefram Cochrane
----------------
To boldly go where noone has gone before...
 
Reply With Quote
 
 
 
 
Claire McIvor
Guest
Posts: n/a

 
      07-23-2004, 01:00 AM
On Thu, 22 Jul 2004 15:09:05 -0700, Zefram Cochrane wrote:

> Hello everyone,
>
> I am Linux newbie, just entering into the vast Linux democracy.
>
> I have a Linux box (SUSE 7.0 Personal) that I have freshly installed and I
> also have a Windows XP box. I am trying to ping the Linux box from WinXP
> and the WinXP from Linux but neither of them seems to work. I know that
> the hardware is good because the lights on the hub blink whenever either
> one sends a ping message out. On the Linux side, I ran tcpdump and I saw
> that the Linux box was sending out ARP messages asking for the location of
> the IP. But it was not receiving any messages whatsoever from the WinXP
> box. What settings do I have to configure to get it to work?
>
> WinXP
> IP address: 10.1.1.73
> Subnet mask: 255.255.255.0
>
> Linux (verified it with ifconfig - eth0) IP address: 10.1.1.70
> Subnet mask: 255.255.255.0
>
> On the Linux box I can ping it's own ip address (10.1.1.70) and also the
> loopback (127.0.0.1). The same with WinXP box; I can ping it's own ip
> address and loopback.
>
> Please help.
>
> Thanking you all,
>
> Zefram Cochrane
> ----------------
> To boldly go where noone has gone before...


There is nothing I can see wrong with your setup other than the IP range
you have chosen is not a private address range. You don't mention if your
machines are connected externally e.g. through a broadband internet
connection. If so it may be that a live system is conflicting with your
system. Try changing the IP addresses to 10.0.0.1 or 192.168.0.1 series
and see how that works out. If no improvement check your hardware,
particularly the hub as you say you are seeing some activity up to there.
Also check the network cables.

Regards,

Claire
 
Reply With Quote
 
Ram
Guest
Posts: n/a

 
      07-23-2004, 01:36 AM

"Zefram Cochrane" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> Hello everyone,
>
> I am Linux newbie, just entering into the vast Linux democracy.
>
> I have a Linux box (SUSE 7.0 Personal) that I have freshly installed
> and I also have a Windows XP box. I am trying to ping the Linux box
> from WinXP and the WinXP from Linux but neither of them seems to work.
> I know that the hardware is good because the lights on the hub blink
> whenever either one sends a ping message out. On the Linux side, I ran
> tcpdump and I saw that the Linux box was sending out ARP messages
> asking for the location of the IP. But it was not receiving any
> messages whatsoever from the WinXP box. What settings do I have to
> configure to get it to work?
>
> WinXP
> IP address: 10.1.1.73
> Subnet mask: 255.255.255.0
>
> Linux (verified it with ifconfig - eth0)
> IP address: 10.1.1.70
> Subnet mask: 255.255.255.0
>
> On the Linux box I can ping it's own ip address (10.1.1.70) and also
> the loopback (127.0.0.1). The same with WinXP box; I can ping it's own
> ip address and loopback.
>
> Please help.
>
> Thanking you all,
>
> Zefram Cochrane
> ----------------
> To boldly go where noone has gone before...



Have you checked for Firewalls, XP as an inbuilt one make sure it is
disabled.
Have set up security on the SuSE Box if yes it probably set to high and may
need reconfiguring. turn it off for now untill you get both PC Talking to
each other.

Ram.





 
Reply With Quote
 
Juhan Leemet
Guest
Posts: n/a

 
      07-23-2004, 02:28 AM
On Thu, 22 Jul 2004 15:09:05 -0700, Zefram Cochrane wrote:
> Hello everyone,
> I am Linux newbie, just entering into the vast Linux democracy.
>
> I have a Linux box (SUSE 7.0 Personal) that I have freshly installed
> and I also have a Windows XP box. I am trying to ping the Linux box
> from WinXP and the WinXP from Linux but neither of them seems to work.
> I know that the hardware is good because the lights on the hub blink
> whenever either one sends a ping message out. On the Linux side, I ran
> tcpdump and I saw that the Linux box was sending out ARP messages
> asking for the location of the IP. But it was not receiving any
> messages whatsoever from the WinXP box. What settings do I have to
> configure to get it to work?


Hmm, are you sure you have the TCP/IP protocol stack installed in Windoze?

> WinXP
> IP address: 10.1.1.73
> Subnet mask: 255.255.255.0
>
> Linux (verified it with ifconfig - eth0)
> IP address: 10.1.1.70
> Subnet mask: 255.255.255.0
>
> On the Linux box I can ping it's own ip address (10.1.1.70) and also
> the loopback (127.0.0.1). The same with WinXP box; I can ping it's own
> ip address and loopback.


Doesn't mean much. If you're pinging the machine itself (either through
loopback or its IP address) the ping never goes out of the box onto the
LAN cable. It is turned around inside, in the lower levels of protocol
stack.

Check that you have TCP/IP installed on Windoze.

How have you connected the machines?
Through a hub? switch? cross-over cable?

--
Juhan Leemet
Logicognosis, Inc.

 
Reply With Quote
 
root/administrator
Guest
Posts: n/a

 
      07-23-2004, 04:39 AM
Zefram Cochrane wrote:

> Hello everyone,
>
> I am Linux newbie, just entering into the vast Linux democracy.
>
> I have a Linux box (SUSE 7.0 Personal) that I have freshly installed
> and I also have a Windows XP box. I am trying to ping the Linux box
> from WinXP and the WinXP from Linux but neither of them seems to work.
> I know that the hardware is good because the lights on the hub blink
> whenever either one sends a ping message out. On the Linux side, I ran
> tcpdump and I saw that the Linux box was sending out ARP messages
> asking for the location of the IP. But it was not receiving any
> messages whatsoever from the WinXP box. What settings do I have to
> configure to get it to work?
>
> WinXP
> IP address: 10.1.1.73
> Subnet mask: 255.255.255.0
>
> Linux (verified it with ifconfig - eth0)
> IP address: 10.1.1.70
> Subnet mask: 255.255.255.0
>
> On the Linux box I can ping it's own ip address (10.1.1.70) and also
> the loopback (127.0.0.1). The same with WinXP box; I can ping it's own
> ip address and loopback.
>
> Please help.
>
> Thanking you all,
>
> Zefram Cochrane
> ----------------
> To boldly go where noone has gone before...


Your LAN setup uses a private class A subnet and your netmask is
255.255.255.0. Is this correct?

--
root/administrator
 
Reply With Quote
 
Bernhard Kastner
Guest
Posts: n/a

 
      07-23-2004, 07:19 AM
Claire McIvor wrote:

>
> There is nothing I can see wrong with your setup other than the IP range
> you have chosen is not a private address range.


10.0.0.0 IS private, so there's nothing wrong with the config...
Watch RFC1918, 10/8 is private.
also private is 172.16/16 and 192.168/16
http://www.isi.edu/in-notes/rfc1918.txt

--
---
http://www.alf.at.tc
Austrian Linux Forum
 
Reply With Quote
 
Jerry Smiley
Guest
Posts: n/a

 
      07-23-2004, 11:42 AM
Zefram Cochrane wrote:

> Hello everyone,
>
> I am Linux newbie, just entering into the vast Linux democracy.



Zefram, Welcome to Linux

>I ran
> tcpdump and I saw that the Linux box was sending out ARP messages
> asking for the location of the IP. But it was not receiving any
> messages whatsoever from the WinXP box. What settings do I have to
> configure to get it to work?

Make sure that the Linux and ZP boxes do not have firewalls running which
may be blocking icmp pings. On the Linux box look for 'ipchains' setup.

Can either machine reach or ping a different location outside of your
network domain?
 
Reply With Quote
 
svek
Guest
Posts: n/a

 
      07-23-2004, 03:38 PM
root/administrator <(E-Mail Removed)> wrote in message news:<YD0Mc.147589$JR4.57503@attbi_s54>...

> Your LAN setup uses a private class A subnet and your netmask is
> 255.255.255.0. Is this correct?


10.0.0.0/8 is a class A private network.
10.0.0.0/24 is a subnet of the class A private network 10.0.0.0
and his setup seems to be correct.

/svek
 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      07-23-2004, 04:14 PM
it's the default firewall what is causing trouble for linux and xp.
try disabling the firewall settings in both OSes.

for SUSE, what I suspect that it has a default firewall policy which
is set to high or medium. you might try turning that firewall off or
reset to default values.

# /usr/sbin/iptables -F

# /usr/sbin/iptables -P INPUT ACCEPT
# /usr/sbin/iptables -P FORWARD ACCEPT
# /usr/sbin/iptables -P OUTPUT ACCEPT

you might need that firewall for security reason. So, you can allow
*only* icmp packets to traverse freely.

# /usr/sbin/iptables -A OUTPUT -p icmp --icmp-type echo-request -j
ACCEPT
# /usr/sbin/iptables -A INPUT -p icmp --icmp-type echo-reply -j
ACCEPT


hth


--
raqueeb hassan
congo (drc)
 
Reply With Quote
 
Zefram Cochrane
Guest
Posts: n/a

 
      07-31-2004, 05:49 AM
Hi Ram,

Thanks for the reply.

I have checked the firewall on the SUSE box and there is no firewall
policy. I have also checked the XP box and there is no firewall policy
on my LAN connection.

I have installed Ethereal on my XP box. When I ping from my XP box, I
see ICMP requests in Ethereal and I see lights blinking on my hub.
Similary in the SUSE box, when I ping from it, in tcpdump I see the
ICMP requests in Ethereal and I see the lights blinking on my hub. But
in neither case do I see the other pc's ICMP requests. I don't know
why this is happening.

Please advise.

Zefram Cochrane
----------------
To boldly go where noone has gone before...


"Ram" <(E-Mail Removed)> wrote in message news:<dYZLc.879$(E-Mail Removed)>...

> Have you checked for Firewalls, XP as an inbuilt one make sure it is
> disabled.
> Have set up security on the SuSE Box if yes it probably set to high and may
> need reconfiguring. turn it off for now untill you get both PC Talking to
> each other.
>
> Ram.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tracert from A to B dies just before reaching B -- and vice versa? Bennett Haselton Linux Networking 3 02-09-2009 08:39 PM
Vista sees XP, not vice versa barryadam Wireless Networks 2 09-30-2008 08:09 PM
wired cannot ping w/less and vice-versa margetts Network Routers 1 12-04-2005 07:14 PM
Vietnam Courts Microsoft and Vice Versa Muddle Windows Networking 1 06-21-2005 11:22 PM
98SE not seeing Win XP vice/versa Cman Windows Networking 3 07-25-2003 07:48 PM



1 2 3 4 5 6 7 8 9 10 11