Local Area Networks (LANs) DHCP servers
Digi TransPort WR Routers User Guide
49
n The IPnetwork mask given to clients.
n The IPgateway address given to clients.
n The IPaddresses of the preferred and alternate Domain Name Server (DNS) given to clients.
Additional configuration items
n Lease time: The length, in minutes, of the leases issued by the DHCP server.
Web
In the web interface, the DHCP server is configured as part of configuring a LANon the Local
Networks page. See Configure a LAN.
Command line
Note This instructions assume you are configuring the device to use its local DHCP server. For
instructions about configuring the device to use a DHCP relay server, see DHCP relay.
1. Enable the DHCP server. By default, the DHCP server is disabled.
digi.router> dhcp-server 1 state server
2. Enter the starting address of the IPaddress pool:
digi.router> dhcp-server 1 ip-address-start 10.30.1.150
3. Enter the ending address of the IPaddress pool:
digi.router> dhcp-server 1 ip-address-end 10.30.1.195
4. Enter the network mask:
digi.router> dhcp-server 1 mask 255.255.225.0
5. Enter the IPgateway address given to clients:
digi.router> dhcp-server 1 gateway 10.30.1.1
6. Enter the preferred DNS server address given to clients:
digi.router> dhcp-server 1 dns1 10.30.1.1
7. Enter the alternate DNS server address given to clients:
digi.router> dhcp-server 1 dns2 209.183.48.11
8. Enter the lease time:
digi.router> dhcp-server 1 lease-time 60
9. Save the configuration.
digi.router> save config