Results 1 to 6 of 6

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

  1. #1
    Scott Guest

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

    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.



  2. #2
    Chris M Guest

    Re: 192.168.10.0/24 - why /24 ? instead of 192.168.10/# notationquery

    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.


  3. #3
    JohnB Guest

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

    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" <nospam2211@yahoo.co.uk> wrote in message
    news:%236m6V3rLJHA.2760@TK2MSFTNGP06.phx.gbl...
    > 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.
    >




  4. #4
    Scott Guest

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

    > 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 :-)



  5. #5
    Scott Guest

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

    thanks for the link too John.



  6. #6
    Chris M Guest

    Re: 192.168.10.0/24 - why /24 ? instead of 192.168.10/# notationquery

    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.


Similar Threads

  1. How to setup a JavaScript Object Notation variable?
    By hatred in forum Software Development
    Replies: 4
    Last Post: 04-02-2010, 02:25 AM
  2. Want to make query dependent on another query.
    By MACE in forum Software Development
    Replies: 4
    Last Post: 01-02-2010, 05:22 PM
  3. MySQL query in a query
    By Rail racer in forum Software Development
    Replies: 3
    Last Post: 21-07-2009, 07:06 PM
  4. Turn on MySQL query cache to speed up query performance
    By DMA2Superman in forum Software Development
    Replies: 3
    Last Post: 07-07-2009, 10:26 AM
  5. Convert Integer to a String in Binary Notation
    By Naval in forum Software Development
    Replies: 2
    Last Post: 16-03-2009, 09:12 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,391,203.56140 seconds with 16 queries