cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
273
Views
0
Helpful
3
Replies
mzzafar29
Beginner

NEED HELP IN ROUTING AND SWITCHING, ACL(ACCESS CONTORL LIST) LAB.

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. ??  

3 REPLIES 3
Paul Chapman
Enthusiast

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

devils_advocate
Rising star

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

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