In my cisco book, the /24 is described as indicating how many bits are used in the subnet mask. 24 bits == 255.255.255.0
--Matthew
-----Original Message-----
From: Anne Wilson [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 26, 2002 5:27 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] IP address
On Monday 26 Aug 2002 2:06 am, you wrote:
> On Sun, 2002-08-25 at 12:56, Miark wrote:
> > > In some previous posts I have noticed people refering to their IP
> > > address range as xxx.xxx.xxx.xxx/xx.
> > >
> > > Just curious as to what the /xx refers to. Is it some type of range?
> >
> > CIDR notation takes advantage of this numbering trick to represent the
> > whole submask by only counting how many bits represent machine numbers.
> > So 192.168.0.1/8 is 192.168.0.1/11111111.11111111.11111111.00000000
> > or 192.168.0.1/255.255.255.0.
>
> Almost correct. The number to the right of the slash (e.g., the "24" in
> something like "192.168.1.1/24") is the "prefix length" or number of
> bits in the network number and subnet mask.
>
> This means that "192.168.0.1/8" really identifies host address
> "192.168.0.1" from network "192" and subnet mask "255.0.0.0".
>
> Another example is "192.168.1.1/24". This specifies the network
> "192.168.1", the subnet mask "255.255.255.0" and the host address
> "192.168.1.1".
>
Now I'm really confused. In my reading for my lan I was told that /24 was
the correct entry for a class c network. My net is 192.168.0. with subnet
mask 255.255.255.0 - are you saying that /24 is wrong? If so, what should it
be?
Anne