LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
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
 
LinkBack Search this Thread
Old 11-08-2008, 07:53 AM   #1
mabtjie
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
(Mepis) Windows machine cannot ping linux machine by IP


I can't seem to ping Linux from my Windows machine. My Linux machine however pings Windows fine.

My machines are:
  • 192.168.0.50 another Windows box
  • 192.168.0.51 Windows box I'm trying this on
  • 192.168.0.52 Linux box

From Linux:

Code:
# uname -a
Linux elijah 2.6.22-1-mepis-smp #1 SMP PREEMPT Sun Dec 2 19:15:40 EST 2007 i686 GNU/Linux

# ifconfig ath0
ath0     Link encap:Ethernet  HWaddr 00:1D:92:CD:BA:A7
         inet addr:192.168.0.52  Bcast:192.168.0.255  Mask:255.255.255.0
         inet6 addr: fe80:21d:92ff:fecd:baa7/64 Scope:Link
         UP BROADCAST MULTICAST  MTU:1500  Metric:1
         RX packets:13743 errors:0 dropped:12446 overruns:0 frame:0
         TY packets:12197 errors:0 dropped:0 overrruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:14947376 (14.2 MiB)  TX bytes:830356 (810.8 KiB)
         Interrupt:17 Memory:f8858000-f8858100

# ping -c 1 192.168.0.51
PING 192.168.0.51 (192.168.0.51) 56(84) bytes of data.
64 bytes from 192.168.0.51: icmp_seq=1 ttl=128 time=1.36 ms

--- 192.168.0.51 ping statistics ---
1 packet transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.366/1.366/1.366/0.000 ms
From Windows:

Code:
C:\>ping 192.168.0.52

Pinging 192.168.0.52 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.0.52:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\>ping 192.168.0.50

Pinging 192.168.0.50 with 32 bytes of data:

Reply from 192.168.0.50: bytes=32 time=40ms TTL=128
Reply from 192.168.0.50: bytes=32 time=4ms TTL=128
Reply from 192.168.0.50: bytes=32 time=4ms TTL=128
Reply from 192.168.0.50: bytes=32 time=4ms TTL=128

Ping statistics for 192.168.0.50:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 4ms, Maximum = 40ms, Average = 13ms
Yet at the same time, Windows happily connects to Samba on my Linux box.

Any idea what could be going on here?

Thanks,
- Mab
 
Old 11-08-2008, 09:54 AM   #2
Woodypecker
Member
 
Registered: Mar 2006
Location: Austria
Distribution: Mandriva/Debian
Posts: 101

Rep: Reputation: 17
Do you have some sort of firewall installed?
Read "man iptables" on how to temporarily reset that.
You may have a setting that blocks ping (icmp) but has samba/netbios ports open.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to watch linux client machine desktop(activities) from windows machine deepak rawat Linux - Networking 7 07-03-2006 04:59 PM
how to shutdown,restart and log off windows machine remotely through a linux machine deepak rawat Fedora 1 05-23-2006 01:25 AM
Can't ping Linux box from Windows machine, and other networking oddities on Mandriva Adinsx88 Linux - Networking 2 05-10-2006 06:09 PM
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 10:20 AM
Can't ping linux machine from windows Drunkalot Linux - General 1 10-14-2005 08:53 AM


All times are GMT -5. The time now is 05:41 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration