[lxc-devel] [lxd/master] doc: IPVLAN doc tweaks for gateway and DNS nameservers
tomponline on Github
lxc-bot at linuxcontainers.org
Tue Jun 11 13:15:01 UTC 2019
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 376 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190611/1de87a63/attachment.bin>
-------------- next part --------------
From de61d4f87bff91036b5c3a3fb649e76c3cde760e Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parrott at canonical.com>
Date: Tue, 11 Jun 2019 14:13:44 +0100
Subject: [PATCH] doc: IPVLAN doc tweaks for gateway and DNS nameservers
Fixes #5830
Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>
---
doc/containers.md | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/containers.md b/doc/containers.md
index 0d78c876cd..8fe3014be2 100644
--- a/doc/containers.md
+++ b/doc/containers.md
@@ -300,7 +300,13 @@ maas.subnet.ipv6 | string | - | no | maas\_netw
Sets up a new network device based on an existing one using the same MAC address but a different IP.
-LXD currently supports IPVLAN in L3S mode. It requires the following sysctls to be set:
+LXD currently supports IPVLAN in L3S mode.
+
+In this mode, the gateway is automatically set by LXD, however IP addresses must be manually specified using either one or both of `ipv4.address` and `ipv6.address` settings before container is started.
+
+For DNS, the nameservers need to be configured inside the container, as these will not automatically be set.
+
+It requires the following sysctls to be set:
If using IPv4 addresses:
More information about the lxc-devel
mailing list