Question : How to Disable Ping Response?

hi all,

How to disable response to a ping request on a Cisco Router?
i wan to restrict the response to some ip's only?

Thanks
Manoj

Answer : How to Disable Ping Response?

Try using access-lists.
Something like:

access-list 100 permit icmp host 192.168.12.34 any
access-list 100 deny icmp 192.168.0.0 0.0.255.255 any
access-list 100 permit any any

Then put that on an interface:

interface ethernet 0/0
 ip access-group 100 in

Now people with an ip-adress in the range of 192.168.0.0 - 192.168.255.255, except for one person with 192.168.12.34, who have to go through this interface for access to other parts of the network, cannot ping anywhere. Pay special attention on the order of things in the access-list. If the second line of access-list 100 would be above the first, the pc with 192.168.23.34 would still be unable to ping anywhere. Also be aware for extra cpu-load when using access-lists.

Good luck.
Random Solutions  
 
programming4us programming4us