1,901 views
1 votes
1 votes
A host in a subnet has the IP address 130.83.126.10. How  many hosts can be addressed in network?

Here subnet mask is not given .

please explain brieflly.

2 Answers

2 votes
2 votes
Whenever the subnet mask is not given, take it according to the class. As here the address belongs to class B so consider the subnet mask as 255.255.0.0

Therefore the answer should be (2^16) - 2. We are deducting 2 as one is used for Net ID and one for DBA.
1 votes
1 votes

The IP address 130.83.126.10 falls in Class B. In class B, 16 bits are of Network ID and other 16 bits are of Host ID.

1 0 [This 2 bits are fixed)                                                 
                   Network ID (16 bits)               Host ID (16 bits)

 

As first 2 bits are fixed we are left only with 14 bits in NID. Therefore, Number of networks through Class B = 2^14 = 2^4 * 2^10 = 16K

Similarly, about Host ID, 2^16. But as two IP's from each class are allotted for Direct Broadcasting (here, 130.83.255.255) and one for Network ID (here, 130.83.0.0).

Hence, 2^16 - 2.

Related questions

0 votes
0 votes
0 answers
1
thej911 asked Jun 17, 2023
403 views
If block contains 32 IP address which of the following is the first address of the block ?a. 10.0.0.16b. 10.0.0.32c. 10.0.0.160d. None of the above
0 votes
0 votes
1 answer
2
Hirak asked May 30, 2019
3,058 views
Which of the following is a public IP?10.15.14.12192.168.52.62173.32.1.1None
2 votes
2 votes
0 answers
3
Sambhrant Maurya asked Sep 16, 2018
742 views
A host in a subnet has the IP address 130.83.126.10. How many hosts can be addressed in the network?
1 votes
1 votes
1 answer
4