12-17-2012 04:54 PM - edited 03-04-2019 06:26 PM
Hello community
I have created a simple access-list to deny traffic from a single host 10.0.0.1 to my pc connected to router r4 with ip address 192.168.1.2. The ip address on the pc is 192.168.1.1
After creating the access list all traffic is unable to access 192.168.1.1 via 192.168.1.2
Can someone please explain why?
Attached is the topology and config
Cheers
12-17-2012 06:14 PM
Can you post the ACL?
Remember when you create and access list you have an implicit deny any any at the end even if you didn't add it. This means you also need some sort of permit statement within your ACL to allow the traffic you want.
Also think of how you are applying the ACL to the interface. Whether you apply it inbound or outbound matters how you create your ACL.
Sent from Cisco Technical Support iPhone App
12-17-2012 06:25 PM
Hi Carlton,
Modify you config as below on R4
access-list 102 remark test from R1
access-list 102 deny ip host 192.168.1.1 host 10.0.0.1
access-list 102 permit ip any any
And apply this to router interface where pc is connected IN bound direction
as below
interface FastEthernet0/1
ip access-group 102 in
Hope this helps.
Regards
Najaf
Please rate when applicable or helpful !!!
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