Quote:
Originally Posted by vector-crumb
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.