In the network 200.10.11.144/27, the fourth octet (in decimal) of the last IP address of the network which can be assigned to a host is …
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2015 Set 3 · Q38
Time
Your answerNumerical answer
Solution
Official answer: 158
IPv4, CIDR and NATWe are given the CIDR block prefix /27 with an IP in the network 200.10.11.144/27.
For a /27 prefix, the subnet mask is:
The number of host bits is . Block size in the 4th octet = .
The network address is found by bitwise ANDing the given 4th octet with the mask:
The subnet range for 200.10.11.128/27 is:
Network address:200.10.11.128
First assignable host IP:200.10.11.129
Last assignable host IP:200.10.11.158
Directed broadcast address:200.10.11.159 ()
Therefore, the fourth octet of the last assignable host IP address is 158.
Try the question first, then check your work.
Examiner trap
A subnet has a block size of (). Find the subnet boundaries for the block containing .
This IPv4, CIDR and NAT previous year question is Q38 of the GATE CSE 2015 Set 3 paper. Find more GATE CSE PYQs on IPv4, CIDR and NAT in Computer Networks, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related IPv4, CIDR and NAT PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
IPv4, CIDR and NAT has 14 GATE CSE PYQs across 10 papers from 2012 to 2025. 3 of them are 2-mark NAT questions like this one, and it is the only one in GATE CSE 2015 Set 3.
How GATE tests IPv4, CIDR and NATIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.