Networking Forums

Networking Forums > Computer Networking > Windows Networking > 192.168.10.0/24 - why /24 ? instead of 192.168.10/# notation query

Reply
Thread Tools Display Modes

192.168.10.0/24 - why /24 ? instead of 192.168.10/# notation query

 
 
Scott
Guest
Posts: n/a

 
      10-15-2008, 12:02 PM
Please note the query below is about a LABEL in an ALPHANUMERIC field which
could contain anything but its the example of a notation i dont understand.

1Im looking at a hardware firewall to understand the layout of the rules.
One of the destinations shows the address "name" field as: 192.168.10.0/24

("name" field is alpha numeric and is just a label).

When i EDIT the NAME that hold the rule for the address, the actual numeric
address is displayed as: 192.168.10.0/255.255.255.0

I understand subnet 255.255.255.0 allows 256 IPs.

So what im trying to get my head around is why "name" the destination
192.168.10.0/24 as when i actaully edit the addrees its actually
192.168.10.0/255.255.255.0.

I understand this means allowing packet traffic incoming to 192.168.10.#.

But why name it "192.168.10.0/24" ?

Why not name it "192.168.10.#"

I see this with several ISPs i use, they tend to add "IP/ number". Dont
understand the /number notation means. Can someone explain ?

Thank you.


 
Reply With Quote
 
 
 
 
Chris M
Guest
Posts: n/a

 
      10-15-2008, 01:32 PM
Scott wrote:
> <SNIP>
> But why name it "192.168.10.0/24" ?
>
> Why not name it "192.168.10.#"
>
> I see this with several ISPs i use, they tend to add "IP/ number". Dont
> understand the /number notation means. Can someone explain ?


The /24 is the number of 'on' bits in the subnet mask.

255.255.255.0, represented as octets in binary is:

11111111.11111111.11111111.00000000

Count the 1's :-)

--
Chris.

 
Reply With Quote
 
JohnB
Guest
Posts: n/a

 
      10-15-2008, 07:19 PM
It's called Slash Notation. And as Chris M said, it represents the number
of bits in the subnet mask.

Here's a link with further info:
http://www.rm.com/Support/TechnicalA...cref=TEC543024


"Scott" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Please note the query below is about a LABEL in an ALPHANUMERIC field
> which could contain anything but its the example of a notation i dont
> understand.
>
> 1Im looking at a hardware firewall to understand the layout of the rules.
> One of the destinations shows the address "name" field as: 192.168.10.0/24
>
> ("name" field is alpha numeric and is just a label).
>
> When i EDIT the NAME that hold the rule for the address, the actual
> numeric address is displayed as: 192.168.10.0/255.255.255.0
>
> I understand subnet 255.255.255.0 allows 256 IPs.
>
> So what im trying to get my head around is why "name" the destination
> 192.168.10.0/24 as when i actaully edit the addrees its actually
> 192.168.10.0/255.255.255.0.
>
> I understand this means allowing packet traffic incoming to 192.168.10.#.
>
> But why name it "192.168.10.0/24" ?
>
> Why not name it "192.168.10.#"
>
> I see this with several ISPs i use, they tend to add "IP/ number". Dont
> understand the /number notation means. Can someone explain ?
>
> Thank you.
>



 
Reply With Quote
 
Scott
Guest
Posts: n/a

 
      10-16-2008, 01:30 PM
> The /24 is the number of 'on' bits in the subnet mask.
>
> 255.255.255.0, represented as octets in binary is:
>
> 11111111.11111111.11111111.00000000
>
> Count the 1's :-)



Understood, simple now you mentiond it. So:

192.168.10.0 / 24

simply means:

192.168.10.# / on subnet 255.255.255.0 / meaning 256 IP available on the
subnet.

Its just another way to display 255.255.255.0 without writing it !

Thanks for the explaination guys :-)


 
Reply With Quote
 
Scott
Guest
Posts: n/a

 
      10-16-2008, 04:27 PM
thanks for the link too John.


 
Reply With Quote
 
Chris M
Guest
Posts: n/a

 
      10-17-2008, 01:12 PM
Scott wrote:
>> The /24 is the number of 'on' bits in the subnet mask.
>>
>> 255.255.255.0, represented as octets in binary is:
>>
>> 11111111.11111111.11111111.00000000
>>
>> Count the 1's :-)

>
>
> Understood, simple now you mentiond it. So:
>
> 192.168.10.0 / 24
>
> simply means:
>
> 192.168.10.# / on subnet 255.255.255.0 / meaning 256 IP available on the
> subnet.
>
> Its just another way to display 255.255.255.0 without writing it !
>
> Thanks for the explaination guys :-)


No probs. While we're talking about it, remember that there won't be 256
usable addresses:

192.168.10.0 is the network ID

192.168.10.255 is the subnet broadcast address

--
Chris.

 
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
Subnet Mask, Decimal, Slash Notation. Robert Bollinger Windows Networking 3 10-07-2007 02:05 AM
x.x.x.x/N notation question Bit Twister Linux Networking 7 12-21-2005 11:33 PM
IP range notation Colin Wilson Broadband 17 01-26-2005 12:56 PM
IP Address Notation Frank A. Uepping Linux Networking 1 11-04-2003 12:30 PM
Help with CIDR notation Siddharth Mathur Linux Networking 2 09-08-2003 04:10 PM



1 2 3 4 5 6 7 8 9 10 11