CS FundamentalsHardGATE CS · Product company CS fundamentals
What are the dotted-decimal subnet mask and the ACL wildcard mask for a /21 prefix?
- A. 255.255.248.0 and 0.0.7.255
- B. 255.255.240.0 and 0.0.15.255
- C. 255.255.248.0 and 0.0.8.255
- D. 255.255.252.0 and 0.0.3.255
Correct answer: A. 255.255.248.0 and 0.0.7.255
/21 = 8 + 8 + 5 bits: the third octet is 11111000 = 248. The wildcard is the bitwise inverse: 255 − 248 = 7 in the third octet and 255 in the fourth.
More Computer Networks questions
- An IPv4 header has HLEN = 6 and the total length field is 576. How many bytes of options and payload does the packet carry?
- A TCP header has data offset = 8. How many bytes of options does it contain, and could they hold MSS (4 bytes), window scale (3 bytes) and…
- On an Ethernet path (MTU 1500), what is the largest ICMP echo data size (ping payload) that still fits in one unfragmented IPv4 packet?
- A PPPoE DSL link has an MTU of 1492. What TCP MSS should the router clamp SYNs to (IPv4, no options), and why?
- A GRE tunnel over IPv4 adds a 20-byte outer IP header and a 4-byte GRE header. If the physical path MTU is 1500, what MTU should the…
- A UDP header shows a length field of 0x0040. How many bytes of application data does the datagram carry?