CS FundamentalsHardGATE CS (PYQ pattern)
A customer receives 2001:db8:abcd::/48 and gives each of its sites a /56, numbering sites 0, 1, 2, ... in address order. Each site then creates /64 LANs. What is the prefix of site 9, and how many /64 LANs can it create?
- A. 2001:db8:abcd:9::/56, 256 LANs
- B. 2001:db8:abcd:900::/56, 256 LANs
- C. 2001:db8:abcd:a00::/56, 256 LANs
- D. 2001:db8:abcd:900::/56, 65,536 LANs
Correct answer: B. 2001:db8:abcd:900::/56, 256 LANs
The site number occupies bits 48-55, i.e. the high byte of the fourth 16-bit group: site 9 -> 0x0900 -> 2001:db8:abcd:900::/56. A /56 contains 2^(64 - 56) = 256 /64s. ':9::' puts 9 in the low byte (that is a /64 inside site 0); 0xa00 is site 10; 65,536 is the number of /64s in the whole /48.
More Computer Networks questions
- A router R has three interfaces. Interface 1 connects to a switch S1 whose four ports lead to R, hosts H1 and H2, and a hub with hosts H3…
- A TCP sender starts with cwnd = 1 MSS and ssthresh = 16 MSS and no loss ever occurs. Each round trip the window doubles while below…
- A Reno sender has cwnd = 20 MSS when three duplicate ACKs arrive (fast retransmit and fast recovery: ssthresh = cwnd/2, cwnd = ssthresh +…
- How many of these addresses are in the private ranges of RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16)? 10.255.1.1, 172.15.0.1…
- Network 200.1.1.0/24 is divided into /27 subnets. How many of these addresses are usable host addresses (neither a subnet's network…
- Host 172.16.37.14 has a /21 mask. How many of these addresses are in its subnet? 172.16.32.1, 172.16.39.254, 172.16.40.1, 172.16.31.255…