01-21-2019 07:01 AM
Hello
I am having a problem with acl
I attach a screenshot of the scenario that I am testing in Packet tracer
I want that the computer 192.168.1.10 is not able to ping the pc with ip 172.16.0.1.
Using this acl on g0/1 out:
Standard IP access list 1
10 deny host 192.168.1.10 (16 match(es))
20 permit any
the 192.168.1.10 pc is not able to ping but also the other pc is not able any more.
Why?? what is the problem
Thanks for helping
01-21-2019 07:07 AM
Hello,
post your Packet Tracer project file (ZIP it first otherwise you cannot upload)...
01-21-2019 10:33 AM
01-21-2019 07:27 AM - edited 01-21-2019 11:39 AM
Do you mean 172.16.0.1 cannot ping 192.168.1.10 ?
If so that is because when you ping from 172.16.0.1 the response from 192.168.1.10 is blocked by your acl.
access-list 101 permit icmp host 192.168.1.10 host 172.16.0.1 echo-reply
access-list 101 deny ip host 192.168.1.10 any
access-list 101 permit ip any any
note though the last line does nothing in your setup so if you are trying to block only ping from 192.168.1.10 -
access-list 101 permit icmp host 192.168.1.10 host 172.16.0.1 echo-reply
access-list 101 deny icmp host 192.168.1.10 host 172.16.0.1 echo
access-list 101 permit ip any any
Jon
01-21-2019 10:36 AM
I want to use the standard acl
it is possible?? isnt it??
thanks
01-21-2019 10:40 AM
If you want to ping one way but not the other no it isn’t.
Jon
01-24-2019 08:28 AM
Ok I got it
Thank you for helping
01-24-2019 09:39 AM
Hello.
You can also use "Simulation" in PT to see what happened with your traffic. Where it's blocked, how to packets routed and etc.
BR
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