Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

icmp port numbers

Posted on 2009-04-01
4
9,037 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
ID: 24046613
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
ID: 24047099
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
ID: 24048873
0
 
LVL 10

Assisted Solution

by:atlas_shuddered
atlas_shuddered earned 100 total points
ID: 24056219
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
NFS Best-Practices/Tech Books & Videos 11 146
Problem entering Passive Mode with FileZilla ftp Server 7 86
NTP: Time Drift on Domain Controllers 22 117
jump server vs push server 6 177
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…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…

791 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