Wildcard Mask in ACL
Dear Sir/Colleagues,
I did my ACL assignment, but really got confused with all the questions with wildcard mask? Can you please clarify in which chapter it is covered the Wildcard mask?
And in the below question, please explain how the correct answer is 192.168.160.0.
Thanks in advance
You need to create an access list that will prevent hosts in the network range of 192.168.160.0 to 192.168.191.0. Which of the following lists will you use?
access-list 10 deny 192.168.160.0 255.255.224.0
access-list 10 deny 192.168.160.0 0.0.191.255
access-list 10 deny 192.168.160.0 0.0.31.255
access-list 10 deny 192.168.0.0 0.0.31.255
students Answer: access-list 10 deny 192.168.0.0 0.0.31.255
Correct answer: access-list 10 deny 192.168.160.0 0.0.31.255