Which of the following access-list commands matches all packets sent from hosts in subnet 172.16.4.0/23?

IT Questions BankCategory: CCNAWhich of the following access-list commands matches all packets sent from hosts in subnet 172.16.4.0/23?

Which of the following access-list commands matches all packets sent from hosts in subnet 172.16.4.0/23?

  • access-list 1 permit 172.16.0.5 0.0.255.0
  • access-list 1 permit 172.16.4.0 0.0.1.255
  • access-list 1 permit 172.16.5.0
  • access-list 1 permit 172.16.5.0 0.0.0.127

Explanation: One wrong answer, with wildcard mask 0.0.255.0, matches all packets that begin with 172.16, with a 5 in the last octet. One wrong answer matches only specific IP address 172.16.5.0. One wrong answer uses a wildcard mask of 0.0.0.128, which has only one wildcard bit (in binary), and happens to only match addresses 172.16.5.0 and 172.16.5.128. The correct answer matches the range of addresses 172.16.4.0– 172.16.5.255.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments