7.3
DHCP server
You can operate the device as a DHCP server. This allows IP addresses to be assigned
automatically to the connected devices. The IP addresses are either distributed dynamically
from an address band (pool) you have specified or a specific IP address is assigned to a
particular device.
Both with the dynamic and static assignment a pool is selected based on the following criteria:
1. With the DHCP query option 82 is enabled.
The DHCP server checks whether there is a pool with option 82. You configure this criterion
with the
relay-information
command.
2. The DHCP query was received via a relay agent.
The DHCP server checks whether the relay agent is located in the subnet of a pool.
3. The port via which the DHCP query was received is enabled in the Port Range.
The DHCP server checks whether the IP interface of the port is located in the subnet of a
pool. You configure this criterion with the
ip address
command.
This section describes commands relevant for configuring the DHCP server.
Requirement
The connected devices are configured so that they obtain the IPv4 address from a DHCP
server.
7.3.1
The "show" commands
This section describes commands with which you display various settings.
7.3.1.1
show ip dhcp-server bindings
Description
This command shows the current assignments of IPv4 addresses of the DHCP server.
Requirement
You are in the User EXEC mode or in the Privileged EXEC mode.
The command prompt is as follows:
cli>
or
cli#
Syntax
Call the command without parameter assignment:
show ip dhcp-server bindings
Network protocols
7.3 DHCP server
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
288
Configuration Manual, 07/2017, C79000-G8976-C361-06