Understanding IPv6
An IPv6 address is much longer than IPv4 address. This is one reason to use the new protocol. The number of addresses is virtually infinite. Each machine (node in IPv6 terminology) connected to the network can use a global IPv6 address or addresses. No more complications NAT and port forwarding. Again all the machines can communicate directly.
An IPv6 address is represented by 128 bits (32 in IPv4) that is written in 8 suites with 4 hexadecimal characters (0-9, af) separated by colons:
2a01: 05d8: 52eb: be1d: F053: 2abf: ef7d: 6c89
The notation of IPv6 addresses
The notation has 39 characters. It can be simplified by removing the leading zeros and replacing a sequence of zero. The following addresses are all equivalent.
2001:0 db8: ab 0000:0000:0000:0000:1428:57
2001:0 db8: 0000:0000:0000:: 1428:57 ab
2001:0 db8: ab 0:0:0:0:1428:57
2001:0 db8: 0:0:: 1428:57 ab
2001:0 db8:: 1428:57 ab
2001: db8:: 1428:57 ab
Addresses 2001: db8:: / 32 as above are used for examples and are not routed.
URL notation
IPv6 addresses in URLs are written in [] that adds a port number if necessary.
http:// [2a01: 5d8: 52eb: be1d: F053: 2abf: ef7d: 6c89]: 81 /
Scoring Network
This is the CIDR format that is used in IPv6. It shows the number of bits that are identical in all places of the network. Example
2a01: 5d8: 52eb:: / 48 represents the network address range from which
2a01: 5d8: 52eb: 0:0:0:0:0 to
2a01: 5d8: 52eb: ffff: ffff: ffff: ffff: ffff
This is different from the concept of class used in IPv4. The goal is to simplify the routing tables.