The 172.16.0.1 - 172.16.0.255 is a Class B IP range.  

The range that you are specifying is still in the Class B subnet range,
but it is similar to a Class C because you are getting 254 effective IP
addresses like you would if you had a Class C range.  Hence the
255.255.255.0 or /24 to which Nate is referring.

Here are the "standard" subnet masks for IP ranges:

Class A - 255.0.0.0
Class B - 255.255.0.0
Class C - 255.255.255.0

The above masks actually do not subnet the IP range.  If you use the
"standard" masks, then you would actually not be subnetting and, for
example, 24.0.0.0-24.255.255.255 would be your full Class A IP range
(minus your network and broadcast IP's).

Even though a 255.255.255.0 or /24 subnet mask is usually associated
with a Class C IP range, one can still have such a mask with a Class A
and Class B IP ranges.  You are sub-dividing a full Class A or Class B
network into subsections or subnets.  That's why they call it a 'subnet'
mask. :)

I hope this helps.

Andy.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, November 17, 2002 9:26 AM
To: [EMAIL PROTECTED]
Subject: Re: Subnet-mask of IP address


Doug Potter wrote:

> Actually that is a class B address.
>
> The first octet of a class A is 1-126 (127 reserved for loop back)
>                      class B is 128-191
>                      class C is 192-223
>
> since 172 is between the ranges of 128-191 that would make it class B
>
> Class B subnet 255.255.0.0 or /16

Right ?

But you see the message come from "Nate"

> On Sun, 2002-11-17 at 04:26, [EMAIL PROTECTED] wrote:
> > nate wrote:
> >
> > > > Hello,
> > > >
> > > > What is the subnet-mask of IP "172.16.0.1" - "172.16.0.253" ?
> > > > How to calculate ?
> > >
> > > that would be a class C - /24 or 255.255.255.0

So, I want to know is it Class B subnet or Class C subnet ?

Who can help me about IP address range and Subnet mask ?
eg :

Class A IP range 10.x.x.x
Class B IP range 172.16.x.x-172.31.x.x
Calss C IP range 192.168.x.x

What is the subnet-mask about Class A, Class B ans Class C ?

Thank for your help !

Edward.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to