Book Image

Docker Networking Cookbook

Book Image

Docker Networking Cookbook

Overview of this book

Networking functionality in Docker has changed considerably since its first release, evolving to offer a rich set of built-in networking features, as well as an extensible plugin model allowing for a wide variety of networking functionality. This book explores Docker networking capabilities from end to end. Begin by examining the building blocks used by Docker to implement fundamental containing networking before learning how to consume built-in networking constructs as well as custom networks you create on your own. Next, explore common third-party networking plugins, including detailed information on how these plugins inter-operate with the Docker engine. Consider available options for securing container networks, as well as a process for troubleshooting container connectivity. Finally, examine advanced Docker networking functions and their relevant use cases, tying together everything you need to succeed with your own projects.
Table of Contents (18 chapters)
Docker Networking Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

IPv6 command-line basics


Even if you understand the basics of the IPv6 protocol, working with IPv6 on a Linux host for the first time can be a bit daunting. Much like IPv4, IPv6 has its own unique set of command-line tools that can be leveraged to configure and troubleshoot IPv6 connectivity. Some of these tools are the same that we used with IPv4 and just use a slightly different syntax. Other tools are completely unique to IPv6. In this recipe, we'll walk through configuring and verifying basic IPv6 connectivity.

Getting ready

In this recipe, we'll be using a small lab consisting of two Linux hosts:

Each host has both an IPv4 address as well as an IPv6 address assigned to its physical interface. You'll need root-level access to each host to make network configuration changes.

Note

The intent of this recipe is not to teach the basics of IPv6 or IPv6 network design. The examples in this recipe are for example purposes only. Although we may cover some of the basics during the examples, it is assumed...