]> git.proxmox.com Git - mirror_lxc.git/commit
lxc-net: add LXC_DHCP_PING boolean option
authorJonathan Calmels <jcalmels@nvidia.com>
Fri, 8 Dec 2017 06:15:10 +0000 (22:15 -0800)
committerJonathan Calmels <jcalmels@nvidia.com>
Tue, 19 Dec 2017 23:18:28 +0000 (15:18 -0800)
commitbbb8e190f1102e8c012533b706d56ace53f5cd79
treefc934ac16b1c2a83250578451b7710e19eb78248
parent84bf5645ed0b0c4380ca0a05c148e4c833d1383c
lxc-net: add LXC_DHCP_PING boolean option

Excerpt from dnsmasq(8):
By default, the DHCP server will attempt to ensure that an address in not
in use before allocating it to a host. It does this by sending an ICMP echo
request (aka "ping") to the address in question. If it gets a reply, then the
address must already be in use, and another is tried. This flag disables this check.

This is useful if one expects all the containers to get an IP address
from the LXC authoritative DHCP server and wants to speed up the process
of getting a lease.

Signed-off-by: Jonathan Calmels <jcalmels@nvidia.com>
config/init/common/lxc-net.in