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 07-20-2009, 11:08 PM   #1
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Rep: Reputation: 30
windows machine not pinging to linux


I have two machines connected through a switch

one with a multihomed debian lenny machine
eth1 dhcp to cable modem
eth0 ip no 192.168.0.2 nm 255.255.255.0

another
windows xp machine
eth0 192.168.0.3

I can ping from the windows machine successfully. But when I tries to do the same from the linux machine, it waits for a long time.

When I issue the arp command

Address HWtype HWaddress Flags Mask Iface116.68.80.1 ether 00:1B5:FF:69:05 C eth1
192.168.0.3 ether 00:1C:C0E2:14 C

sun:/home/sunil# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 192.168.0.2 255.255.255.0 UG 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
116.68.80.0 * 255.255.240.0 U 0 0 0 eth1
default 116.68.80.1 0.0.0.0 UG 0 0

sun:/home/sunil# tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
09:38:19.814396 IP 192.168.0.2 > 192.168.0.3: ICMP echo request, id 22550, seq 1, length 64
09:38:20.824139 IP 192.168.0.2 > 192.168.0.3: ICMP echo request, id 22550, seq 2, length 64
09:38:21.824188 IP 192.168.0.2 > 192.168.0.3: ICMP echo request, id 22550, seq 3, length 64
09:38:22.824230 IP 192.168.0.2 > 192.168.0.3: ICMP echo request, id 22550, seq 4, length 64
09:38:23.824266 IP 192.168.0.2 > 192.168.0.3: ICMP echo request, id 22550, seq 5, length 64
09:38:24.812289 arp who-has 192.168.0.3 tell 192.168.0.2
09:38:24.812363 arp reply 192.168.0.3 is-at 00:1c:c0:de:d2:14 (oui Unknown)
09:38:24.824309 IP 192.168.0.2 > 192.168.0.3: ICMP echo request, id 22550, seq 6, length 64

8 packets captured
8 packets received by filter
0 packets dropped by kernel
 
Old 07-20-2009, 11:28 PM   #2
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
netsh firewall set icmpsetting 8 enable

run this on the windows machine and maybe its a simple firewall issue.
 
Old 07-21-2009, 12:35 AM   #3
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
Yes it was the problem with the windows fire wall
No it is ok

One more----


What does the command means?
 
Old 07-21-2009, 12:38 AM   #4
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
It's the short way instead of clicking 6+ times or e.g.:

1. Open Windows Firewall by going to Control Panel or the properties of the connection.
2. Select Advanced (Figure Windows Firewall Advanced)
3. Click Setting in the ICMP.
4. Check the Allow incoming echo request (Figure ICMP Settings).
 
  


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
Gust machine is not pinging(vmware workstation 6.5) lincoln.runwal Linux - Newbie 1 03-19-2009 07:10 PM
Pinging Linux Box from Windows meetmefar Linux - Enterprise 12 01-13-2008 09:37 PM
Pinging Windows from Linux Syathon Linux - Networking 1 06-14-2007 08:45 AM
eth0 is up but not pinging to any machine devilzgaze Linux - Networking 1 03-09-2005 05:48 AM
Problems networking Linux and Windows. Pinging does not work. ElijahLofgren Linux - Networking 29 02-11-2004 11:10 PM

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

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