发布网友 发布时间:2022-04-24 01:40
共1个回答
热心网友 时间:2023-10-19 07:56
操作步骤
全局启动DHCP服务。
system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]dhcp enable
创建地址池并配置相关属性。
# 配置IP地址池10的属性(地址池范围、DNS地址、出口网关和地址池租期)。
[Huawei]ip pool 10
Info:It's successful to create an IP address pool.
[Huawei-ip-pool-10]network 192.168.10.0 mask 255.255.255.0
[Huawei-ip-pool-10]dns-list 202.102.224.68
[Huawei-ip-pool-10]gateway-list 192.168.10.1
[Huawei-ip-pool-10]lease day 10
[Huawei-ip-pool-10]quit
# 配置IP地址池20的属性(地址池范围、DNS地址、出口网关、NetBOIS地址和地址池租期)
[Huawei]ip pool 10
Info:It's successful to create an IP address pool.
[Huawei-ip-pool-20]network 192.168.20.0 mask 255.255.255.0
[Huawei-ip-pool-20]dns-list 202.102.224.68
[Huawei-ip-pool-20]gateway-list 192.168.20.1
[Huawei-ip-pool-20]lease day 10
[Huawei-ip-pool-20]quit
配置VLANIF接口下地址分配方式。
热心网友 时间:2023-10-19 07:56
操作步骤
全局启动DHCP服务。
system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]dhcp enable
创建地址池并配置相关属性。
# 配置IP地址池10的属性(地址池范围、DNS地址、出口网关和地址池租期)。
[Huawei]ip pool 10
Info:It's successful to create an IP address pool.
[Huawei-ip-pool-10]network 192.168.10.0 mask 255.255.255.0
[Huawei-ip-pool-10]dns-list 202.102.224.68
[Huawei-ip-pool-10]gateway-list 192.168.10.1
[Huawei-ip-pool-10]lease day 10
[Huawei-ip-pool-10]quit
# 配置IP地址池20的属性(地址池范围、DNS地址、出口网关、NetBOIS地址和地址池租期)
[Huawei]ip pool 10
Info:It's successful to create an IP address pool.
[Huawei-ip-pool-20]network 192.168.20.0 mask 255.255.255.0
[Huawei-ip-pool-20]dns-list 202.102.224.68
[Huawei-ip-pool-20]gateway-list 192.168.20.1
[Huawei-ip-pool-20]lease day 10
[Huawei-ip-pool-20]quit
配置VLANIF接口下地址分配方式。