LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2013, 03:03 AM   #1
srijivdimri
Member
 
Registered: Jun 2013
Location: India.
Posts: 35

Rep: Reputation: Disabled
Getting "Packet filtered" when try to ping a host.


Hello Everyone.

I am facing some kind of issues when I am trying to ping a specific host from my Red Hat machine.If I ping a some different subnet, it works just fine. Let say I have 3 hosts-A,B,C.
Ex:-From host A to B:-
ping 10.164.253.216
PING 10.164.253.216 (10.164.253.216) 56(84) bytes of data.
From 192.168.68.10 icmp_seq=1 Packet filtered
From 192.168.68.10 icmp_seq=2 Packet filtered
From 192.168.68.10 icmp_seq=3 Packet filtered

From the same client A to C, ping works just fine:-
ping 192.168.0.27
PING 192.168.0.27 (192.168.0.27) 56(84) bytes of data.
64 bytes from 192.168.0.27: icmp_seq=1 ttl=62 time=4.70 ms
64 bytes from 192.168.0.27: icmp_seq=2 ttl=62 time=4.82 ms
64 bytes from 192.168.0.27: icmp_seq=3 ttl=62 time=4.77 ms

I researched and found that it could be because of iptables. For testing I disabled the Iptables on my machine using:-
# /etc/init.d/iptables save
# /etc/init.d/iptables stop

But still no success. Host A is conneceted to a switch and then to a Router. Checked the setting on the router and there is no filter rules or firewall enables.

Need some help on it. Your expert inputs would be highly appreciated.

Thanks in advance,
Srijiv Dimri
 
Old 06-27-2013, 09:32 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,361
Blog Entries: 12

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
It's likely an ICMP setting.
 
1 members found this post helpful.
Old 06-28-2013, 08:41 AM   #3
TheBigMing
Member
 
Registered: Dec 2008
Location: east anglia
Distribution: SuSE, antiX
Posts: 36

Rep: Reputation: 7
Some sites don't allow you to ping them - it is, as I understand it, a defence against DoS attacks. There is a site www.example.com which is set up specifically to be pinged (it's part of the icann/iana consortium so should be safe) run:

Code:
ping www.exampe.com
If that works, your computer's fine but the server your pinging is shirty about it.

There's a memo explaining the purpose & function of the testing sites at http://tools.ietf.org/html/rfc2606

dmk

Last edited by TheBigMing; 06-28-2013 at 08:52 AM.
 
Old 06-28-2013, 08:44 AM   #4
srijivdimri
Member
 
Registered: Jun 2013
Location: India.
Posts: 35

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
It's likely an ICMP setting.
It was an issue with the upstream router. The ACL was filtering packets. I made changes with the ACL and all worked just fine. Thanks a ton for all your help and expert comments.
 
  


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
Ping - Packet FIltered pembo13 Linux - Networking 3 06-25-2010 12:24 PM
Ping error "Destination Host Unreachable" from the gateway cristi_ro Linux - Networking 4 10-30-2006 05:32 PM
a/p connected, route correct, ping router: "Destination Host Unreachable". DebianEtch shinyblue Linux - Wireless Networking 1 08-29-2006 10:34 PM
"host" ok, but "ping" can't find ip address hardigunawan Linux - Networking 2 05-16-2002 06:41 PM
Packet filtered can't ping henrymaher Linux - Networking 2 01-04-2002 10:29 PM


All times are GMT -5. The time now is 01: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration