cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2286
Views
3
Helpful
19
Replies

ACL extended not working

mangsto32
Level 1
Level 1

We are experiencing an issue where cisco router is pinging some servers with his wan ip.

we didn't find the reason so we tried to block the ping,
Despite applying ACL, I still see logs of the ping in the firewall, it's really weird because when I try to ping the servers with the wan IP I can't:

ROUTER#ping 172.24.133.124
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.24.133.124, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
ROUTER#ping 172.24.133.124 so
ROUTER#ping 172.24.133.124 source 198.18.100.9
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.24.133.124, timeout is 2 seconds:
Packet sent with a source address of 198.18.100.9
.....
Success rate is 0 percent (0/5)

cisco config:

ip access-list extended Block-Ping
10 deny icmp host 198.18.100.9 any echo
20 deny icmp host 198.18.100.9 any echo-replySwitching
30 permit ip any any

!

interface GigabitEthernet0/0/1.60
description p2p_to_customer
encapsulation dot1Q 60
ip address 172.24.60.249 255.255.255.0
ip access-group Block-Ping out

 

19 Replies 19

NO need log I test ACL with log there is no hit so we need to use CoPP and I will run lab and share code here 

thanks 

MHM

access-list 152 permit ip host <router interface IP> <server IP>
access-list 152 deny   ip any any <<<- this mandatory 
!
class-map match-all class-icmp
 match access-group 152
!
policy-map policy-icmp
 class class-icmp
   drop
!
control-plane
 service-policy input policy-icmp

MHM 

I still didn't execute the command.

do you know if cdp may be the reason for the ping?

Cdp is use between two direct point and it l2 so sure it not relate to ping send for router to server.

And if you not run copp in router why you not only drop these ping in FW.

I prefer use acl in FW instead of using copp. 

MHM

Thanks for the reply.

but I don't have access to the FW,