Skip to Content
Migrating Applications to IPv6
book

Migrating Applications to IPv6

by Dan York
June 2011
Intermediate to advanced
56 pages
1h 25m
English
O'Reilly Media, Inc.
Content preview from Migrating Applications to IPv6

Chapter 6. Documentation, Training, and Testing

While the bulk of this book has been focused on your application itself, three areas that complement your application also need to be considered: documentation, training, and testing.

Documentation

When you write documentation for your application (you are writing documentation, aren’t you?), what IPv6 addresses are you using in your examples?

If you just use a random IPv6 address, it could turn out to be someone’s real IPv6 address. Even with the IPv6 address space being so huge, there still is the remote chance that your documentation choice could collide with a real address and potentially cause traffic or routing issues. If you use your own IPv6 addresses, well, are you sure you want the traffic of people typing in examples and hitting your systems? (And maybe I’m personally just too concerned about security, but I don’t want to have people probing around my systems!)

Thankfully, the good folks at the IETF solved this issue for us with RFC 3849, IPv6 Address Prefix Reserved for Documentation. The magic IPv6 address prefix to use for documentation is:

2001:db8::/32

That prefix has been permanently allocated for documentation purposes and will never be assigned to an actual end party. It is, as they say, “nonroutable.”

If you look at the IPv6 addresses I have been using throughout this book, you’ll see that they all use the 2001:db8: prefix, although with various lengths:

2001:db8::1
2001:db8:10ff::ae:44f2
2001:db8:1212:3434:1212:5454:1afc:4001 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Deploying IPv6 Networks

Deploying IPv6 Networks

Ciprian Popoviciu, Eric Levy-Abegnoli, Patrick Grossetete
IPv6 Network Programming

IPv6 Network Programming

Jun-ichiro itojun Hagino
Security in an IPv6 Environment

Security in an IPv6 Environment

Daniel Minoli, Jake Kouns

Publisher Resources

ISBN: 9781449309688Errata Page