Lantronix
SISPM1040-582-LRT CLI Reference
33757 Rev. J
Page
252
of
272
Appendix A DHCP Per Port
You can configure DHCP Per Port via the CLI and Web UI. The DHCP Per Port factory default mode is Disabled.
See the
SISPM1040-582-LRT Web User Guide
for web UI mode operation.
The switch’s DHCP server assigns IP addresses. Clients get IP addresses in sequence and the switch assigns IP
addresses on a per-port basis starting from the configured IP range. For example, if the IP address range is
configured as 192.168.10.20 - 192.168.10.37 with one DHCP device connected to port 1, the client will always get
IP address 192.168.10.20, then port 3 is always distributed IP address 192.168.10.22, even if port 2 is an empty
port (because port 2 is always distributed IP address 192.168.10.21).
The switch does not allow a DHCP per Port pool to include the switch’s address.
IP address assigned range and VLAN 1 should stay in the same subnet mask.
The configurable IP address range is allowed to configure over 18 IP addresses, but the switch always assigns one
IP address per port connecting device.
The DHCP Per Port function is only supported on VLAN 1.
When the DHCP Per Port function is enabled, the switch software will automatically create the related DHCP pool
named “DHCP_Per _Port”.
Once the DHCP Per Port function is enabled on one switch,
IPv4 DHCP client at VLAN1 mode (DMS DHCP mode),
DHCP server mode are all limited to be enabled at the same time (an error message displays if attempted).
If the DHCP server pool has been configured, once you enable the DHCP Per port function that DHCP server pool
configuration will be overwritten.
Only for VLAN 1, clients issued DHCP packets will not be broadcast/forwarded to other ports. DHCP packets in
others VLANs will be broadcast/forwarded to others ports.
The DHCP Per Port function allows the switch to connect only one DHCP client device.
The DHCP Per Port function is configured and shown using these CLI commands:
(config)#
ip dhcp server per-port
(config)#
no ip dhcp server per-port
SISPM1040-582-LRT#
show ip dhcp server
DHCP server is globally disabled.
All VLANs are disabled.
DHCP server per port is disabled.
SISPM1040-582-LRT#
SISPM1040-582-LRT# (config)#
ip dhcp server per-port
SISPM1040-582-LRT# (config)#