LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-03-2005, 08:45 PM   #1
wildebs_27
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Rep: Reputation: 0
Question Can't ping from Win XP


Hello all,

I have an odd behavior from a new server I built up. THe thing is that I can ping from Linux Mandrake 10.1 Official any Windows XP station on the network but XP stations can't ping the Linux server. To add more to this matter, if I stop the firewall (Shorewall 2.4.x) the same situation occurs.

But if I ping an XP station from an XP station, no problem there ! Most weird thing is that all XP station see and can access the Samba server but can't see the Web page.

Anyone has an idea on how to solve this issue ??

Thanks
 
Old 09-03-2005, 08:46 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Perhaps you have ping-responce turned off in the kernel?
 
Old 09-03-2005, 09:13 PM   #3
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Maybe try a service iptables stop?
 
Old 09-03-2005, 11:23 PM   #4
wildebs_27
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Verified ping response and it's not turn off.... as for iptables... didn't made any difference.
 
Old 09-03-2005, 11:57 PM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
how did you "verify" ping responce?

Here;s what you've said:
server = Mandrake = S
nethosts = WinXP = X

ping X from S = OK
ping X from X = OK
ping S from X = FAILED

this is saying that S is not responding to ping requests from the network.
either:
1. ping requests are not getting to the server
2. ping responce is not leaving the server

The first line is the firewall - iptables then your 3rd party wall.
You say you have disabled both of these, and the behavior still occurs.

The next suspicion is the kernel - it is common to configure the kernel to refuse to respond to icmp ping requests due to a possible DnS attack (though latest kernels are protected from this). A default server may have ping-responce disabled...

$ more /proc/sys/net/ipv4/icmp_echo_ignore_all
1

means that ping responce is disabled.

Another thing you havn't mentioned is if any other services work on the network. i.e. if this is a internet server - can the various X machines access the internet OK? If it is a file or printer server, does X have access to these services?

You can see, of course, that if network services are otherwise fine, then the network ping responce is definately disabled.
 
Old 09-04-2005, 10:40 AM   #6
wildebs_27
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Talking

damn it !!!

1 = disabled, should have thought of that !!! Sorry, my regular work is electromechanical tech, in my work 0 binary equals negative and 1 positive....

Thanks for the hint.... all is OK now !!!
 
Old 09-04-2005, 06:57 PM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
The same is true here - watch out for those double negatives

if icmp_echo_ignore_all = 1
then icmp echo requests will (1=positive=yes)be ignored.

if icmp_echo_ignore_all = 0
then icmp echo requests will (0=negative=not) not be ignored.
(Because the "ignore" function is disabled.)
 
  


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 03:39 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 10: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 05:57 AM
Can ping to win pc's and router but not Linux over vpn link. lobsiger Linux - Networking 0 03-30-2004 02:54 AM
Unable to ping win from sus and visa versa jacquedp Linux - Networking 1 03-24-2004 12:59 PM

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

All times are GMT -5. The time now is 10:22 AM.

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