CIDR question


noob here with a question on CIDR notation.

What is the difference between and

They cover the same IP ranges and subnets, but I'm curious of the difference of .0/24 and .1/24.

Many thanks in advance
6 answers Last reply
More about cidr question
  1. You're missing something. is not the same as is the network address and is not normally used or is reserved. is a private IP address. The /24 just tells you these two addresses come from the same class C address space.
  2. duplicate post
  3. duplicate post
  4. Although Hawkeye22 is right, technically, there is no difference in either of those IP addresses. The /24 says the first 24 bits must match but it doesn't care about the last 8. Whether it's /24, /24, /24 and so on.. as long as the /24 is there, it's essentially saying 192.168.1.anything. If it were a /32, then there would be a difference, and .0 wouldn't be an acceptable host (reserved for the network address).
  5. The difference is that those are the IP addresses of two different hosts on the same Network
  6. /24 can be represented many different ways and they all mean the same thing.

    As represented by a subnet mask /24 is:

    As represented by binary /24 is: 11111111.11111111.11111111.00000000. 4 octets of 8 bits each. The 1's represent network bits, there are 24 in total in a /24 network, with 8 host bits left. Only the host bits can change for this particular classful network of /24. Classful network are /8, /16 and /24. Classless network are everything in between from /1 to /32 excluding /8, /16 and /24.

    To address your question now. and are indeed in the same network, which I am sure you are aware of.

    Typically the first address of a network is the: network address = /24 - based from network range provided in question.
    And the last address is typically the: broadcast address = /24

    Also note that network addresses must be even numbers. Don't worry though, when you create subnets the first address can be nothing but an even number if you create the subnets correctly.

    So the difference is: is the network address is a host address (used to assign to any host IP interface)

    Regardless of it's relevance here is a great chart to refer to:
Ask a new question

Read More

IP Networking