User manual

set dhcpserver
96 Chapter 2 Command Descriptions
set dhcpserver
Devices
supported
This command is supported in Digi Cellular Family products only.
Purpose Configures the DHCP server settings for the Digi Connect product. A
DHCP server allows other devices or hosts on the same local network as
the Digi Connect product to be assigned dynamic IP addresses. This
DHCP server supports a single subnetwork scope.
The only DHCP server scope currently supported in Digi Connect firmware
is for the “eth0” interface. That, the firmware serves IP addresses to DHCP
clients on the Ethernet side of the Digi Connect product only, and not the
cellular side, which is handled through Point-to-Point Protocol (PPP)
instead.
The DHCP server operates only if the Digi Connect product is configured to
use static IP address configuration. For information on how to configure
static IP settings, see "set network" on page 149 and the help for the Web
user interface’s Network Configuration settings.
Once configured, the DHCP server is managed through the “dhcpserver”
command. See "dhcpserver" on page 23.
Required
permissions
For Digi Connect products with two or more users, to use this command,
permissions must be set to one of the following:
For a user to display DHCP server settings: “set permissions
s-dhcpserver=read”
For a user to display and set DHCP server settings: “set permissions
s-dhcpserver=rw”
See "set permissions" on page 157 for details on setting user permissions
for commands.
Syntax Configure the DHCP server: basic settings
The “item” option must be specified on every instance of a “set dhcpserver”
command. The “item” option specifies the configuration settings to which
the command will be applied. To enable a scope, or a reservation or
exclusion entry within a scope, all of its parameters must be specified and
valid. A scope or entry can be enabled only if it is completely valid.
set dhcpserver item={scope|reservation|exclusion}
[action={set|revert}]