Networking > Networking

Subnet masks


Stumbled accross this on another forum and thought I'd make a stab at answering it. Keep in mind that I'm no teacher, so what makes sense to me, may not help another. I've added a link below to additional help.

--- Quote from: artemis090 ---Ok, we have an IP address of which we know is a "B" class (

But the subnet mask given was

How did they get the .252??

Another example..... (Which is a "C" class,

Yet the subnet given is

How did they arrive at the .224?

Is this a matter of subnetting, or is this a CIDR issue.
--- End quote ---

Keep in mind that the subnet mask defines the network by defining, or segregating the network bits in an address from the host bits.

Class B subnet mask begins at 255.255 0.0. As you move down the heirarchy of subnets, the mask will further define lower level networks. The highest level Class B networks will use as a subnet mask. - Top level Class B Network = 11111111.11111111.00000000.00000000 - Second level subnet = 11111111.11111111.10000000.00000000 Third level subnet = 11111111.11111111.11000000.00000000 - Fourth level  subnet = 11111111.11111111.11100000.00000000 - Fifth level  subnet = 11111111.11111111.11110000.00000000 - Sixth level subnet = 11111111.11111111.11111000.00000000 - Seventh level subnet = 11111111.11111111.11111100.00000000 - Eighth level subnet = 11111111.11111111.11111110.00000000

These are all Class B subnet masks. - Top level Class C network = 11111111.11111111.11111111.00000000 - Second level subnet = 11111111.11111111.11111111.10000000

And so on for Class C.

Learn to Subnet

Nice post there. Subnetting can look quite daunting sometimes, I used a Warehouse metaphor when I came accross it, rather than look entirely at the numbers.

I think the original poster had it set in their mind that Class B subnets could only be and Class C could only be I'm not sure if I really clarified anything or not.

Yeah. Must admit that when I first read up on subnets, I did think that the address ranges were confined to that particular IP range. Not that I have dealt with Class B ranges though, but your seems clear to me.


[0] Message Index

Go to full version