Configuration Guide Configuring DHCPConfiguring DHCP
To configure dynamic address assignment, you need to configure a network number and subnet mask of
an address pool to provide a DHCP server with a range of addresses. The IP addresses in a pool are
assigned in order. If an address is assigned or exists in the target network segment, the next address will
be checked until a valid address is assigned.
Ruijie wireless products provide available network segments by specifying start and end addresses. The
configuration is optional. If the start and end address are not specified, all IP addresses in the network
segment are assignable.
For Ruijie products, addresses are assigned based on the client’s physical address and ID. Therefore,
one client will not be assigned two leases from one address pool. In case of topological redundancy
between a client and a server, address assignment may fail.
To avoid such failures, a network administrator needs to prevent path redundancy in network
construction, for example, by adjusting physical links or network paths.
 Configuring Default Gateway of Client
default-router address [address2…address8]
address: Indicates the IP address of a default gateway. Configure at least one IP address.
ip-address2…ip-address8: (Optional) A maximum of 8 gateways can be configured.
DHCP address pool configuration mode
Configure a default gateway of a client, and a server will push the gateway configuration to the client.
The IP addresses of the default gateway and the client should be in a same network.
 Configuring Address Lease
lease {days [hours] [ minutes] | infinite}
days: Defines a lease in the unit of day.
hours: (Optional) Defines a lease in the unit of hour. Please define days before hours.
minutes: (Optional) Defines a lease in the unit of minute. Please define days and hours before minutes.
infinite: Defines an unlimited lease.
DHCP address pool configuration mode
The default lease of an IP address assigned by a DHCP server is 1 day. When a lease is expiring soon,
a client needs to request a lease renewal. Otherwise the IP address cannot be used after the lease is
expired.
 Configures Boot File on Client
file-name: Defines a boot file name.
DHCP address pool configuration mode
A boot file is a bootable image file used when a client starts up. The file is usually an OS downloaded by
a DHCP client.
 Configuring Domain Name of Client