IPv6 Basics

Aug. 19, 2002
The IPv6 header doesn't look much like its IPv4 cousin, except for the Version and Priority fields and the source and destination addresses, which are larger in IPv6 (see Fig. A). Changes are made for...

The IPv6 header doesn't look much like its IPv4 cousin, except for the Version and Priority fields and the source and destination addresses, which are larger in IPv6 (see Fig. A). Changes are made for different reasons. They fall into three categories. The first is the elimination of unnecessary fields, such as the checksum field, because typically the lower-level transport system handles error detection and correction.

Next, the header structure of an IPv6 packet varies in length versus the fixed format for IPv4 (see Fig. B). A number of standard header extensions can follow the standard IPv6 header. IPv4 standards placed this type of information in the payload, complicating packet analysis. The IPv6 standard even specifies the order of extension headers if they're included. For example, the routing header must precede the security header.

Finally, as some fields weren't used effectively, there was no reason to move them to IPv6. Of course, even hindsight doesn't guarantee a completely efficient design. For example, the flow label field hasn't been effectively used yet.

The IPv6 design has some disadvantages. Its larger headers require more space in buffers and tables. The extension approach to headers can be an issue in hardware implementations because, except for the first header, information isn't located at a fixed offset from the start of the packet. So, the extensions must be scanned sequentially to determine their contents and the location and type of the next extension header. Eventually, the payload data can be identified.

More details on the IPv6 specification can be found at the RFC-Editor and the Internet Engineering Task Force (IETF) Web sites.

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!