417 views

2 Answers

0 votes
0 votes

The ip address can be divided into 3 parts  --netid + subnetid+hostid

--no of bits n of netid can be predicted according to the class used in addressing  in classful notation and it will be given in \n formate in classless notation.

 --Remaining 32-n bit is used for subnetting and Hostid.

---if no of subnetts is 2m and size of each sunet is k  then 

     -----to recognise each subnet,we should have unique id for each subnet.since there is 2subnet so, m bit will be needed for subnetting and rest will be used for hostid.

NOTE- we should use the leftmost bit of (32-n) bit for subnetting which will ensure serial  addresses to be serial but it is not always necessary bt practically this is the only way

Related questions

0 votes
0 votes
2 answers
1
1 votes
1 votes
2 answers
4
Anu asked Apr 28, 2015
3,439 views
How many seven digits number are there such thatDigits are distinct integers taken from {1, 2, ..., 9} andDigits 5 and 6 do not appear together (consecutively)