IPv6



         


Internet protocol suite
Application layer HTTP, SMTP, FTP, SSH, IRC, SNMP ...
Transport layer TCP, UDP, SCTP, RTP, ...
Network layer IP, IPv6, ARP, IPX ...
Data link layer Ethernet, 802.11 WiFi, Token ring, FDDI, ...

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 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 formally adopted for general use, and is forming the basis for future expansion of the Internet.

[Top]

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.

[Top]

Notation for IPv6 addresses

IPv6 addresses are 128 bits long but are normally written as eight groups of 4 hexadecimal digits each. For example,

2001:0db8:85a3:08d3:1319:8a2e:0370:7344

is a valid IPv6 address.

If a 4 digit group is 0000, it may be omitted. For example,

2001:0db8:85a3:0000:1319:8a2e:0370:7344

is the same IPv6 address as

2001:0db8: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 two or more consecutive colons. Thus

2001:0DB8:0000:0000:0000:0000:1428:57ab 2001:0DB8:0000:0000:0000::1428:57ab 2001:0DB8:0:0:0:0:1428:57ab 2001:0DB8:0::0:1428:57ab 2001:0DB8::1428:57ab

are all valid and mean the same thing, but

2001::25de::cade

is invalid. (As it is ambiguous how many 0000 groups should be on each side.)

Also leading zeros in all groups can be omitted, thus

2001:0DB8:02de::0e13

is the same thing as

2001:DB8: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-compatible address.

IPv4 addresses are easily convertible to IPv6 format. For instance, if the decimal IPv4 address was 135.75.43.52 (in hexadecimal, 0x874B2B34), it could be converted to 0000:0000:0000:0000:0000:0000:874B:2B34 or ::874B:2B34. Then again, one could use the hybrid notation (

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.

[Top]

IPv6 deployment

Disadvantages:

To do:

[Top]

Major IPv6 announcements





  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License