Networking Forums

Networking Forums > Network Hardware > Home Networking > Technical question of networks

Reply
Thread Tools Display Modes

Technical question of networks

 
 
William4
Guest
Posts: n/a

 
      08-30-2006, 06:54 PM
- well for me anyway.

Given I understand basic 8 octlet network addressing and subnets; can
someone clarify the notation w.x.y.z/a for me. I've determined 'a' as a
subnet number (does /16 gives me the whole range w.x.y.??) but what is the
basis; is it always 0 OR a or is it in segments? I wonder if this notation
is older than describing subnets themselves or a modern equivalent. Taa.

 
Reply With Quote
 
 
 
 
Alex Fraser
Guest
Posts: n/a

 
      08-30-2006, 07:22 PM
"William4" <(E-Mail Removed)> wrote in message
news:n9lJg.129$(E-Mail Removed)...
>- well for me anyway.
>
> Given I understand basic 8 octlet network addressing and subnets; can
> someone clarify the notation w.x.y.z/a for me. I've determined 'a' as a
> subnet number (does /16 gives me the whole range w.x.y.??) but what is the
> basis; is it always 0 OR a or is it in segments?


Written in binary, a subnet mask is n ones followed by 32-n zeros.
Therefore, a subnet mask can be specified by simply stating n, the number of
ones. That is what the notation is: a concise way to describe a
(sub)network. For instance, 192.168.0.0/255.255.255.0 means the same as
192.168.0.0/24.

Alex


 
Reply With Quote
 
Dr Zoidberg
Guest
Posts: n/a

 
      08-30-2006, 08:47 PM
Alex Fraser wrote:
> "William4" <(E-Mail Removed)> wrote in message
> news:n9lJg.129$(E-Mail Removed)...
>> - well for me anyway.
>>
>> Given I understand basic 8 octlet network addressing and subnets; can
>> someone clarify the notation w.x.y.z/a for me. I've determined 'a'
>> as a subnet number (does /16 gives me the whole range w.x.y.??) but
>> what is the basis; is it always 0 OR a or is it in segments?

>
> Written in binary, a subnet mask is n ones followed by 32-n zeros.
> Therefore, a subnet mask can be specified by simply stating n, the
> number of ones. That is what the notation is: a concise way to
> describe a (sub)network. For instance, 192.168.0.0/255.255.255.0
> means the same as 192.168.0.0/24.
>

Yes.
The common subnet masks are
24 bit - class c - 255 available addresses
16 bit - class b - 65 thousand odd addresses
8 bit - class a - 16 million odd addresses per network

--
Alex

Piece by piece the penguins have taken my sanity
www.drzoidberg.co.uk www.ebayfaq.co.uk


 
Reply With Quote
 
William4
Guest
Posts: n/a

 
      08-30-2006, 08:58 PM

"Alex Fraser" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "William4" <(E-Mail Removed)> wrote in message
> news:n9lJg.129$(E-Mail Removed)...
>>- well for me anyway.
>>
>> Given I understand basic 8 octlet network addressing and subnets; can
>> someone clarify the notation w.x.y.z/a for me. I've determined 'a' as a
>> subnet number (does /16 gives me the whole range w.x.y.??) but what is
>> the
>> basis; is it always 0 OR a or is it in segments?

>
> Written in binary, a subnet mask is n ones followed by 32-n zeros.
> Therefore, a subnet mask can be specified by simply stating n, the number
> of ones. That is what the notation is: a concise way to describe a
> (sub)network. For instance, 192.168.0.0/255.255.255.0 means the same as
> 192.168.0.0/24.
>
> Alex

Thanks, I think I was working this backwards (from the lsb). So anything/0
is the whole caboodle and anything/31 is just two address then? - will they
always be .0 & .1 or can you have w.x.y.120/31 for .121 & .121 ?

 
Reply With Quote
 
Alex Fraser
Guest
Posts: n/a

 
      08-31-2006, 04:38 AM
"William4" <(E-Mail Removed)> wrote in message
news:IZmJg.919$(E-Mail Removed)...
> "Alex Fraser" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...

[snip]
>> That is what the notation is: a concise way to describe a (sub)network.
>> For instance, 192.168.0.0/255.255.255.0 means the same as 192.168.0.0/24.

>
> Thanks, I think I was working this backwards (from the lsb). So
> anything/0 is the whole caboodle and anything/31 is just two address then?
> - will they always be .0 & .1 or can you have w.x.y.120/31 for .121
> & .121 ?


A /30 is the smallest useful subnet you can have, but yes, you could have
w.x.y.120/30 for w.x.y.120-123. However, the address ANDed with the
complement of the subnet mask must be zero. So, for example, w.x.y.121/30 is
not valid (use a monospaced font):

mask = /30 (255.255.255.252) = 11111111 11111111 11111111 11111100
~mask = 00000000 00000000 00000000 00000011
address = w.x.y.121 = wwwwwwww xxxxxxxx yyyyyyyy 01111001
address & ~mask = 00000000 00000000 00000000 00000001

This is equivalent to saying that for /30, the last octet of the address
must be a multiple of four. For /29, it must be a multiple of eight, and so
on. For /24 down to /17, similar applies to the third octet and the last
octet must be zero, eg for /22, the third octet must be a multiple of four.
You can probably guess the rest .

Alex


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OT: Technical Question for Jeff Liebermann GreenXenon Wireless Internet 10 10-15-2011 07:21 AM
Virgin Media Technical Support - a Cautionary Tale, and a question Martin D. Pay Broadband 19 03-11-2007 08:51 AM
Technical Question out of Curiosity Andy Barron Broadband 2 06-02-2006 03:57 PM
Technical question about WLAN names Brant Sears Wireless Internet 3 03-04-2004 07:28 PM
question about connecting 2 networks wrybread Wireless Internet 3 10-07-2003 04:23 AM



1 2 3 4 5 6 7 8 9 10 11