4.7 DHCP server
『说明』
DHCP 的主要用途是:通过DHCP服务器的协助来控管各个客户机(执行中的用户端)上不可缺少的网络配置参数,包括DNS(Domain Name Service 域名服务),WINS(Windows Internet Name Service Windows互联网名字服务)等。
【Router】
|
! |
适用版本vrp1.74 |
[Router] |
dhcp enable |
|
[Router] |
dhcp server ip-pool 1 |
|
[Router-dhcp1] |
network 110.10.10.0 mask 255.255.255.0 |
|
[Router-dhcp1] |
gateway-list 110.10.10.1 |
|
[Router-dhcp1] |
expired day 24 |
|
[Router-dhcp1] |
domain-name Huawei.com |
|
[Router-dhcp1] |
dns-list 120.1.0.1 |
|
[Router-dhcp1] |
nbns-list 121.1.1.1 |
|
|
! |
|
[Router] |
interface Ethernet0 |
|
[Router-ethernet0] |
ip address 110.10.10.1 255.255.255.0 |
|
|
! |
|