dhcp-server: correction in the page

Added description about listen-address parameter and corrected syntax

(cherry picked from commit 00fd196df25254aac8e23d61405417392357decf)
This commit is contained in:
rebortg 2022-07-29 14:45:03 +02:00
parent dbe3a19230
commit c60ffbd897

View File

@ -59,10 +59,17 @@ Configuration
respond to the client. The lease will remain abandoned for a minimum of respond to the client. The lease will remain abandoned for a minimum of
abandon-lease-time seconds (defaults to 24 hours). abandon-lease-time seconds (defaults to 24 hours).
If a there are no free addressses but there are abandoned IP addresses, the If there are no free addresses but there are abandoned IP addresses, the
DHCP server will attempt to reclaim an abandoned IP address regardless of the DHCP server will attempt to reclaim an abandoned IP address regardless of the
value of abandon-lease-time. value of abandon-lease-time.
.. cfgcmd:: set service dhcp-server listen-address <address>
This configuration parameter lets the DHCP server to listen for DHCP
requests sent to the specified address, it is only realistically useful for
a server whose only clients are reached via unicasts, such as via DHCP relay
agents.
Individual Client Subnet Individual Client Subnet
------------------------- -------------------------
@ -141,7 +148,7 @@ Individual Client Subnet
respond to the client. The lease will remain abandoned for a minimum of respond to the client. The lease will remain abandoned for a minimum of
abandon-lease-time seconds (defaults to 24 hours). abandon-lease-time seconds (defaults to 24 hours).
If a there are no free addressses but there are abandoned IP addresses, the If a there are no free addresses but there are abandoned IP addresses, the
DHCP server will attempt to reclaim an abandoned IP address regardless of the DHCP server will attempt to reclaim an abandoned IP address regardless of the
value of abandon-lease-time. value of abandon-lease-time.
@ -476,18 +483,6 @@ Operation Mode
Show logs from specific `interface` DHCP client process. Show logs from specific `interface` DHCP client process.
.. opcmd:: show log dhcpv6 server
Show DHCPv6 server daemon log file
.. opcmd:: show log dhcpv6 client
Show logs from all DHCPv6 client processes.
.. opcmd:: show log dhcpv6 client interface <interface>
Show logs from specific `interface` DHCPv6 client process.
.. opcmd:: restart dhcp server .. opcmd:: restart dhcp server
Restart the DHCP server Restart the DHCP server
@ -697,6 +692,18 @@ The configuration will look as follows:
Operation Mode Operation Mode
============== ==============
.. opcmd:: show log dhcpv6 server
Show DHCPv6 server daemon log file
.. opcmd:: show log dhcpv6 client
Show logs from all DHCPv6 client processes.
.. opcmd:: show log dhcpv6 client interface <interface>
Show logs from specific `interface` DHCPv6 client process.
.. opcmd:: restart dhcpv6 server .. opcmd:: restart dhcpv6 server
To restart the DHCPv6 server To restart the DHCPv6 server
@ -707,7 +714,7 @@ Operation Mode
.. opcmd:: show dhcpv6 server leases .. opcmd:: show dhcpv6 server leases
Show statuses of all assigned leases: Shows status of all assigned leases:
.. code-block:: none .. code-block:: none