CLI Reference
DHCP Configuration Commands
Usage
guidelines
In general, the DHCP client should get the information of the default
gateway from the DHCP server. The DHCP server should specify one
gateway address for the client at least, and this address should be of
the same network segment as the address assigned to the client.
Examples
The example below defines 192.168.12.1 as the default gateway.
default-router 192.168.12.1
Related
commands
Command
Description
ip dhcp pool
Define the name of the DHCP address pool
and enter the DHCP address pool
configuration mode.
dns-server
Use this command to define the DNS server of the DHCP client in the DHPC address pool configuration mode.
The
no
form of this command can be used to delete the definition of the DNS server.
dns-server
ip-address
[
ip-address2…ip-address8
]
no dns-server
Parameter
description
Parameter
Description
ip-address
Define the IP address of the DNS server.
At least one IP address should be
configured.
ip-address2…ip-address8
(Optional) Up to 8 DNS servers can be
configured.
Default
No DNS server is defined by default.
Command
mode
DHCP address pool configuration mode.
Usage
guidelines
When more than one DNS server is defined, the former will possess
higher priority, so the DHCP client will select the next DNS server
only when its communication with the former DNS server fails.
If the RGOS software also acts as the DHCP client, the DNS server
information obtained by the client can be transmitted to the DHCP
client.
Examples
The example below specifies the DNS server 192.168.12.3 for the
DHCP client.
dns-server 192.168.12.3
Summary of Contents for RG-S2600G-I Series
Page 1: ...1 CLI Reference Guide RG S2600G I Series Switches RGOS 10 4 3b16...
Page 5: ...5...
Page 505: ...CLI Reference TCP Configuration Commands Related commands Command Description...
Page 514: ...IP Routing Configuration Commands 1 IP Routing Configuration Commands...
Page 642: ...CLI Reference TACACS Configuration Commands host...
Page 652: ...CLI Reference 802 1X Configuration Commands Ruijie config if end...
Page 776: ...CLI Reference ND Snooping Configuration Commands...
Page 901: ...CLI Reference NFPP Configuration Commands...
Page 902: ...ACL QOS Configuration Commands 1 ACL Configuration Commands 2 QoS Configuration Commands...
Page 999: ...CLI Reference RLDP Configuration Command Command mode Privileged EXEC mode...
Page 1005: ...CLI Reference DLDP Configuration Commands...
Page 1191: ...CLI Reference Guide RSPAN Configuration Commands Platform Description N A...
Page 1192: ...CLI Reference Guide...