Idle talk IPv6 address

Source: Internet
Author: User

Labels: IPv6 address: ipv6 local link address, IPv4 address

A huge IPv6 address space ensures that all cats and dogs have unique addresses.

The primary motivation of IPv6 is to meet the needs of the world's unique address. The number of IPv6 addresses is four times the number of IPv4 addresses. One is 32 bits and the other is 128 bits. IPv6 provides a unique address for each network device on the planet. IPv6 addresses are globally unique and make global accessibility and end-to-end security of network devices possible. This feature is critical to some applications and services. In addition, the flexibility of IPv6 address space reduces the need for private addresses and Nat. Therefore, IPv6 makes new application protocols unnecessary.Edge RouterFor special processing. The edge router is where Nat is implemented.

 

IPv6Address format

The IPv6 address uses a series of 16-bit hexadecimal fields separated by colons in the format of X: X. The following is an example of two IPv6 addresses:

2001: db8: 7654: 3210: fedc: ba98: 7654: 3210

2001: db8: 0: 0: 8: 800: 200C: running

It is common to include a zero consecutive hexadecimal field in an IPv6 address. To make the IPv6 address look less disturbing, two colons (: :) can be used to compress the hexadecimal fields that are continuously zero at the beginning and end of an IPv6 address. The two colons can be used as part of the IPv6 address variable when the continuous hexadecimal field is expressed as zero. You can configure multiple IPv6 addresses on each port,Only one local link is allowed.. Note: The two colons (: :) can only be used once in an IPv6 address, and represent the longest continuous zero hexadecimal field. The hexadecimal letters of IPv6 addresses are case-insensitive.

IPv6Address type

Preferred format

Compression format

Unicast

2001: 0: 0: 0: db8: 800: 200C: running

2001: db8: 800: 200C: running

Multicast

Ff01:0: 0: 0: 0: 0: 101

Ff01:: 101

Local Loop

0: 0: 0: 0: 0: 0: 0: 1

: 1

Undetermined

0: 0: 0: 0: 0: 0: 0: 0

::

The local loop address is used to send an IPv6 packet to a node and 127.0.0.0 to the IPv4 local loop address.Function is equivalent. Do not forget yourself at any time. If the IPv6 address is not specified, the IPv6 address is missing. For example, a newly initialized node of an IPv6 network can use an uncertain address as the source address to send data packets until it receives the IPv6 address,Similar to IPv4 broadcast addresses.

An IPv6 address prefix in the formatIPv6 prefix/prefix lengthTo indicate the whole address space. 2001: db8: 8086: 6502:/32, the subnet mask of IPv.

 

IPv6Address type: unicast

 An IPv6 unicast address is the identifier of a single node interface. When a packet is sent to a unicast address, it is sent to the port identified by that address. There are four types of IPv6 unicast addresses:

1.Aggregate global addresses

An aggregated global address is an IPv6 address with an aggregated global unicast prefix. Aggregated global unicast addresses use a strict combination of Route prefixes to limit the number of routes in the global route table. The aggregated global address is used for the connection that is aggregated to the ISP through the Organization.

Aggregates Global IPv6 addresses throughGlobal route prefix, subnet ID and interface (host part) IDDefinition. Except for addresses starting with 000, all global unicast addresses have64-bit Interface ID. IPv6 global unicast address allocation uses addresses starting with 001(2000:/3)

Addresses with prefix 2000:/3 (001) and e000:/3 (111) must have a 64-bit interface identifier in the extended universal identifier (EUI)-64 format. Iana assigns an IPv6 address to the registry in the range of 2000:/16.

Aggregate global addresses generally include48Bit global route prefix and 16-bit subnet IDOr station-level aggregation (SLA ). In the IPv6 aggregated global unicast address format file (RFC 2374), the global route prefix includes two other hierarchical fields called top-level aggregators (tla) and secondary aggregators (NLA ). Because these two items are out of date, they are no longer repeated.

16The subnet field of a bit is called the subnet ID.Allows individual organizations to create their own local address levels and identify subnets. The subnet ID is similar to the subnet ID in IPv4. In addition to an IPv6 subnet ID, an organization can support up to 65535 subnets.

Interface ID used to identify the port in the Link. The port must be unique relative to the link. In many cases, the interface ID may be the same as or based on an interface link layer address. The interface IDs of the aggregated global unicast addresses and other IPv6 address types must be 64-bit.

IEEE EUI-64 address represents a new standard for network interface addressing. The company ID is still 24-bit long, but the extended ID is 40-bit, creating a larger address space for the network adapter manufacturer. The EUI-64 address uses U/L and I/g bits in the same way as the IEEE 802 address.

An Interface ID is built in one of the following ways in the modified EUI-64 format:

1. In all IEEE 802 interface types (such as Internet and FDDI interfaces ),The first three bytes (24 bits) use the Oui part in the MAC address, the fourth and fifth bits use a fixed value of fffe, and the last three bytes use the second half of the MAC address.SetU/LThe bit value (the first byte, the seventh bit) is 0 or 1.0, which indicates the local management identifier, and 1 indicates the globally unique IPv6 interface identifier.

2. For other interface types (such as serial port, local loop, ATM, frame relay, and tunnel interface types-except for IPv6 overlay tunnel), the interface ID is the same as that of IEEE 802.

3. Tunnel interface type. The interface ID uses the IPv4 address of the tunnel interface, and all the 32-bit high values are 0.

If the non-IEEE interface type is used in a vro, the production sequence of the Local Link IPv6 address in the vro interface is as follows:

1. Router consultationMAC address.

2. If no MAC address is available in the vro,Vro serial numberUsed to form a local link address.

3. If the vro serial number cannot be used to form a local link address, the vro uses message digest algorithm 5 (MD5) to determine the vromac MAC address through the vro host name.

2.Local link address

The local link address is an IPv6 unicast address, which can be prefixed by the Local LinkFe80:/10 and EUI-64 formatThe interface identifier is automatically configured on any port. The local link address is used inAutomatically configure the Neighbor Discovery protocol and statelessProcess. Nodes on a local link can communicate with each other using the local link address. It looks like IPV private IP.

3. IPv4IPv6 address compatibility

An IPv6 address compatible with IPv4 is an IPv6 unicast address,The 96-bit high is 0, and the 32-bit low is an IPv4 address.. The IPv6 address format compatible with IPv4 addresses is a. B .c.d.

4.Unique local address

The unique local address is an IPv6 unicast address, which is globally unique and used for local communication. You cannot route over a WAN, but only in one restricted area.

 


This article is from the "www.lemoway.com" blog, please be sure to keep this source http://yuwenyong.blog.51cto.com/8059630/1436679

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.