| IT Certification Practice Exams | HOME | Cisco | CompTIA | CheckPoint | CIW | Microsoft | Books | Bootcamp | Buy Now! |
|
|
|
Q5. You are configuring an extended IP access-list. You want to permit ip traffic from the host 185.65.34.10. What is the correct syntax?
B. access-list 102 permit ip host 185.65.34.10 any C. access-list 102 permit ip any 185.65.34.10 D. access-list 102 permit ip 185.65.34.10 0.0.255.255
|
Correct answer: B
Explanation:
Wild card masking:
Wild card masking is used to permit or deny a group of addresses. For example, if we have a source address 185.54.13.2 and want all the hosts on the last octet to be considered, we use a wild card mask, 185.54.13.255.
Special cases:
Host 185.54.13.2 is same as 185.54.13.2 with a wild card mask of 0.0.0.0, considers only specified IP.
Any is equivalent to saying 0.0.0.0 with a wild card mask of 255.255.255.255. This means none of the bits really matter. All IP addresses need to be considered for meeting the criteria.
|
|