Question
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 _____.
Official answer and solution
- Official answer
- 158
- From
- Official GATE 2015 answer key
Solution
Determine the subnet boundaries and identify the maximum assignable host IP address.
Given address with prefix: 200.10.11.144/27.
The prefix length is , which leaves host bits.
Block size addresses per subnet.
Subnet boundaries for multiples of 32 in the fourth octet:
Since , the subnet network ID is .
The subnet spans addresses from to :
- Network address:
- Broadcast address:
- Assignable host address range: to
The fourth octet of the last assignable host address is 158.
158
Giving the directed broadcast address (159) instead of the last assignable host address (158 = 159 - 1).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2015 Computer Science and Information Technology (CS) Session 3
- Question
- 48 of 65, printed as CS Q.38
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.