Link to home
Start Free TrialLog in
Avatar of ittechlab
ittechlabFlag for Canada

asked on

IP addressing

Can someone explain the justification for the following answer

IP address : 150.18.0.0.
Subnet mask : 255.255.0.0

Number of hosts = 2^n - 2 = 2^16-2 = 65534. I got this part.

Number of network = 16384. I am not quit sure how did they got this part!
ASKER CERTIFIED SOLUTION
Avatar of MichaelPro
MichaelPro

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ittechlab

ASKER

How do they using 14 bits for the network instead of first 16bits.  My understanding is class B hold 255.255.0.0 which is first 16 bit for the network.
yes , its a class B network and 2 unused IP's are set aide for broadcast. Whats wrong with it
Read the Theory good good before making questions.

Makana
CCNA-4
Avatar of grsteed
grsteed

I don't see where you (or they) are getting 14 bits for the network. 255.255.0.0 = 16 network bits.
thats
11111111+11111111+00000000+00000000
=16
So? where the problem is for you?
Thanks I got it now.
The first two  bit is reserved in class B. So there is only 14 bits. That is what i was asking.
Correction: 2 IPs are set aside, one for Network ID and another for Broadcast Address.
In a classful world, the first 2 bits could be used to determine the class,

01 = A
10 = B
11 = C

These days it's pretty much classless everywhere (in more ways than one)  so it doesn't really matter.

Cheers,

Gary
Avatar of The--Captain
>Number of hosts = 2^n - 2 = 2^16-2 = 65534. I got this part.

>Number of network = 16384. I am not quit sure how did they got this part!

Looks like your networks are approx 25% of your hosts - to me this would possibly mean that it is assumed that the smallest network consists of four address (network, broadcast, and two host addresses).  So, divide your hosts by four and you get the number of maximum possible "networks".

Cheers,
-Jon
http://jodies.de/ipcalc tells all you want to know about your IP address...
Thanks nirma242. It is pretty good website.