LinuxQuestions.org
Visit Jeremy's Blog.
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-18-2005, 06:28 PM   #1
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Can't ping from linux to Windows XP


Hi -

I've got Windows XP and Suse 9.3 on the same LAN. They're both DHCP. I can "telnet" from XP to Linux. I can "ping" from XP to Linux.

But I can't "ping" from Linux to XP.

Yes, I can "ping" from Linux to everywhere else ("ping www.google.com" works fine from Linux). No, I don't have Windows firewall set up on my XP LAN connection.

I also disabled the "IPSec" service and the "TCP/IP|Properties|Advanced|TCPIP Filtering" under XP "Network settings", too.

I took an Ethereal capture of an attempted ping on my XP box. I could see the ICMP "ping requests". I could also confirm they were indeed coming directly from my Linux MAC address. Stupid Windows just wasn't responding back!

Why do I care?

I'm trying to get Cygwin X to work, and I believe the "hang" trying to open any X displays from Linux is exactly the same cause as the "hang" trying to pnig from Linux.

I believe that if I fix "ping", I'll also fix remote X.

Any sage advice?

Thanx in advance .. PSM
 
Old 09-18-2005, 09:25 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Problem resolved: A/V firewall!!!!

Hi -

I fixed the problem.

NOTE TO SELF:
If it looks like a firewall, and it quacks like a firewall ... then it's probably going to wind up being a firewall!

My anti-virus software (Pc-Cillen, from Trend Micro: highly recommended, BTW! Better than both McAfee and Norton put together, IMHO...) installed itself with it's own firewall; it was blocking both "ping" and X-windows.

SOLUTION:
Quote:
1. Went into Pc-Cillen Control Panel, [Network Security], [Personal Firewall],
2. Selected the default profile and clicked [Edit]
3. Clicked on the [Exception List] tab and clicked [Add]
4. Added firewall exceptions for:
a) Name= ping,
Target= all applications,
Connection= Incoming,
Action= ALLOW,
Protocol= ICMP,
IP Setting= Subnet Mask
b) Name= X-windows,
Target= c:\cygwin\usr\X11R6\bin\Xwin.exe,
Connection= incoming,
Action= ALLOW,
Protocol= TCP,
IP Setting= Subnet Mask
A couple of subtle (at least to me ;-)) points:
a) The Pc-Cillen firewall was an integral part of the Pc-Cillen system protection - it didn't want me to disable it (and, frankly, I didn't *want* to disable it. Despite the fact that it's not my primary firewall.)
b) When I made the new rules, I needed to allow *INCOMING* connections (the default in the GUI was to allow "outgoing" - not what I needed!)
c) I made the IP setting by "subnet mask" (the GUI default was "all IP addresses"). Since my network is 192.168.1.xxx/255.255.255.0, this let's me ping and use X windows freely in my network ... while still giving my full firewall protection from anything in the outside world.

Last edited by paulsm4; 09-18-2005 at 09:30 PM.
 
  


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
Can't ping linux machine from windows Drunkalot Linux - General 1 10-14-2005 09:53 AM
Cant Ping my Linux Box from Windows eroica Linux - Networking 10 11-17-2004 07:26 PM
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
unable to ping linux from windows gdumont.1 Linux - Networking 4 11-05-2003 01:58 PM
Windows can't ping Linux frkstein Linux - Networking 1 09-12-2002 09:27 AM

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

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