332 views
4 4 votes

The subnet mask for a particular network is $255.255.240.0$. Which of the following pairs of IP addresses could belong to this network?

  1. $172.16.5.5$ AND $172.17.5.5$
     
  2. $130.20.100.5$ AND $130.20.110.254$
     
  3. $192.168.1.1$ AND $193.168.1.2$
     
  4. $200.10.35.10$ AND $200.10.50.20$

1 Answer

2 2 votes

The first two octets must match exactly (because the mask is 255.255 ).

The last octet doesn't matter (because the mask is 0).

The third octet is the important one. The mask 240 ( 11110000 ) means the first 4 bits of the third octet must match.

A. 172.16.5.5 AND 172.17.5.5

  • The second octets (16 and 17) do not match.
     
  • They are on DIFFERENT networks.

C. 192.168.1.1 AND 193.168.1.2

  • The first octets (192 and 193) do not match.
     
  • They are on DIFFERENT networks.

D. 200.10 .35 .10 AND 200.10 .50 .20

  • The first two octets ( 200.10 ) match.
  • We must check the third octet: 35 and 50 .
  • 35 in binary is 00100011
  • 50 in binary is 00110010
  • The first 4 bits ( 0010 and 0011 ) do not match.
  • They are on DIFFERENT networks.

B. 130.20.100.5 AND 130.20.110.254

  • The first two octets ( 130.20 ) match.
  • We must check the third octet: 100 and 110 .
  • 100 in binary is 01100100
  • 110 in binary is 01101110
  • The first 4 bits ( 0110 and 0110 ) are identical.
  • They are on the SAME network.

The correct choice is $\mathbf{B}$.

Answer:
Position:
Show:

Related questions

3 3 votes
2 2 answers
359
359 views
GO Classes asked Nov 3, 2025
359 views
A link has a transmission speed of $2 \times 10^6$ bits/sec. It uses data packets of size 500 bytes each. Assume that the acknowledgment has negligible transmission delay...
3 3 votes
3 3 answers
493
493 views
GO Classes asked Nov 3, 2025
493 views
Consider a network that uses Ethernet and IPv4. Assume that the IPv4 headers do not use any options field. Each Ethernet frame can carry a maximum of 1400 bytes in its da...
7 7 votes
2 2 answers
453
453 views
GO Classes asked Nov 3, 2025
453 views
A TCP connection has a congestion window size of $\mathbf{64} \mathbf{~ KB}$ when a packet loss is detected via timeout. The connection's round trip time (RTT) is $\mathb...
3 3 votes
1 1 answer
324
324 views
GO Classes asked Nov 3, 2025
324 views
Consider a network path $\mathbf{P} \rightarrow \mathbf{Q} \rightarrow \mathbf{R}$ between nodes $\mathbf{P}$ and $\mathbf{R}$ via router $\mathbf{Q}$. Node $\mathbf{P}$ ...