06-06-2019 10:37 AM
I am given a topology in which I have to apply ACL. The PCs in the left bottom side are not to be accessed by any other PCs. This was done successfully as follows:
access-list 1 deny any
access-list 1 permit any
int fa 0/0
ip access-group 1 out
Now the next task is that the top router should be only accessed by the the PCs in the left side and the ones in the left bottom. How do I do that?
Solved! Go to Solution.
06-06-2019 11:06 AM
06-09-2019 01:38 PM
06-06-2019 11:06 AM
06-06-2019 11:25 AM
06-07-2019 08:38 AM
06-07-2019 10:25 AM
06-08-2019 05:08 AM
06-08-2019 07:43 AM
06-09-2019 01:38 PM
06-06-2019 11:11 AM
Hello,
if accessing the top router means be able to telnet/ssh to the router the exercise is asking you to build an ACL that will be applied to the line vty (that are the logical entities that can accept incoming telnet/SSH sessions).
For example:
192.168.5.0/24
and
192.168.20.0/24 must be able to telnet to the router:
access-list 5 pemit 192.168.5.0 0.0.0.255
access-list 5 permit 192.168.20.0 0.0.0.255
line vty 0 4
access-class 5 in
login
Note the ACL is not applied to a physical interface but to the line vty range.
This is usually what is meant with control who can access the router shell.
Hope to help
Giuseppe
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