H3C交换机(路由器)如何配置DHCP?
的有关信息介绍如下:H3C>system-view进入系统视图[H3C]dhcp server ip-pool h3c创建DHCP 地址池[H3C-dhcp-pool-h3c]network 192.168.1.0 mask 255.255.255.0指定可以分配的地址段[H3C-dhcp-pool-h3c]gateway-list 192.168.1.1指定网关,与lan口的地址一致[H3C-dhcp-pool-h3c]dns-list 202.202.202.202指定DNS server地址[H3C-dhcp-pool-h3c]expired day 0 hour 1 minute 10 DHCP租期时间设置[H3C-dhcp-pool-h3c]domain-name huawei-3com.com指定域名[H3C-dhcp-pool-h3c]quit[H3C]interface Ethernet1/0进入到lan口[H3C-Ethernet1/0]ip address 192.168.1.1 255.255.255.0配置lan口地址[H3C-Ethernet1/0]quit[H3C]dhcp server forbidden-ip 192.168.1.1 保留网关的地址[H3C]quitsave保存配置