H3C交换机(路由器)如何配置DHCP?

发布网友 发布时间:2022-04-20 11:39

我来回答

1个回答

热心网友 时间:2023-07-10 17:02

#给Vlan定义地址并配置其工作在服务器模式\x0d\x0ainterface Vlan-interface11\x0d\x0a ip address 172.18.11.1 255.255.255.0 \x0d\x0a dhcp select server global-pool\x0d\x0a#给Vlan定义地址并配置其工作在服务器模式\x0d\x0ainterface Vlan-interface12\x0d\x0a ip address 172.18.12.1 255.255.255.0 \x0d\x0a dhcp select server global-pool\x0d\x0a#给Vlan定义地址并配置其工作在服务器模式\x0d\x0ainterface Vlan-interface13\x0d\x0a ip address 172.18.13.1 255.255.255.0 \x0d\x0a dhcp select server global-pool\x0d\x0a#定义DHCP实例名称,地址池,网关地址,DNS地址\x0d\x0adhcp server ip-pool vlan11\x0d\x0a network 172.18.11.0 mask 255.255.255.0\x0d\x0a gateway-list 172.18.11.1 \x0d\x0a dns-list 172.18.11.1 8.8.8.8 8.8.4.4 202.106.0.20 \x0d\x0a#定义DHCP实例名称,地址池,网关地址,DNS地址\x0d\x0adhcp server ip-pool vlan12\x0d\x0a network 172.18.12.0 mask 255.255.255.0\x0d\x0a gateway-list 172.18.12.1 \x0d\x0a dns-list 172.18.12.1 8.8.8.8 8.8.4.4 202.106.0.20 \x0d\x0a#定义DHCP实例名称,地址池,网关地址,DNS地址\x0d\x0adhcp server ip-pool vlan13\x0d\x0a network 172.18.13.0 mask 255.255.255.0\x0d\x0a gateway-list 172.18.13.1 \x0d\x0a dns-list 172.18.13.1 8.8.8.8 8.8.4.4 202.106.0.20 \x0d\x0a\x0d\x0a#定义各DHCP地址池禁止分配的IP地址(开始~结束)\x0d\x0a dhcp server forbidden-ip 172.18.12.1 172.18.12.200\x0d\x0a dhcp server forbidden-ip 172.18.11.1 172.18.11.200\x0d\x0a dhcp server forbidden-ip 172.18.13.1 172.18.13.200
声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。
E-MAIL:11247931@qq.com