H3C SecPath U200-A--------配置DHCP后,端口无法自动获取地址。请帮我看一下,哪里有问题。谢谢。配置如下:见附件
我看你少了几条命令,按下面案例配置试试吧!http://www.h3c.com/cn/d_201112/735168_30005_0.htm#_Toc310949830
·(3) 配置步骤
(3) 配置步骤
· 配置各接口的IP地址(略)
· 配置DHCP服务
# 使能DHCP服务。
<SecPath> system-view
[SecPath] dhcp enable
# 配置接口GigabitEthernet0/1和GigabitEthernet0/2工作在DHCP服务器模式。
[SecPath] interface GigabitEthernet 0/1
[SecPath-GigabitEthernet0/1] dhcp select server global-pool
[SecPath-GigabitEthernet0/1] quit
[SecPath] interface GigabitEthernet 0/2
[SecPath-GigabitEthernet0/2] dhcp select server global-pool
[SecPath-GigabitEthernet0/2] quit
# 配置不参与自动分配的IP地址(DNS服务器、WINS服务器和网关地址)。
[SecPath] dhcp server forbidden-ip 10.1.1.2
[SecPath] dhcp server forbidden-ip 10.1.1.4
[SecPath] dhcp server forbidden-ip 10.1.1.126
[SecPath] dhcp server forbidden-ip 10.1.1.254
# 配置DHCP父地址池0的共有属性(网段、客户端域名后缀、DNS服务器地址)。
[SecPath] dhcp server ip-pool 0
[SecPath-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[SecPath-dhcp-pool-0] domain-name ***.***
[SecPath-dhcp-pool-0] dns-list 10.1.1.2
[SecPath-dhcp-pool-0] quit
# 配置DHCP子地址池1的属性(网段、网关、地址租用期限、WINS服务器地址)。
[SecPath] dhcp server ip-pool 1
[SecPath-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.128
[SecPath-dhcp-pool-1] gateway-list 10.1.1.126
[SecPath-dhcp-pool-1] expired day 10 hour 12
[SecPath-dhcp-pool-1] nbns-list 10.1.1.4
[SecPath-dhcp-pool-1] quit
# 配置DHCP子地址池2的属性(网段、地址租用期限、网关)。
[SecPath] dhcp server ip-pool 2
[SecPath-dhcp-pool-2] network 10.1.1.128 mask 255.255.255.128
[SecPath-dhcp-pool-2] expired day 5
[SecPath-dhcp-pool-2] gateway-list 10.1.1.254
· 验证配置结果
[SecPath-GigabitEthernet0/1] quit
[SecPath] interface GigabitEthernet 0/2
[SecPath-GigabitEthernet0/2] dhcp select server global-pool
[SecPath-GigabitEthernet0/2] quit
# 配置不参与自动分配的IP地址(DNS服务器、WINS服务器和网关地址)。
[SecPath] dhcp server forbidden-ip 10.1.1.2
[SecPath] dhcp server forbidden-ip 10.1.1.4
[SecPath] dhcp server forbidden-ip 10.1.1.126
[SecPath] dhcp server forbidden-ip 10.1.1.254
# 配置DHCP父地址池0的共有属性(网段、客户端域名后缀、DNS服务器地址)。
[SecPath] dhcp server ip-pool 0
[SecPath-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[SecPath-dhcp-pool-0] domain-name ***.***
[SecPath-dhcp-pool-0] dns-list 10.1.1.2
[SecPath-dhcp-pool-0] quit
# 配置DHCP子地址池1的属性(网段、网关、地址租用期限、WINS服务器地址)。
[SecPath] dhcp server ip-pool 1
[SecPath-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.128
[SecPath-dhcp-pool-1] gateway-list 10.1.1.126
[SecPath-dhcp-pool-1] expired day 10 hour 12
[SecPath-dhcp-pool-1] nbns-list 10.1.1.4
[SecPath-dhcp-pool-1] quit
# 配置DHCP子地址池2的属性(网段、地址租用期限、网关)。
[SecPath] dhcp server ip-pool 2
[SecPath-dhcp-pool-2] network 10.1.1.128 mask 255.255.255.128
[SecPath-dhcp-pool-2] expired day 5
[SecPath-dhcp-pool-2] gateway-list 10.1.1.254
· 验证配置结果
(0)
重启也不行。
桥接模式。也无法获取IP
配置有没问题??
(0)
看我上面的答复,在重新配置下,有用记得采纳哦!
看我上面的答复,在重新配置下,有用记得采纳哦!
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明