Is the maximum number of hosts id's on a class B IPv4 Network....

masked1

Senior member
Nov 4, 2003
232
0
0
...65,534 Hosts?

Can anyone confirm this? Tried looking on the web, but no luck :(

Thanks ;)
 

Garion

Platinum Member
Apr 23, 2001
2,330
6
81
Originally posted by: masked1
...65,534 Hosts?

Can anyone confirm this? Tried looking on the web, but no luck :(

Thanks ;)

It totally depends on the subnet mask. If you're talking about a 255.255.0.0 (/16 CIDR), you get (255*255)-1 hosts - 65024. If you're using 255.255.255.0 (/24 CIDR) masks and individual subnets, you get 254*255=
64,770.


- G
 

SpunkyJones

Diamond Member
Apr 1, 2004
5,090
1
81
For a simple class B network, which has a default mask of 255.255.0.0, would have 16 bits for hosts, so 2^16=65536. You minus the invalid hosts, the network and broadcast address, and your left with 65534 valid hosts.
 

Garion

Platinum Member
Apr 23, 2001
2,330
6
81
I made a mistake in my math - I forgot that in a class B, all the ".0" IP's are valid as addresses (except the first one). 2^16th-2 is indeed the correct answer.

- G