was doing chapter exam and got this question
What single access list statement matches all of the following networks?
192.168.16.0
192.168.17.0
192.168.18.0
192.168.19.0
with following answers possible:
access-list 10 permit 192.168.0.0 0.0.15.255access-list 10 permit 192.168.0.0 0.0.0.255
access-list 10 permit 192.168.16.0 0.0.15.255
access-list 10 permit 192.168.16.0 0.0.3.255
Now i went with first answer even thou i know basic formula is to take away subnet mask from 255 thus in my mind for single ip it would been 255-16,which obviously isnt correct and my second choice was 3rd ACL which isnt correct.
So how does 0.0.3 fit addresses 16 to 19 on third octet,is it just any number as how many networks past 16 mark one wants to include ? since did binary on 16 which is 00010000 and 3 is 00000011 so a bit bummped up how to calculate range of addresses,as opposed to using 0.0.0.0 or 255 as to allow all addresses in that range 