IP Address – Rules to Combine Two Networks for Supernetting (CIDR)

ipip address

I know how it is done, but my professor is unable to explain me the core concept(bits and bytes).

For example, He said 200.1.0.0/24 and 200.1.1.0/24 can be combined to form a network with 500 IP addresses but 200.1.1.0/24 and 200.1.2.0/24 cannot!?

I am unable to understand his logic of some adjacent network and delta value (which is 2 here).

Can anyone explain ? Thanks in advance!!

Best Answer

The dotted decimal (x.x.x.x) notation is tripping you up. IP addresses are 32 bit binary numbers. The dotted decimal notation is only to make the numbers easier to read by humans. If you convert the addresses into binary, you'll see that your first example falls on a bit boundary, but your second example does not.