diff options
author | Razvan Becheriu <razvan@isc.org> | 2023-08-17 07:10:01 +0200 |
---|---|---|
committer | Razvan Becheriu <razvan@isc.org> | 2023-08-17 07:10:01 +0200 |
commit | 86f65d4569252533b205dba4e58063bf6f83f5a4 (patch) | |
tree | cb51f0c7b081313ba0409baf6b022206dc207dbd | |
parent | [#3001] fixed references to hooks libs in ARM (diff) | |
download | kea-86f65d4569252533b205dba4e58063bf6f83f5a4.tar.xz kea-86f65d4569252533b205dba4e58063bf6f83f5a4.zip |
[#2968] added interface to subnet selection in v4 ARM
-rw-r--r-- | doc/sphinx/arm/dhcp4-srv.rst | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/sphinx/arm/dhcp4-srv.rst b/doc/sphinx/arm/dhcp4-srv.rst index 6c4d99c3b6..293f82d411 100644 --- a/doc/sphinx/arm/dhcp4-srv.rst +++ b/doc/sphinx/arm/dhcp4-srv.rst @@ -6631,6 +6631,29 @@ the configuration for the interface on which the message has been received and, if the server configuration does not match any configured subnet, the message is discarded. +An optional interface parameter is available within a subnet definition to +designate that a given subnet is local, i.e. reachable directly over the +specified interface. For example, a server that is intended to serve a local +subnet over eth0 may be configured as follows: + +:: + + "Dhcp4": { + "subnet4": [ + { + "id": 1, + "subnet": "192.0.2.0/24", + "pools": [ + { + "pool": "192.0.2.100 - 192.0.2.199" + } + ], + "interface": "eth0" + } + ], + ... + } + Assuming that the server's interface is configured with the IPv4 address 192.0.2.3, the server only processes messages received through this interface from a directly connected client if there is a subnet |