CS FundamentalsVery hardGATE CS (PYQ pattern)
A router ACL entry matches an address if every bit position where the wildcard mask has a 0 equals the corresponding bit of 192.168.4.0. The wildcard mask is 0.0.2.255. How many IPv4 addresses does the entry match, and which third-octet values are included?
- A. 256 addresses; third octet 4 only
- B. 512 addresses; third octet 4 and 5
- C. 1024 addresses; third octet 4, 5, 6 and 7
- D. 512 addresses; third octet 4 and 6
Correct answer: D. 512 addresses; third octet 4 and 6
Wildcard bits that are 1 are 'don't care'. In the third octet only bit value 2 is don't care: 4 = 100b and 6 = 110b match, 5 and 7 do not (bit 0 must stay 0). With the whole fourth octet free this is 2 x 256 = 512 addresses.
More Computer Networks questions
- A 4000-byte IPv4 datagram (20-byte header, 3980 bytes of data) crosses links with MTUs 1500, 1000 and 576 bytes in turn, and every router…
- A DHCP client gets a 6-hour lease at time 0 and uses the default timers T1 = 50% and T2 = 87.5% of the current lease. At T1 its unicast…
- A host with MAC address 00:1A:2B:3C:4D:5E forms its IPv6 link-local address using modified EUI-64. What is the address (shortest form)?
- Two stations on an Ethernet segment both transmit at the same instant and collide (collision 1). Each then uses binary exponential…
- Ten stations share a slotted ALOHA channel; in every slot each station transmits independently with probability p. A slot is useful when…
- In a pure ALOHA channel the throughput is S = G e^(-2G), where G is the offered load in frames per frame time. For a throughput of S = 0.1…