12-28-2016 04:46 AM - edited 03-08-2019 08:43 AM
Hello guys, Hope you doing good all.
I need a help in a scenerio at which, I have created an ACL in router 0. Then, By applying "show run", it tells that i blocked the host,connected to lan network 192.168.5.0 at router 4..The host represents 192.168.5.2.Now my question is,by pinging 192.168.5.2 from pc0, it can not succeed. but why, from ping 192.168.5.2 to pc0 succeeds, as i have blocked it. ??
12-28-2016 12:00 PM
Hi -
Depends on a couple of factors. Which interface is the ACL applied to and what direction (in / out)? What are the contents of the ACL?
PSC
12-29-2016 06:31 AM
As Paul has said, we need to see the contents of the ACL applied to R0 and also the config on the relevant 192.168.1.0 Layer 3 interface on R0
Thanks
11-05-2017 08:18 PM
Eg. PC1-------------PC2
The ICMP ACL have the feature that we can block the ping from PC2 to PC1 but we can ping PC1 to PC2
By using echo statement.
Eg,
Router(config)# access-list 102 deny icmp 172.18.0.0 0.0.255.255 172.16.0.0 0.0.255.255 echo Router(config)# access-list 102 permit icmp 172.18.0.0 0.0.255.255 172.16.0.0 0.0.255.255 Router(config)# access-list 102 permit ip any any
Hope it is useful
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide