Interfaces
Local Area Networks (LANs)
LR54 User Guide
176
e. For
Primary
and
Secondary DNS
,
Primary
and
Secondary NTP server
, and
Primary
and
Secondary WINS server
, select either:
n
None
: No server is broadcast.
n
Automatic
: Broadcasts the LR54 device's server.
n
Custom
: Allows you to identify the IP address of the server.
f. For
Bootfile name
, type the relative path and file name of the bootfile on the TFTP server.
g. For
TFTP server
name, type the IP address or host name of the TFTP server.
10. See
for information about
Custom DHCP options
.
11. See
Map static IP addresses to hosts
for information about
Static leases
.
12. Click
Apply
to save the configuration and apply the change.
Command line
1. Select the device in Remote Manager and click
Actions
>
Open Console
, or log into the LR54
local command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an
Access selection
menu
. Type
admin
to access the Admin CLI.
2. At the command line, type
config
to enter configuration mode:
> config
(config)>
3. Enable the DHCP server for an existing LAN. For example, to enable the DHCP server for a LAN
named
my_lan
:
(config)> network interface my_lan ipv4 dhcp_server enable true
(config)>
See
Configure a Local Area Network (LAN)
for information about creating a LAN.
4. (Optional) Set the amount of time that a DHCP lease is valid:
(config)> network interface my_lan ipv4 dhcp_server lease_time
value
(config)>
where
value
is any number of weeks, days, hours, minutes, or seconds, and takes the format
number
{
w|d|h|m|s
}.
For example, to set
network interface my_lan ipv4 dhcp_server lease_time
to ten minutes,
enter either
10m
or
600s
:
(config)> network interface my_lan ipv4 dhcp_server lease_time 600s
(config)>
5. (Optional) Set the lowest IP address that the DHCP server will assign to a client. This value
represents the low order byte of the address (the final triplet in an IPv4 address, for example,
192.168.2.
xxx
). The remainder of the IP address will be based on the LAN's static IP address as
defined in the
address
parameter.
(config)> network interface my_lan ipv4 dhcp_server lease_start
num
(config)>