View Single Post
Old 12-31-2012, 11:49 AM   #13
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by vector-crumb View Post
Ok, so just to be clear, which netmask are you suggesting?
Netmask == Those bits of the address which are all the same.

Netmask: and in bit notation:
255.000.000.000 /8
255.255.000.000 /16
255.255.255.000 /24
255.255.255.255 /32

Talking from 192.168.2.1 to 192.168.2.2 (for example) - the first three groups of 8 bits never change (the 192.168.2) -
so a 255.255.255.0 netmask would work.

Talking from 192.168.2.1 to 192.168.15.204 (for example) - only the first two groups of 8 bits never change (the 192.168) -
so a 255.255.0.0 netmask would work.

The above is the "old common usage" plus old and new syntax.

The new common usage allows for the division at any bit boundary, not just at boundaries of 8 bits (which is shown above).

Simple.
The real fun doesn't start until you start using 128 bit network addresses (IPv6) rather than the old 32 bit network addresses (IPv4).

GeekMaster is the only one here with enough Kindles to need IPv6 addressing in his workroom.

Last edited by knc1; 12-31-2012 at 11:55 AM.
knc1 is offline   Reply With Quote