Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-03-2005, 08:45 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Posts: 9
Rep:
|
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
|
|
|
09-03-2005, 08:46 PM
|
#2
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
Perhaps you have ping-responce turned off in the kernel?
|
|
|
09-03-2005, 09:13 PM
|
#3
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596
Rep:
|
Maybe try a service iptables stop?
|
|
|
09-03-2005, 11:23 PM
|
#4
|
LQ Newbie
Registered: Jan 2005
Posts: 9
Original Poster
Rep:
|
Verified ping response and it's not turn off.... as for iptables... didn't made any difference.
|
|
|
09-03-2005, 11:57 PM
|
#5
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
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.
|
|
|
09-04-2005, 10:40 AM
|
#6
|
LQ Newbie
Registered: Jan 2005
Posts: 9
Original Poster
Rep:
|
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 !!!
|
|
|
09-04-2005, 06:57 PM
|
#7
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
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.)
|
|
|
All times are GMT -5. The time now is 10:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|