networks

From Glee
Jump to: navigation, search

Private Networks

See Private network Wikipedia page.

IPv4

See RFC1918.

10.0.0.0        -   10.255.255.255  (10/8 prefix)
172.16.0.0      -   172.31.255.255  (172.16/12 prefix)
192.168.0.0     -   192.168.255.255 (192.168/16 prefix)

IPv6

See RFC4193.

Network : fc00::/7

+--------+-+------------+-----------+----------------------------+
| 7 bits |1|  40 bits   |  16 bits  |          64 bits           |
+--------+-+------------+-----------+----------------------------+
| Prefix |L| Global ID  | Subnet ID |        Interface ID        |
+--------+-+------------+-----------+----------------------------+

Where:

  • Prefix : fc00::/7 prefix to identify Local IPv6 unicast addresses.
  • L : Set to 1 if the prefix is locally assigned. Set to 0 may be defined in the future.
  • Global ID : 40-bit global identifier used to create a globally unique prefix.
  • Subnet ID : 16-bit Subnet ID is an identifier of a subnet within the site.
  • Interface ID : 64-bit Interface ID.

Effective network : fd00::/8 (the fd is fixed)

Example Global ID generation : Concatenate any current date string with the main domain name of the entity, get the sha1sum, then use the 40 least significant bits.

Example Subnet ID generation : Start at 0 (or 1 to make it more obvious), then increment.

Example Networks

IPv4

See RFC5737.

192.0.2.0/24    (TEST-NET-1)
198.51.100.0/24 (TEST-NET-2)
203.0.113.0/24  (TEST-NET-3)

IPv6

See RFC3849.

2001:db8::/32