Chandan Rajpurohit

An Artist With Technical Skills

1) In an IP packet, the value of HLEN is 5, and the value of the TOTAL LENGTH field is 1000 (in decimal). The number of data bytes in the packet will be __

Solution: Since HLEN = 5, the size of the IP header will be 5 x 4 = 20 bytes. The total size of the IP packet is given as 1000 bytes. Hence, the number of data bytes = 1000 โ 20 = 980 bytes.

2) An IP packet arrives at the final destination with the M flag set as 1. What can you say about the packet?

a. The packet has not been fragmented.
b. The packet has been fragmented.
c. The packet has been fragmented, and this is not the last fragment.
d. The packet data was truncated on its way.

Solution: When the Mode (M) flag in a packet is 1, this indicates that the original packet has definitely been fragmented. Also, this is not the last fragment โฆ there are more fragments after this. Hence, options (b) and (c) are true.

a. Class A
b. Class B
c. Class C
d. Class D

4) What do the following IP address signify: 144.16.255.255 ?

a. It is a unicast address on the class B network 144.16.0.0
b. It is a broadcast address on the class B network 144.16.0.0
c. The subnet mask is 0.0.255.255
d. None of these

Solution: The first byte 144 = 10010000 in binary, which indicates that this is a class B address (starts with โ10โ). Therefore, the first two bytes (144.16) will indicate the network address. The last two bytes will indicate the host address, which is specified as 255.255 (all 1โs). The all 1โs pattern indicates a broadcast address. Thus the IP address signifies a broadcast address on the class B network 144.16.0.0.

5) An IP packet with 2500 bytes of data (plus header) passes through an IP network with MTU =
500 bytes. How many additional bytes will be delivered at the destination?

a. 64
b. 100
c. 150
d. 200