首页 科技问答 净胡沙,S7508E-X

净胡沙,S7508E-X

科技问答 202
1676096830,

问题描述:

版本H3C Comware Platform Software Comware Software, Version 5.20, Release 6901P01

地址池绑定MAC

static-bind ip-address 192.168.88.20 29 

提示Error: Cannot configure this pool as a static binding pool.

看了命令手册说每个地址池只能绑定一个,我这确实是第一个,还有的资料说可以单独配一个地址池

请大神帮忙解答

最佳答案

配置指导中有相关的使用说明,可以参考下,例如:

 static-bind ip-addressstatic-bind mac-addressstatic-bind client-identifier命令必须配合使用。

参考链接:http://www.h3c.com/cn/d_


我知道要配合使用,但是确实不行 我之前看过配置指导了,很笼统看不明白,能不能给个典型配置我看看,谢谢 我的这个地址池希望有些PC静态绑定IP,有些PC自动分配IP

净胡沙 发表时间:

(2) 配置DHCP服务 # 使能DHCP服务。 [SwitchA] DHCP enable # 配置VLAN接口2工作在DHCP服务器模式。 [SwitchA] interface vlan-interface 2 [SwitchA-Vlan-interface2] dhcp select server global-pool [SwitchA-Vlan-interface2] quit # 配置DHCP地址池0,采用静态绑定方式为Switch B分配IP地址。 [SwitchA] dhcp server ip-pool 0 [SwitchA-dhcp-pool-0] static-bind ip-address 10.1.1.5 25 [SwitchA-dhcp-pool-0] static-bind client-identifier 3030-3066-2e65-3234-392e-3830-3530-2d56-6c61-6e2d-696e-7465-7266-6163-6532 [SwitchA-dhcp-pool-0] dns-list 10.1.1.2 [SwitchA-dhcp-pool-0] gateway-list 10.1.1.126 [SwitchA-dhcp-pool-0] quit (3) 验证配置结果 配置完成后,Switch B可以从DHCP服务器Switch A申请到IP地址10.1.1.5,并获取相关网络配置参数。通过display dhcp server ip-in-use命令可以查看DHCP服务器为客户端分配的IP地址。

请叫我网络小雷锋....... 发表时间:

(2)      配置DHCP服务

# 使能DHCP服务。

[SwitchA] dhcp enable

# 配置VLAN接口2工作在DHCP服务器模式。

[SwitchA] interface vlan-interface 2

[SwitchA-Vlan-interface2] dhcp select server global-pool

[SwitchA-Vlan-interface2] quit

# 配置DHCP地址池0,采用静态绑定方式为Switch B分配IP地址。

[SwitchA] dhcp server ip-pool 0

[SwitchA-dhcp-pool-0] static-bind ip-address 10.1.1.5 25

[SwitchA-dhcp-pool-0] static-bind client-identifier 3030-3066-2e65-3234-392e-3830-3530-2d56-6c61-6e2d-696e-7465-7266-6163-6532

[SwitchA-dhcp-pool-0] dns-list 10.1.1.2

[SwitchA-dhcp-pool-0] gateway-list 10.1.1.126

[SwitchA-dhcp-pool-0] quit

(3)      验证配置结果

配置完成后,Switch B可以从DHCP服务器Switch A申请到IP地址10.1.1.5,并获取相关网络配置参数。通过display dhcp server ip-in-use命令可以查看DHCP服务器为客户端分配的IP地址。

我知道要配合使用,但是确实不行

我之前看过配置指导了,很笼统看不明白,能不能给个典型配置我看看,谢谢

我的这个地址池希望有些PC静态绑定IP,有些PC自动分配IP

可以看看官网上的典型配置举例中的相关案例: http://www.h3c.com/cn/d_

,S7508E-X