IPv6
| Application layer | FTP | SMTP | HTTP | IRC | ... |
| Transport layer | TCP | UDP | SCTP | ICMP | ... |
| Network layer | IP | IPv6 | ARP | DHCP | ... |
| Data link layer | Ethernet | Token ring | FDDI | 802.11 WiFi | ... |
IPv6 is version 6 of the Internet Protocol. IPv6 is intended to replace the previous standard, IPv4, which only supports up to about 4 billion (4 × 109) addresses, whereas IPv6 supports up to about 3.4 × 1038 addresses. This is the equivalent of 4.3 × 1020 (430,000,000,000,000,000,000) unique addresses per square inch of the Earth's surface. On 20 July 2004 ICANN announced[1] (http://icann.org/announcements/announcement-20jul04.htm) that the root DNS servers for the internet had been modified to support both IPv6 and IPv4. It is expected that IPv4 will be supported until about 2025, to allow time for bugs and system errors to be corrected.
The compelling reason behind the formation of IPv6 was lack of address space, especially in the heavily populated countries of Asia such as India and China. See the article IPv4 address exhaustion for more on this topic.
IPv6 is the second version of the Internet Protocol to be widely deployed, and is forming the basis for future expansion of the Internet.
| Table of contents |
IPv6 addressing
The most dramatic change from IPv4 to IPv6 is the length of network addresses. IPv6 addresses, as defined by RFC 2373 and RFC 2374, are 128 bits long; this corresponds to 32 hexadecimal digits, which are normally used when writing IPv6 addresses, as described in the following section.
The number of possible addresses in IPv6 is 2128 ≈ 3.4 x 1038. The number of IPv6 addresses can also be thought of as 1632 as each of the 32 hexadecimal digits can take 16 values (see combinatorics).
In some situations, IPv6 addresses are composed of two logical parts: a 64-bit network prefix, and a 64-bit host-addressing part, which is often automatically generated from the interface MAC address.
Notation for IPv6 addresses
IPv6 addresses are 128 bits long but are normally written as eight groups of 4 hexadecimal digits each. For example,
3ffe:6a88:85a3:08d3:1319:8a2e:0370:7344
is a valid IPv6 address.
If a 4 digit group is 0000, it may be omitted. For example,
3ffe:6a88:85a3:0000:1319:8a2e:0370:7344
is the same IPv6 address as
3ffe:6a88:85a3::1319:8a2e:0370:7344
Following this rule, if more than two consecutive colons result from this omission, they may be reduced to two colons, as long as there is only one group of more than two consecutive colons. Thus
2001:2353:0000:0000:0000:0000:1428:57ab 2001:2353:0000:0000:0000::1428:57ab
2001:2353:0:0:0:0:1428:57ab 2001:2353:0::0:1428:57ab
2001:2353::1428:57ab
are all valid and mean the same thing, but
2001::25de::cade
is invalid.
Also leading zeros in all groups can be omitted, thus
2001:2353:02de::0e13
is the same thing as
2001:2353:2de::e13
If the address is an IPv4 address in disguise, the last 32 bits may be written in decimal; thus
::ffff:192.168.89.9 is the same as ::ffff:c0a8:5909, but not the same as ::192.168.89.9 or ::c0a8:5909.
The ::ffff:1.2.3.4 format is called an IPv4-mapped address, and is deprecated. The ::1.2.3.4 format is an IPv4-compatible address.
IPv4 addresses are easily convertible to IPv6 format. For instance, if the IPv4 address was 135.75.43.52, it could be converted to 0000:0000:0000:0000:0000:0000:874B:2B34 or ::874B:2B34. Then again, one could use the hybrid notation (IPv4-compatible address), in which case the address would be ::135.75.43.52 .
IPv6 packet
The IPv6 packet is composed of two main parts; the header, and the payload.
The header is composed of the first 40 bytes of the packet and contains both source and destination addresses (128 bits each), as well as the version (4 bit IP version), traffic class (8 bit, Packet Priority), flow label (20 bits, QoS management), payload length (16 bit), next header (for backwards compatibility), and hop limit (8 bits, time to live). Next comes the payload, which must be at least 1280 bytes long, or 1500 bytes long in an environment with a flexible MTU size. The payload can go up to 65,535 in standard mode, or can be set to a "jumbo payload" option.
IPv6 deployment
Disadvantages:
- the need for roll-out of pervasive support for IPv6 throughout the Internet and its connected devices
- to be reachable from the IPv4 universe during the transition phase, you still need an IPv4-address or some kind of NAT (=shared IP-address) in the gateway routers (IPv6<-->IPv4) which adds complexity there and means the large address space promised by the specification can't be immediately used effectively.
- remaining architectural problems, such as the lack of agreement for proper support for IPv6 multihoming.
To do:
- 6to4
- 6bone
- ICMPv6
- IPv6 multihoming
Major IPv6 announcements
- In 2003, Nihon Keizai Shimbun (as cited in CNET Asia Staff, 2003) reported that Japan, China, and South Korea claimed to have made themselves determined to become the leading nations in internet technology, which would partially take the form of jointly developing IPv6, and completely adopting IPv6 starting in 2005.
- ICANN announced on 20 July 2004 that the IPv6 AAAA records for the Japan (.jp) and Korea (.kr) country code Top Level Domain (ccTLD) nameservers became visible in the DNS root server zone files with serial number 2004072000. It was expected that the IPv6 records for France (.fr) would be added soon. This made IPv6 operational in a public fashion.
Related IETF working groups
- 6bone (http://www.ietf.org/html.charters/OLD/6bone-charter.html) IPv6 Backbone
- ipng (http://www.ietf.org/html.charters/OLD/ipngwg-charter.html) IP Next Generation (concluded)
- ipv6 (http://www.ietf.org/html.charters/ipv6-charter.html) IP Version 6
- ipv6mib (http://www.ietf.org/html.charters/OLD/ipv6mib-charter.html) IPv6 MIB (concluded)
- multi6 (http://www.ietf.org/html.charters/multi6-charter.html) Site Multihoming in IPv6
- v6ops (http://www.ietf.org/html.charters/v6ops-charter.html) IPv6 Operations
External links
References
- CNET Asia Staff. (2003). Report: Japan, China, S. Korea developing next Net. Retrieved January 14, 2003. (http://news.com.com/2100-1032_3-5134110.html?tag=nefd_top)

