Solved

icmp port numbers

Posted on 2009-04-01
4
9,026 Views
Last Modified: 2013-11-29
Hi,

Can any one explain me the ports numbers used for icmp both for echo request and reply

Any standard piece of code for blocking echo request and echo reply ;please help with the code for both router and pix;

Please help with the port for snmp also

thx
0
Comment
Question by:phoenix26
4 Comments
 
LVL 3

Assisted Solution

by:i_t
i_t earned 100 total points
Comment Utility
access-list 101 deny udp any any eq snmp
access-list 101 deny icmp any any

i don't think echo uses a port number because it is beneath tcp
0
 

Author Comment

by:phoenix26
Comment Utility
Hi ,

Thanks for your suggestion.

But i beileve there is some way for blocking icmp echo request and echo reply ?any suggestions on coding
0
 
LVL 43

Accepted Solution

by:
JFrederick29 earned 300 total points
Comment Utility
0
 
LVL 10

Assisted Solution

by:atlas_shuddered
atlas_shuddered earned 100 total points
Comment Utility
icmp doesn't use port numbers as noted above.

for your rtr you'll need to post the following lines in your acl:

ip access-list ext XXXX
permit icmp {source ip} {source mask}/{any} {destination ip} {destination mask}/{any} echo
permit icmp {source ip} {source mask}/{any} {destination ip} {destination mask}/{any} echo reply

for the pix you can use the same format, difference being that if you are trying to ping from outside to inside you will need to set up a translation set.

Hope it helps.

Cheers
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Suggested Solutions

A few months ago I attended the Rocky Mountain IPv6 Summit which was a two-day educational event; it was the 3rd annual conference held here in Denver, Colorado that was held at the Hyatt Regency Denver at the Colorado Convention Center. It was an e…
Understanding FTPS File transfer is a common requirement in most Enterprises. While there are numerous ways to get a file from Point A to Point B over a network, perhaps the most common method still in use is FTP – File Transfer Protocol. FTP is …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now