The GATE Grind

GATE 2015 CS (CS3) – Question 46

Computer Networks · IPv4: Addressing, CIDR, Fragmentation and NAT · 2 marks · Numerical answer

In network 200.10.11.144/27, find the final octet of the last host-assignable IP address, in decimal.

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 158

Explanation

A /27 block spans thirty-two addresses. The supplied address lies in the 128–159 block; bitwise AND with mask 224 gives network octet 128. Broadcast is 159, so the last ordinary host address ends in 158. The supplied 144 is an address in the subnet, not its aligned network boundary.

More IPv4: Addressing, CIDR, Fragmentation and NAT questions

All IPv4: Addressing, CIDR, Fragmentation and NAT questions →