LOL. You're right about that! You wouldn't believe the number of IT managers I speak to who can't work out subnet masks and don't know what /28 or /29 means!! This is not all of them by any means but I've spoken to a few.
Strictly speaking the mask doesn't determine the class. Before the use of CIDR all subnet were either /8, /16 or /24 for class A, B or C networks (ignoring the others!!). However people assume that the subnet mask determines the class, when it was in fact the value of the first octet.
For example, the RFC's stated that for a class A network, the first bit of the first byte will always be 0. So, a class A address will always have the first octet between 0 and 127, although we all know that 0 isn't used and 127 is a loopback address. So, in theory you have,
00000000 = 0
01111111 = 127
A class B always has the first two bits of the first octet as 10, giving
10000000 = 128
10111111 = 191
A class C starts with 110, giving
11000000 = 192
11011111 = 223
So, a 10.0.0.0 /16 isn't really a class B network, but a subnetted class A network.
However, having said all of that johnnny99 is spot on when he says that we don't really work with classes anymore as most ranges are "classless". When a customer comes to us with a request for an internet connection they have to fill out a RIPE application form to justify the number of IP's they require. This will normally be /30, /29, /28 or /27. Under normal circumstances these ranges will provide enough IP's for what they require which is normally one for the router, one for the firewall or proxy and then mail servers, web servers etc.. What we do get though is the odd customer that has less that one hundred clients, one firewall and a mail server and still applies for a /26 or something stupid like that.
Anyway, great links johnny99!!
Chris.
************************
Chris Andrew, CCNA
chrisac@gmx.co.uk
************************