From: Francis Dupont Date: Mon, 19 Feb 2018 17:16:17 +0000 (+0100) Subject: [master] Merged trac5390 (listen on loopback) X-Git-Tag: trac5502_base~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e414805ce11375de09b5b70d9943eed611c18d69;p=thirdparty%2Fkea.git [master] Merged trac5390 (listen on loopback) --- e414805ce11375de09b5b70d9943eed611c18d69 diff --cc doc/guide/dhcp4-srv.xml index 83de4dadb9,37be8932e6..b06324f4b1 --- a/doc/guide/dhcp4-srv.xml +++ b/doc/guide/dhcp4-srv.xml @@@ -773,9 -772,27 +773,27 @@@ temporarily override a list of interfac Note interfaces are not re-detected during config-test. + Usually loopback interfaces (e.g. the "lo" or "lo0" interface) + may not be configured but if a loopback interface is explicitely configured + and IP/UDP sockets are specified the loopback interface is accepted. + + + It can be used for instance to run Kea in a FreeBSD jail having + only a loopback interface, servicing relayed DHCP request: + + + "Dhcp4": { + "interfaces-config": { + "interfaces": [ "lo0" ], + "dhcp-socket-type": "udp" + }, + ... + } + + -
+
Issues with Unicast Responses to DHCPINFORM The use of UDP sockets has certain benefits in deployments where the server receives only relayed traffic; these benefits are diff --cc doc/guide/dhcp6-srv.xml index f5e1ae340e,acb58b0c4f..c974e0b3ce --- a/doc/guide/dhcp6-srv.xml +++ b/doc/guide/dhcp6-srv.xml @@@ -655,9 -654,24 +655,24 @@@ temporarily override a list of interfac } + The loopback interfaces (i.e. the "lo" or "lo0" interface) + are not configured by default, unles explicitely mentioned in + the configration. Note Kea requires a link-local address which does + not exist on all systems, or a specified unicast address as in: + + + + "Dhcp6": { + "interfaces-config": { + "interfaces": [ "lo/::1" ] + }, + ... + } + +
-
+
IPv6 Subnet Identifier The subnet identifier is a unique number associated with a particular subnet.