Networking - Subnetting - Discussion
Discussion Forum : Subnetting - Subnetting (Q.No. 11)
11.
You need to configure a server that is on the subnet 192.168.19.24/29. The router has the first available host address. Which of the following should you assign to the server?
Answer: Option
Explanation:
A /29 is 255.255.255.248, which is a block size of 8 in the fourth octet. The subnets are 0, 8, 16, 24, 32, 40, etc. 192.168.19.24 is the 24 subnet, and since 32 is the next subnet, the broadcast address for the 24 subnet is 31. 192.168.19.26 is the only correct answer.
Discussion:
15 comments Page 2 of 2.
Manu Ratheesh said:
1 decade ago
I think answer is (D).
Solution:
Given CIDR is 192.168.19.24/29 which means the NID is 29 bits and HID is 3 bits.
So the subnet mask becomes 255.255.255.248.
Given that the router has the first available host address (i.e, SubnetID), which is given by:
(192.168.19.24) AND (255.255.255.248) = 192.168.19.24, which is the IP address of the router.
We know that 192.168.19.24 = 192.168.19.00011000.
Here the NID part is 192.168.19.00011 (29 bits) and host id part is remaining 3 bits.
In order to get the broadcast address (address of the server), set all host id bits to 1. Then it becomes 192.168.19.00011111.
i.e, 192.168.19.31 which is the IP address of the server.
Solution:
Given CIDR is 192.168.19.24/29 which means the NID is 29 bits and HID is 3 bits.
So the subnet mask becomes 255.255.255.248.
Given that the router has the first available host address (i.e, SubnetID), which is given by:
(192.168.19.24) AND (255.255.255.248) = 192.168.19.24, which is the IP address of the router.
We know that 192.168.19.24 = 192.168.19.00011000.
Here the NID part is 192.168.19.00011 (29 bits) and host id part is remaining 3 bits.
In order to get the broadcast address (address of the server), set all host id bits to 1. Then it becomes 192.168.19.00011111.
i.e, 192.168.19.31 which is the IP address of the server.
Bijit Sarkar said:
10 years ago
I think it the range coming in 192.168.19.24 to 192.168.19.32.
So the 1st host coming is 192.168.19.25.
Please check it.
So the 1st host coming is 192.168.19.25.
Please check it.
Vikas said:
9 years ago
I got this as the answer 192.168.19.23.
Anonymous said:
9 years ago
The first host address should be:
Address: 192.168.19.25.
Subnet: 255.255.255.248.
Address: 192.168.19.25.
Subnet: 255.255.255.248.
Thant Toe Aung said:
2 years ago
C is the correct answer because the first available host 192.168.19.15 has been assigned to the router and 2nd available host 192.168.19.26 can be assigned to server.
So, the correct answer is C 192.168.19.26 255.255.255.248.
So, the correct answer is C 192.168.19.26 255.255.255.248.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers