# Differences

This shows you the differences between two versions of the page.

Both sides previous revision Previous revision | |||

cidr [2016/05/09 16:35] steve |
cidr [2016/05/09 16:36] (current) steve |
||
---|---|---|---|

Line 93: | Line 93: | ||

</code> | </code> | ||

- | The power of ''2'' is also evident when crossing the first 256 # of IP addresses. If starting at ''192.168.1.0'', and extending to ''512'', then you're only adding one set of ''256''s. So ''1.0'' would expand to ''2.0''. But what if you wanted to add more? The power of 2 applies, so you'd then have to jump by ''4'', next. ''192.168.1.0'' now goes to ''192.168.4.0''. The next one would be ''4'' times ''2'', so 8 is the next possible block. Going from ''192.168.1.0'' to ''192.168.8.0''. | + | The power of ''2'' is also evident when crossing the first 256 # of IP addresses. If starting at ''192.168.1.0'', and extending to ''512'', then you're only adding one set of ''256''s. So ''1.0'' would expand to ''2.0''. But what if you wanted to add more? The power of 2 applies, so you'd then have to jump by ''4'', next. ''192.168.1.0'' now goes to ''192.168.4.0''. The next one would be ''4'' times ''2'', so 8 is the next possible block. Going from ''192.168.1.0'' to ''192.168.8.0''. And so on, and so on: ''192.168.16.0'', ''192.168.32.0'', ''192.168.64.0'', ''192.168.128.0'', etc. |