Describing IPv6 Addressing Architecture

This topic provides an introduction to the IPv6 frame format.

Ipv6 Architecture

The IP version 4 (IPv4) header contains 12 basic header fields, followed by an options field and a data portion (usually the transport layer segment). The basic IPv4 header has a fixed size of 20 octets. The variable-length options field increases the size of the total IP header. IPv6 contains 5 of the 12 IPv4 basic header fields. The IPv6 header does not require the other seven fields.

Routers handle fragmentation in IPv4, which causes a variety of processing issues. IPv6 routers no longer perform fragmentation. Instead, a discovery process is used to determine the optimum maximum transmission unit (MTU) to use during a given session.

In the discovery process, the source IPv6 device attempts to send a packet at the size that is specified by the upper IP layers, for example, the transport and application layers.

If the device receives an "ICMP packet too big" message, it retransmits the MTU discover packet with a smaller MTU and repeats the process until it gets a response that the discover packet arrived intact. Then it sets the MTU for the session.

The "ICMP packet too big" message contains the proper MTU size for the pathway. Each source device needs to track the MTU size for each session. Generally, the tracking is done by creating a cache that is based on the destination address; however, it can also be done by using the flow label. If source-based routing is performed, the tracking of the MTU size can be done by using the source address.

8-12 Building Scalable Cisco Internetworks (BSCI) v3.0 © 2006 Cisco Systems, Inc.

The discovery process is beneficial because, as routing pathways change, a new MTU might be more appropriate. When a device receives an "ICMP packet too big" message, it decreases its MTU size if the Internet Control Message Protocol (ICMP) message contains a recommended MTU that is less than the current MTU of the device.

A device performs an MTU discovery every 5 minutes to see whether the MTU has increased along the pathway. Application and transport layers for IPv6 accept MTU reduction notifications from the IPv6 layer.

If they do not accept the notifications, IPv6 has a mechanism to fragment packets that are too large; however, upper layers are encouraged to avoid sending messages that require fragmentation.

Link-layer technologies already perform checksum and error control. Because link-layer technologies are relatively reliable, an IP header checksum is considered to be redundant. Without the IP header checksum, the upper-layer optional checksums, such as User Datagram Protocol (UDP), are now mandatory.

© 2006 Cisco Systems, Inc. Implementing IPv6 8-13

IPv4 Header

IPv6 Header

Source Address Destination Address

Source Address

Source Address Destination Address

I I - Field name kept from IPv4 to IPv6

- Fields not kept in IPv6

- Name and position changed in IPv6 ■ - New field in IPv6

Source Address

I I - Field name kept from IPv4 to IPv6

- Fields not kept in IPv6

- Name and position changed in IPv6 ■ - New field in IPv6

Destination Address

The IPv6 header has 40 octets in contrast to the 20 octets in IPv4. IPv6 has a smaller number of fields, and the header is 64-bit aligned to enable fast processing by current processors. Address fields are four times larger than in IPv4.

The IPv6 header contains these fields:

■ Version: A 4-bit field, the same as in IPv4. It contains the number 6 instead of the number 4 for IPv4.

■ Traffic Class: An 8-bit field similar to the type of service (ToS) field in IPv4. It tags the packet with a traffic class that it uses in differentiated services (DiffServ). These functionalities are the same for IPv6 and IPv4.

■ Flow Label: A completely new 20-bit field. It tags a flow for the IP packets. It can be used for multilayer switching techniques and faster packet-switching performance.

■ Payload Length: Similar to the Total Length field of IPv4.

■ Next Header: The value of this field determines the type of information that follows the basic IPv6 header. It can be a transport-layer packet, such as TCP or UDP, or it can be an extension header. The next header field is similar to the Protocol field of IPv4.

■ Hop Limit: This field specifies the maximum number of hops that an IP packet can traverse. Each hop or router decreases this field by one (similar to the Time to Live [TTL] field in IPv4). Because there is no checksum in the IPv6 header, the router can decrease the field without recomputing the checksum. On IPv4 routers the recomputation costs processing time.

■ Source Address: This field has 16 octets or 128 bits. It identifies the source of the packet.

■ Destination Address: This field has 16 octets or 128 bits. It identifies the destination of the

■ Extension Headers: The extension headers, if any, and the data portion of the packet follow the eight fields. The number of extension headers is not fixed, so the total length of the extension header chain is variable.

packet.

8-14 Building Scalable Cisco Internetworks (BSCI) v3.0

© 2006 Cisco Systems, Inc.

Simpler and more efficient header means:

• IPv6 has extension headers.

• It handles the options more efficiently.

• It enables faster forwarding rate and end nodes processing.

There are many types of extension headers. When multiple extension headers are used in the same packet, the order of the headers should be as follows:

1. IPv6 header: This header is the basic header described in the previous figure.

2. Hop-by-hop options header: When this header is used for the router alert (Resource Reservation Protocol [RSVP] and Multicast Listener Discovery version 1 [MLDv1]) and the jumbogram, this header (value = 0) is processed by all hops in the path of a packet. When present, the hop-by-hop options header always follows immediately after the basic IPv6 packet header.

3. Destination options header (when the routing header is used): This header (value = 60) can follow any hop-by-hop options header, in which case the destination options header is processed at the final destination and also at each visited address specified by a routing header. Alternatively, the destination options header can follow any Encapsulating Security Payload (ESP) header, in which case the destination options header is processed only at the final destination. For example, mobile IP uses this header.

4. Routing header: This header (value = 43) is used for source routing and mobile IPv6.

5. Fragment header: This header is used when a source must fragment a packet that is larger than the MTU for the path between itself and a destination device. The fragment header is used in each fragmented packet.

6. Authentication header and Encapsulating Security Payload header: The authentication header (value = 51) and the ESP header (value = 50) are used within IPsec to provide authentication, integrity, and confidentiality of a packet. These headers are identical for both IPv4 and IPv6.

7. Upper-layer header: The upper-layer (transport) headers are the typical headers used inside a packet to transport the data. The two main transport protocols are TCP (value = 6) and UDP (value = 17).

© 2006 Cisco Systems, Inc.

Implementing IPv6

8-15

Continue reading here: Pv6 Address Types

Was this article helpful?

0 0

Readers' Questions

  • gimja
    Which ipv6 header field indicates how many routers can forward a packet before it's discarded?
    24 days ago
  • The "Hop Limit" field in the IPv6 header indicates how many routers or hops a packet can travel before being discarded.
    • RALF
      What size is an internet protocol (ip) v6 payload length field?
      24 days ago
    • The Internet Protocol version 6 (IPv6) payload length field is 16 bits in size.
      • dollie
        Which internet protocol (ip) v6 field is identical in purpose to the ttl field in an ipv4 header?
        24 days ago
      • The Time to Live (TTL) field in an IPv4 header is equivalent to the Hop Limit field in an IPv6 header. Both fields serve a similar purpose of limiting the number of routers (hops) that a packet can pass through before it is discarded.
        • karoliina
          What size is an internet protocol (ip) v6 payload field?
          2 months ago
        • The IPv6 payload field size is 128 bits or 16 bytes.
          • joey
            What size is an internet protocol (ip) v6 payload length field?
            2 months ago
          • The Internet Protocol version 6 (IPv6) payload length field is 16 bits in size. This field is used to indicate the size of the IPv6 payload, excluding the fixed IPv6 header.
            • LISA
              Which internet protocol (ip) v6 field is identical in purpose to the ttl field in an ipv4 header?
              2 months ago
            • The "Hop Limit" field in an IPv6 header is identical in purpose to the TTL (Time to Live) field in an IPv4 header. Both the Hop Limit field in IPv6 and the TTL field in IPv4 determine the maximum number of hops (routers or network nodes) that a packet can traverse before being discarded.
              • SAIMI
                What size is an internet protocol (ip) v6 payload length field?
                2 months ago
              • The Internet Protocol version 6 (IPv6) payload length field is 16 bits long.
                • STEPHEN
                  What size is an internet protocol (ip) v6 payload field?
                  2 months ago
                • The size of the Internet Protocol version 6 (IPv6) payload field is 65,535 octets (bytes).
                  • cornelius
                    Which internet protocol (ip) v6 field is identical in purpose to the ttl field in an ipv4 header?
                    2 months ago
                  • In IPv6, the field that is identical in purpose to the TTL (Time to Live) field in an IPv4 header is called the Hop Limit field.
                    • silke
                      What size is an internet protocol (ip) v6 payload field?
                      4 months ago
                    • The size of an Internet Protocol version 6 (IPv6) payload field is 64 bits.
                      • hayden
                        What size is an internet protocol (ip) v6 payload length field?
                        4 months ago
                      • The Internet Protocol version 6 (IPv6) payload length field is 16 bits in size.
                        • steffen
                          Which internet protocol (ip) v6 field is identical in purpose to the ttl field in an ipv4 header?
                          4 months ago
                        • The Time to Live (TTL) field in an IPv4 header is similar in purpose to the Hop Limit field in an IPv6 header. Both fields indicate the maximum number of hops (routers) that a packet can traverse before being discarded.
                          • chris
                            What size is an internet protocol (ip) v6 payload length field?
                            5 months ago
                          • The Internet Protocol version 6 (IPv6) payload length field is 16 bits, which means it can represent values from 0 to 65535 octets. It indicates the size of the payload (data) in the IPv6 datagram, excluding the IPv6 header.
                            • uta
                              What size is an internet protocol (ip) v6 payload field?
                              5 months ago
                            • The size of an IPv6 payload field is 40 bytes.
                              • muhammed
                                Which internet protocol (ip) v6 field is identical in purpose to the ttl field in an ipv4 header?
                                5 months ago
                              • The Time to Live (TTL) field in an IPv4 header is equivalent to the Hop Limit field in an IPv6 header. Both fields serve the same purpose, which is to limit the maximum number of hops (routers) a packet can traverse before being discarded.
                                • hattie
                                  What size is an internet protocol (ip) v6 payload length field?
                                  6 months ago
                                • The Internet Protocol version 6 (IPv6) payload length field is 16 bits or 2 bytes. This field represents the length of the IPv6 packet payload, which is the data being carried by the IPv6 packet excluding the IPv6 header. The payload length field allows the receiving node to determine the length of the data it needs to process within the packet.
                                  • Mike
                                    What size is an internet protocol (ip) v6 payload field?
                                    6 months ago
                                  • The size of an Internet Protocol version 6 (IPv6) payload field is 40 bytes.
                                    • bucca
                                      Which internet protocol (ip) v6 field is identical in purpose to the ttl field in an ipv4 header?
                                      6 months ago
                                    • The Time-to-Live (TTL) field in the IPv4 header is similar in purpose to the Hop Limit field in the IPv6 header. Both fields are used to limit the lifespan of a packet in the network, preventing it from looping indefinitely.
                                      • muhammed
                                        What does bitfield checksum mismatch mean?
                                        7 months ago
                                      • A bitfield checksum mismatch means that the calculated checksum of a data structure or a bitfield does not match the expected checksum value. A checksum is a value that is used to detect errors in data transmission or storage. It is typically calculated by summing all the bits in the data structure or bitfield and comparing the result with a predefined checksum value. If the bitfield checksum does not match the expected value, it indicates that an error has occurred during the transmission or storage of the data. This could be due to various factors such as data corruption, data manipulation, or a communication error. A bitfield is a compact data structure that uses multiple bits within a storage unit to represent various data elements or flags. Checking the integrity of a bitfield using a checksum can help ensure the accuracy and reliability of the stored or transmitted data.
                                        • Nicolas
                                          Which internet protocol (ip) v6 field is identical in purpose to the ttl field in an ipv4 header?
                                          7 months ago
                                        • The equivalent field in IPv6 to the TTL field in an IPv4 header is called the Hop Limit field.
                                          • halfred
                                            What size is an internet protocol (ip) v6 payload length field?
                                            7 months ago
                                          • The internet protocol (IP) v6 payload length field is 16 bits (2 bytes) in size.
                                            • Nora
                                              What size is an internet protocol (ip) v6 payload field?
                                              7 months ago
                                            • The Internet Protocol version 6 (IPv6) payload field has a fixed size of 40 bytes.
                                              • florian
                                                What size is an internet protocol (ip) v6 payload length field?
                                                8 months ago
                                              • In IPv6, the payload length field is 16 bits in size. This field specifies the size of the data payload in the IPv6 packet, excluding the IPv6 header.
                                                • Kedija
                                                  What basic function does the ipv4 header checksum field perform?
                                                  8 months ago
                                                • The basic function of the IPv4 header checksum field is to ensure the integrity of the IPv4 header during transmission. It is a 16-bit field that contains the checksum value computed for the header. When a packet is sent, the sender calculates the checksum by summing up all the 16-bit words in the header and inserting the complement of the result in the checksum field. This process is repeated by the receiver, and if the complement of the sum matches the value in the checksum field, it indicates that the header was not corrupted during transmission. If the checksum does not match, it indicates that the header has been corrupted, and the packet may be discarded. The checksum field is an important component in detecting errors in the IPv4 header.
                                                  • hiwet
                                                    What size is an internet protocol (ip) v6 payload field?
                                                    8 months ago
                                                  • The Internet Protocol version 6 (IPv6) payload field is 64 bits in size.
                                                    • jared
                                                      What size is an internet protocol (ip) v6 payload field?
                                                      9 months ago
                                                    • An IPv6 payload field is limited to a maximum of 65535 bytes.
                                                      • bilba hornblower
                                                        What size is an internet protocol (ip) v6 payload field?
                                                        10 months ago
                                                      • An IP v6 payload field size is typically up to 65535 bytes.
                                                        • asmeret
                                                          What size is an internet protocol (ip) v6 payload field?
                                                          1 year ago
                                                        • The size of the payload field in IPV6 is a maximum of 1280 bytes.
                                                          • russom
                                                            What size is an internet protocol (ip) v6 payload field?
                                                            1 year ago
                                                          • An IPv6 payload field is limited to a maximum size of 65,535 octets (bytes).
                                                            • TIBLETS
                                                              Which function does the flow label field in the ipv6 header perform?
                                                              1 year ago
                                                            • The Flow Label field in the IPv6 header is used for quality of service (QoS) flows. It enables the network to assign priority levels to certain traffic and provide priority routing for those flows. This helps ensure that certain types of important traffic, such as video or voice streams, are given preference over less important traffic.
                                                              • Averardo
                                                                Which of the following describes the part of the ipv6 address?
                                                                1 year ago
                                                              • The "::" in an IPv6 address is known as a "double colon" and is used to shorten the address by replacing a sequence of zero groups.
                                                                • pasi
                                                                  Which field is called hop limit in ipv6?
                                                                  1 year ago
                                                                • Hop Limit
                                                                  • Markus
                                                                    What size is an ipv6 payload field?
                                                                    1 year ago
                                                                  • An IPv6 payload field can range from 64 to 65536 bytes in size.
                                                                    • sophia
                                                                      What ipv6 field is similar to the ttl field in ipv4 packets?
                                                                      1 year ago
                                                                    • The Hop Limit field in IPv6 is similar to the TTL field in IPv4 packets.
                                                                      • Haylom
                                                                        What is the length of the source address field in an ipv6 packet?
                                                                        1 year ago
                                                                      • The length of the source address field in an IPv6 packet is 128 bits (16 bytes).
                                                                        • briffo lightfoot
                                                                          Which ipv6 header field specifies the maximum number of hops that an ipv6 packet can take?
                                                                          1 year ago
                                                                        • The Hop Limit field in the IPv6 header specifies the maximum number of hops that an IPv6 packet can take.