CS FundamentalsHardGATE CS · ISRO Scientist
A network admin knows that 10.1.37.6 and 10.1.42.200 are in the same subnet while 10.1.48.1 is in a different one. Which subnet mask is consistent with this?
- A. 255.255.248.0
- B. 255.255.240.0
- C. 255.255.224.0
- D. 255.255.255.0
Correct answer: B. 255.255.240.0
In the third octet, 37 = 0010 0101, 42 = 0010 1010 and 48 = 0011 0000. 37 and 42 agree only in their first 4 bits, so the mask can cover at most 4 bits of the third octet (/20); 48 differs from them already in that 4th bit, so /20 is also needed to separate it. /21 splits 37 from 42, /19 puts 48 in the same subnet. Only 255.255.240.0 (/20) works.
More Computer Networks questions
- An IPv4 packet has HLEN = 8 and total length = 1000. How many bytes of options does the header carry, and how many bytes of payload does…
- A long-lived TCP Reno flow is in steady state congestion avoidance: its window grows by 1 MSS per RTT up to W = 40 segments, then a single…
- A transport protocol numbers BYTES (like TCP). On a 10 Gbps link with a maximum segment lifetime of 120 s, how many sequence-number bits…
- In a TCP connection the client calls close() first and the server closes later. Which sequence of states does the SERVER go through from…
- A remote-shell client writes one keystroke (1 byte) at a time to a TCP socket with Nagle's algorithm enabled; the RTT is 50 ms and the…
- Which pair correctly matches the fix with the side that causes silly window syndrome? (i) receiving application reads data one byte at a…