DHCP Commands

SET DHCP TYPE <SERVER RELAY NONE>

Sets the type of DHCP services provided to other network devices. The DHCP server is enabled by default.

SERVER

IP addresses will be dynamically assigned when a DHCP request is

 

received from a network device.

 

 

RELAY

Relays DHCP requests to a separate DHCP server (use SET DHCP

 

SERVERADDR to specify).

 

 

NONE

DHCP requests are ignored.

 

 

SHOW DHCP STATUS

Displays DHCP server status and a list of currently-defined IP addresses.

SET DHCP IPRANGE <startIPaddress> <range>

Defines the pool of addresses used to assign dynamic addresses when operating as a DHCP server.

<startIPaddress>

Starting address for the pool. This address must be on the same

 

network as the LAN IP address. Default: 192.168.1.2.

 

 

<range>

Number of addresses in the pool. Range: 1-250. Default: 250.

 

 

Example: If the starting address is set to 192.168.1.2 and the range is set to 10, addresses 192.168.1.2 to 192.168.1.11 are available for DHCP.

SET DHCP LEASEDURATION <duration> <MINS HOURS DAYS>

Defines the length of time a client address assigned by the DHCP server is valid.

Range

30 minutes to 30 days.

SET DHCP DNS <PRIMARY SECONDARY> <ipaddress>

Defines the primary and secondary DNS server addresses sent to a DHCP client when a DHCP lease is requested. By default, the primary DNS is 192.168.1.1 (this is the default address of the device); the secondary is blank.

<PRIMARY>

Primary DNS server.

 

 

<SECONDARY>

Secondary DNS server.

 

 

<ipaddress>

IP address of the DNS server.

 

 

Command Line Reference

Page 64

Page 64
Image 64
Eicon Networks 2440 manual Dhcp Commands