diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-01-25 09:22:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-02-09 16:09:18 +0000 |
commit | f3463339bf5252e3f25ccf3bd861f6d9f2f622e0 (patch) | |
tree | 3859ace568e242a16a86c910c92188b94f336012 /share/doc | |
parent | Cleaning up and harmonizing verbose output for container remove, restart, sta... (diff) | |
download | compute-tools-f3463339bf5252e3f25ccf3bd861f6d9f2f622e0.tar.xz compute-tools-f3463339bf5252e3f25ccf3bd861f6d9f2f622e0.zip |
Expanding host-setup documentation about ipv4/ipv6 dual-stack bridge configuration.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/doc')
-rw-r--r-- | share/doc/HOST-SETUP.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/share/doc/HOST-SETUP.txt b/share/doc/HOST-SETUP.txt index d0a2395..6b368f0 100644 --- a/share/doc/HOST-SETUP.txt +++ b/share/doc/HOST-SETUP.txt @@ -216,3 +216,23 @@ IPv6 addresses and netmasks. In order to use dual-stack, bridges must have a IPv4 address assigned (can be a dummy one from a privacy range or 127.0.0.0/8). + +Let me repeat: dual-stack only works when you assign a primary IPv6 address +(private or public, doesn't matter) *and* add an additional IPv4 address. +Yes, the IPv4 address can be a private address, the containers can still +have a public IPv4 address. + +A complete example looks like this: + +auto bridge0 +iface bridge0 inet6 static + address 2a07:6b47:4::4:1 + netmask 48 + + up ip addr add 127.4.4.1 dev $IFACE + down ip addr del 127.4.4.1 dev $IFACE + + bridge_fd 0 + bridge_maxwait 0 + bridge_stp 0 + bridge-mcquerier 1 |