Home > Store

IPv6 Fundamentals: A Straightforward Approach to Understanding IPv6, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

IPv6 Fundamentals: A Straightforward Approach to Understanding IPv6, 2nd Edition

eBook (Watermarked)

  • Your Price: $38.39
  • List Price: $47.99
  • Includes EPUB and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    Adobe Reader PDF The popular standard, used most often with the free Acrobat® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.


  • Copyright 2017
  • Dimensions: 7-3/8" x 9-1/8"
  • Pages: 688
  • Edition: 2nd
  • eBook (Watermarked)
  • ISBN-10: 0-13-467060-4
  • ISBN-13: 978-0-13-467060-7

Organizations are increasingly transitioning to IPv6, the next generation protocol for defining how devices of all kinds communicate over networks. Now fully updated, IPv6 Fundamentals offers a thorough, friendly, and easy-to-understand introduction to the knowledge and skills you need to deploy and operate IPv6 networks.

Leading networking instructor Rick Graziani explains all the basics simply and clearly, step-by-step, providing all the details you’ll need to succeed. You’ll learn why IPv6 is necessary, how it was created, how it works, and how it has become the protocol of choice in environments ranging from cloud to mobile and IoT.

Graziani thoroughly introduces IPv6 addressing, configuration options, and routing protocols, including EIGRP for IPv6, and OSPFv3 (traditional configuration and with address families). Building on this coverage, he then includes more in-depth information involving these protocols and processes.

This edition contains a completely revamped discussion of deploying IPv6 in your network, including IPv6/IPv4 integration, dynamic address allocation, and understanding IPv6 from the perspective of the network and host. You’ll also find improved coverage of key topics such as Stateless Address Autoconfiguration (SLAAC), DHCPv6, and the advantages of the solicited node multicast address.

Throughout, Graziani presents command syntax for Cisco IOS, Windows, Linux, and Mac OS, as well as many examples, diagrams, configuration tips, and updated links to white papers and official RFCs for even deeper understanding.

  • Learn how IPv6 supports modern networks encompassing the cloud, mobile, IoT, and gaming devices 
  • Compare IPv6 with IPv4 to see what has changed and what hasn’t 
  • Understand and represent IPv6 addresses for unicast, multicast, and anycast environments 
  • Master all facets of dynamic IPv6 address allocation with SLAAC, stateless DHCPv6, and stateful DHCPv6 
  • Understand all the features of deploying IPv6 addresses in the network including temporary addresses and the privacy extension 
  • Improve operations by leveraging major enhancements built into ICMPv6 and ICMPv6 Neighbor Discovery Protocol 
  • Configure IPv6 addressing and Access Control Lists using a common topology 
  • Implement routing of IPv6 packets via static routing, EIGRP for IPv6, and OSPFv3 
  • Walk step-by-step through deploying IPv6 in existing networks, and coexisting with or transitioning from IPv4

Sample Content

Sample Pages

Download the sample pages (includes Chapter 4 and index)

Table of Contents

Introduction xxv
Part I Introduction to IPv6 1
Chapter 1 Introduction to IPv6 3
    IPv6 Is Here 3
        Why Transition to IPv6? 5
    IPv4 8
        IPv4 Address Depletion 8
        CIDR 11
        NAT with Private Addresses 13
    What About IPv5? 19
    The Fascinating History of IPv6 19
        Some Background 20
        IPv4 Address Exhaustion and the Need for More International
        Involvement 21
        A Call for Proposals 22
        A More IP Version of IPv6 23
    IPv6: More Than Just Longer Addresses 24
    IPv6 Myths 25
    Transitioning to IPv6 26
    Summary 28
    Review Questions 28
    References 29
        Endnotes 29
        RFCs 29
        Websites 31
Chapter 2 IPv6 Primer 33
    Hexadecimal Number System 34
    IPv6 Address Types 37
        Global Unicast Address (GUA) 37
        Link-Local Unicast Address 37
        Unspecified Address 38
        Solicited-Node Multicast Address 38
    Address Terminology 41
    ICMPv6 Neighbor Discovery Protocol (NDP) 41
        Neighbor Solicitation (NS) and Neighbor Advertisement (NA) Messages 42
        Router Solicitation (RS) and Router Advertisement (RA) Messages 42
    Dynamic Address Allocation 43
    Summary 45
    Review Questions 46
        References 48
        RFCs 48
Chapter 3 Comparing IPv4 and IPv6 49
    Comparing the IPv4 and IPv6 Headers 49
        The IPv4 and IPv6 Version Fields 51
        IPv4 Internet Header Length (IHL) Field 51
        IPv4 Type of Service (ToS) and IPv6 Traffic Class Fields 52
        IPv6 Flow Label Field 54
        IPv4 Total Length Field, IPv6 Payload Length Field, and IPv6 Jumbograms 54
        IPv4 and IPv6 MTUs 56
        IPv4 Fragmentation 57
        IPv6 Fragmentation: IPv6 Source Only 58
        IPv4 Protocol and IPv6 Next Header Fields 59
        IPv4 Time to Live (TTL) and IPv6 Hop Limit Fields 62
        Checksums: IPv4, TCP, and UDP 63
        IPv4 and IPv6 Source Address and Destination Address Fields 65
        IPv4 Options and Padding Fields, IPv6 Fixed Length 65
    IPv6 over Ethernet 66
    Packet Analysis Using Wireshark 66
    Extension Headers 69
        Hop-by-Hop Options Extension Header 72
        Routing Extension Header 74
        Fragment Extension Header 76
        IPsec: AH and ESP Extension Headers 77
        Encapsulating Security Payload (ESP) Extension Header 79
        Authentication Header (AH) Extension Header 81
        Destination Options Extension Header 82
        No Next Header 84
    Comparing IPv4 and IPv6 at a Glance 84
    Summary 86
    Review Questions 86
    References 86
        RFCs 86
        Websites 87
Part II IPv6 Addresses 89
Chapter 4 IPv6 Address Representation and Address Types 91
    Representation of IPv6 Addresses 91
        Rule 1: Omit Leading 0s 93
        Rule 2: Omit All-0s Hextets 95
        Combining Rule 1 and Rule 2 96
    Prefix Length Notation 98
    IPv6 Address Types 99
        IPv6 Address Space 100
    Unicast Addresses 103
        Global Unicast Address 104
        Link-Local Unicast Address 106
        Loopback Addresses 109
        Unspecified Addresses 109
        Unique Local Addresses 110
        IPv4 Embedded Address 114
    Multicast Addresses 115
    Anycast Addresses 118
    Summary 119
    Review Questions 121
    References 122
        Endnote 122
        RFCs 122
        Websites 123
        Book 123
Chapter 5 Global Unicast Address 125
    Structure of a Global Unicast Address 126
        Global Routing Prefix 128
        Subnet ID 129
        Interface ID 129
    Manual Configuration of a Global Unicast Address 130
        Manual GUA Configuration for Cisco IOS 131
        Manual GUA Configuration with EUI-64 for Cisco IOS 135
        Manual GUA Configuration with IPv6 Unnumbered for Cisco IOS 137
        Manual GUA Configuration for Windows, Linux, and Mac OS 137
        Implementing Static Routing and Verifying Connectivity with Ping 141
    Recognizing the Parts of a GUA Address and the 3—1—4 Rule 142
        Examining Other Prefix Lengths 144
    Subnetting IPv6 145
        Extending the Subnet Prefix 148
        Subnetting on a Nibble Boundary 149
        Subnetting Within a Nibble 150
        Subnetting /127 Point-to-Point Links 151
        ipv6gen: An IPv6 Subnetting Tool 155
    Prefix Allocation 156
        Provider-Aggregatable (PA) and Provider-Independent (PI) Address
        Space 158
    General Prefix Option 160
    Dynamic Addressing Methods with SLAAC and DHCPv6 162
    Summary 162
    Review Questions 163
    References 164
        Endnote 164
        RFCs 164
        Websites 165
Chapter 6 Link-Local Unicast Address 167
    Structure of a Link-Local Unicast Address 169
    Automatic Configuration of a Link-Local Address 170
        EUI-64 Generated Interface ID 170
        Randomly Generated Interface ID 175
    Manual Configuration of a Link-Local Address 179
    Link-Local Address and Duplicate Address Detection 182
    Link-Local Addresses and Default Gateways 183
    ipv6 enable: Isolated Link-Local Address 184
    Pinging a Link-Local Address 186
    Summary 189
    Review Questions 190
    References 191
        RFCs 191
Chapter 7 Multicast Addresses 193
    Scope 195
        Multicast with Link-Local Scope Versus Link-Local Unicast
        Addresses 197
    Well-Known Multicast Addresses 198
    Solicited-Node Multicast Addresses 202
        Mapping Unicast Address to Solicited-Node Multicast Address 204
        Mapping to the Ethernet MAC Address 206
        Verifying the Address Mappings on Cisco IOS, Windows, and Linux 210
        Multiple Devices Using the Same Solicited-Node Multicast Address 212
        One Solicited-Node Multicast Address for Multiple Unicast
        Addresses 214
    Multicast Listener Discovery 216
        MLD Snooping 220
    Summary 221
    Review Questions 222
    References 222
        RFCs 222
        Websites, Videos, and Books 223
Part III Dynamic IPv6 Addressing 225
Chapter 8 Basics of Dynamic Addressing in IPv6 227
    Dynamic IPv4 Address Allocation: DHCPv4 227
    Dynamic IPv6 Address Allocation 229
        ICMPv6 Router Solicitation and Router Advertisement Messages 230
        Router Advertisement Methods and the A, O, and M Flags 233
        Method 1: Stateless Address Autoconfiguration (SLAAC) 235
        Method 2: SLAAC with Stateless DHCPv6 237
        Method 3: Stateful DHCPv6 238
    DHCPv6 Services 240
        DHCPv6 Terminology and Message Types 241
        DHCPv6 Communications 245
    Summary 248
    Review Questions 249
    References 250
        RFCs 250
        Website 250
Chapter 9 Stateless Address Autoconfiguration (SLAAC) 251
    The RA Message and SLAAC 252
        On-Link Determination 258
    Generating an Interface ID 260
        Generating the Interface ID Using the EUI-64 Process 261
        Privacy Extension for Stateless Address Autoconfiguration 266
        Privacy Extension and Generating Randomized Interface IDs 267
        Privacy Extension and Temporary Addresses 268
    Autoconfigured Address States and Lifetimes 270
        Example: Autoconfigured Address States and Lifetimes 272
    Router Advertisement Fields and Options 279
        Examining the Router Advertisement with Wireshark 279
        Modifying the Valid Lifetime and Preferred Lifetime in the RA
        Message 282
        Including the DNS Address in the Router Advertisement 282
        Router Advertisement Configuration Options 284
    Default Address Selection 288
    Configuring the Router’s Interface as a SLAAC Client 290
    Summary 290
    Review Questions 292
    References 294
        RFCs 294
        Websites 295
        Other 295
Chapter 10 Stateless DHCPv6 297
    SLAAC with Stateless DHCPv6 298
    Implementing Stateless DHCPv6 300
        Configuring the RA Message’s Other Configuration Flag 300
        Configuring a Router as a Stateless DHCPv6 Server 303
        Verifying Stateless DHCPv6 on a Windows Client 304
        Verifying the Router as a Stateless DHCPv6 Server 305
    DHCPv6 Options 306
        rapid-commit Option 306
        Relay Agent Communications 308
    Summary 312
    Review Questions 313
    References 314
        RFCs 314
        Websites 314
Chapter 11 Stateful DHCPv6 315
    Stateful DHCPv6 Messages and Process 316
    Implementing Stateful DHCPv6 317
        Configuring the RA Message M Flag and A Flag 318
        Configuring a Router as a Stateful DHCPv6 Server 323
        Verifying Stateful DHCPv6 on a Windows Client 326
        Verifying the Router as a Stateful DHCPv6 Server 327
        DHCPv6 Options 329
    IPv6 Prefix Delegation Options for DHCPv6 329
        Sample Configuration: Prefix Delegation with DHCPv6 331
    Summary 340
    Review Questions 341
    References 343
        RFCs 343
        Websites 343
Part IV ICMPv6 and ICMPv6 Neighbor Discovery 345
Chapter 12 ICMPv6 347
    General Message Format 348
    ICMP Error Messages 352
        Destination Unreachable 352
        Packet Too Big 355
        Time Exceeded 357
        Parameter Problem 360
    ICMP Informational Messages 361
        Echo Request and Echo Reply 361
    Summary 368
    Review Questions 369
    References 371
        RFCs 371
Chapter 13 ICMPv6 Neighbor Discovery 373
    Neighbor Discovery Options 374
    Default Router and Prefix Determination 375
        Router Solicitation Message 375
        Router Advertisement Message 378
    Address Resolution 384
        The Address Resolution Process 385
        Characteristics of the Neighbor Solicitation Message 388
        Format of the Neighbor Solicitation Message 391
        Format of the Neighbor Advertisement Message 393
    Neighbor Cache 396
        Destination Cache 401
    Duplicate Address Detection (DAD) 402
    Neighbor Unreachability Detection (NUD) 404
    Redirect Message 405
    Summary 407
    Review Questions 408
    References 411
        RFCs 411
Part V Routing IPv6 413
Chapter 14 IPv6 Routing Table and Static Routes 415
    Configuring a Router as an IPv6 Router 416
    Understanding the IPv6 Routing Table 418
        Codes: NDp and ND 420
        Code: Connected 422
        Code: Local 423
    Configuring IPv6 Static Routes 424
        Static Routes with a GUA Next-Hop Address 426
        Static Routes with a Link-Local Next-Hop Address 427
        Static Routes with Only an Exit Interface 428
        Default Static Routes with Link-Local Next-Hop Addresses 429
    Verifying IPv6 Static Routes 430
    Summarizing IPv6 Routes 433
        IPv6 Summary Static Route 435
    CEF for IPv6 436
    Summary 438
    Review Questions 439
    References 441
        RFCs 441
        Websites 441
        Books 441
Chapter 15 EIGRP for IPv6 443
    Comparing EIGRPv4 and EIGRPv6 444
    Classic EIGRP for IPv6 446
        Configuring Classic EIGRP for IPv6 447
        Verifying Classic EIGRP for IPv6 450
    EIGRP Named Mode for IPv6 456
        Configuring EIGRP Named Mode for IPv6 457
        Verifying EIGRP Named Mode for IPv6 464
        Comparing EIGRP Named Mode for IPv4 and IPv6 468
    Summary 470
    Review Questions 472
    References 473
    RFC 473
        Websites 473
        Books 473
Chapter 16 OSPFv3 475
    Comparing OSPFv2 and OSPFv3 476
    Traditional OSPFv3 479
        Configuring Traditional OSPFv3 480
        Verifying Traditional OSPFv3 485
    OSPFv3 with Address Families 492
        Configuring OSPFv3 with AF 493
        Verifying OSPFv3 with AF 499
        Configuring OSPFv3 for an IPv4 Island 507
    Summary 509
    Review Questions 511
    References 513
        RFCs 513
        Websites 513
        Books 513
Part VI Implementing IPv6 515
Chapter 17 Deploying IPv6 in the Network 517
    IPv6 Address Plan Considerations 518
        Encoding Information in the Subnet ID 521
        VLAN-Mapped Subnet ID 523
        IPv6 Address Plans 524
    IPv6 VLANs 525
    IPv6 First Hop Redundancy Protocols 529
        ICMPv6 Neighbor Discovery 530
        HSRP and VRRP 533
        GLBP 534
        Selecting an FHRP 536
    Dual Stack 536
        IPv6 Address Format in URL Syntax 538
    DNS 539
        DNS Query and Response 543
        Happy Eyeballs 545
    IPv6 Access Control Lists 546
        Configuring IPv6 ACLs 546
    Transition Technologies 550
        Translation with NAT64 551
        Other Translation Techniques 559
    Tunneling IPv6 560
    Conclusion 566
    Summary 566
    Review Questions 568
    References 570
        RFCs 570
        Websites 571
Appendix A Configuring NAT64 and IPv6 Tunnels 573
Appendix B IPv6 Command Quick Reference 601
Appendix C Answers to Review Questions 615
9781587144776, TOC, 5/10/2017



We've made every effort to ensure the accuracy of this book and its companion content. Any errors that have been confirmed since this book was published can be downloaded below.

Download the errata

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020