]> git.proxmox.com Git - mirror_lxc.git/commit - doc/lxc.container.conf.sgml.in
network: Adds layer 2 (ARP/NDP) proxy mode
authortomponline <thomas.parrott@canonical.com>
Tue, 30 Apr 2019 13:25:27 +0000 (14:25 +0100)
committertomponline <thomas.parrott@canonical.com>
Thu, 2 May 2019 13:07:28 +0000 (14:07 +0100)
commit6509154de18b96f0e6f1eb5fb066a9d2bfff7b91
treea9dc80fc6d7df11dc3a7691037e8be5af630f928
parent0b5afd323e47c4a6eb10b8c7402f532e12e1a233
network: Adds layer 2 (ARP/NDP) proxy mode

Adds the lxc.net.[i].l2proxy flag that can be either 0 or 1.

Defaults to 0.

This, when used with lxc.net.[i].link, will add IP neighbour proxy entries on the linked device
for any IPv4 and IPv6 addresses on the container's network device.

Additionally, for IPv6 addresses it will check the following sysctl values and fail with an error if not set:

net.ipv6.conf.[link].proxy_ndp=1
net.ipv6.conf.[link].forwarding=1

Signed-off-by: tomponline <thomas.parrott@canonical.com>
doc/api-extensions.md
doc/lxc.container.conf.sgml.in
src/lxc/api_extensions.h
src/lxc/confile.c
src/lxc/confile_utils.c
src/lxc/file_utils.c
src/lxc/file_utils.h
src/lxc/network.c
src/lxc/network.h