Skip to content
Official PYQ · 2015

GATE CS 2015 Set 3 Q38 — Fragmentation and IP Addressing, IPv4, CIDR

Explain with AI
In the network 200.10.11.144/27200.10.11.144/27, the fourth\text{fourth} octet (in decimal) of the last IP\text{IP} address of the network which can be assigned to a host is _______.
View worked solution

Answer: 158

To find the last assignable host IP address in the network containing 200.10.11.144/27200.10.11.144/27, we first determine the network address and its range.

Step 1: Find the Network Address
A /27/27 mask has 2727 network bits and 55 host bits. The subnet mask is 255.255.255.224255.255.255.224.
Performing a bitwise AND on the fourth octet of the given IP (144144) and the mask (224224):144 AND 224=100100002 AND 111000002=100000002=128144 \text{ AND } 224 = 10010000_2 \text{ AND } 11100000_2 = 10000000_2 = 128Thus, the network address is 200.10.11.128/27200.10.11.128/27.

Step 2: Find the Broadcast and Last Host Address
With 55 host bits, the block size is 25=322^5 = 32.

  • Network Address: 200.10.11.128200.10.11.128
  • Limited Broadcast Address: 200.10.11.(128+31)=200.10.11.159200.10.11.(128 + 31) = 200.10.11.159
  • Last Assignable Host Address: 200.10.11.(159−1)=200.10.11.158200.10.11.(159 - 1) = 200.10.11.158
The fourth octet of the last assignable host IP address is 158.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Fragmentation and IP Addressing, IPv4, CIDR questions