diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-10 13:50:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 13:50:43 +0000 |
commit | 20b26b521079234319b362c5a840e30d85f4f9b3 (patch) | |
tree | 629cd28989968869dad0f48dec0b848987aba39e /docs/source | |
parent | da95fb4226c82694af19610578d9c14a6aa964f2 (diff) | |
parent | aabf28a16825aec643206d5e3084940ea48b9c99 (diff) | |
download | podman-20b26b521079234319b362c5a840e30d85f4f9b3.tar.gz podman-20b26b521079234319b362c5a840e30d85f4f9b3.tar.bz2 podman-20b26b521079234319b362c5a840e30d85f4f9b3.zip |
Merge pull request #8143 from aojea/dual
enable ipv6 networks
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/markdown/podman-network-create.1.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-network-create.1.md b/docs/source/markdown/podman-network-create.1.md index 45d9d9b0b..0a7ea0586 100644 --- a/docs/source/markdown/podman-network-create.1.md +++ b/docs/source/markdown/podman-network-create.1.md @@ -49,6 +49,10 @@ Macvlan connection. The subnet in CIDR notation. +**--ipv6** + +Enable IPv6 (Dual Stack) networking. You must pass a IPv6 subnet. The *subnet* option must be used with the *ipv6* option. + ## EXAMPLE Create a network with no options @@ -63,6 +67,13 @@ Create a network named *newnet* that uses *192.5.0.0/16* for its subnet. /etc/cni/net.d/newnet.conflist ``` +Create an IPv6 network named *newnetv6*, you must specify the subnet for this network, otherwise the command will fail. +For this example, we use *2001:db8::/64* for its subnet. +``` +# podman network create --subnet 2001:db8::/64 --ipv6 newnetv6 +/etc/cni/net.d/newnetv6.conflist +``` + Create a network named *newnet* that uses *192.168.33.0/24* and defines a gateway as *192.168.133.3* ``` # podman network create --subnet 192.168.33.0/24 --gateway 192.168.33.3 newnet |