
H3C交换机上如何做DHCP的IP和MAC绑定
H3C的核心交换上,做了DHCP,现在要将DHCP的IP和MAC绑定,意思就是说,这个IP只给这个MAC地址,如何进行操作,命令是什么?希望详细一些,谢谢...
H3C的核心交换上,做了DHCP,现在要将DHCP的IP和MAC绑定,意思就是说,这个IP只给这个MAC地址,如何进行操作,命令是什么?希望详细一些,谢谢
展开
展开全部
需要MAC+IP绑定比较麻烦,需要通过定义地址池来为每一个PC机分配地址,而且每个地址池只能为一台PC分配IPIP地址,这就要求有多少台PC就需要定义多少个地址池,下面是一个实例,具体命令如下:
[SwitchA] dhcp server ip-pool 0
[SwitchA-dhcp-pool-0] static-bind ip-address 10.1.1.5
[SwitchA-dhcp-pool-0] static-bind mac-address 000f-e200-0002
[SwitchA-dhcp-pool-0] gateway-list 10.1.1.254
[SwitchA-dhcp-pool-0] dns-list 202.96.209.133 202.96.209.5
[SwitchA] dhcp server ip-pool 1
[SwitchA-dhcp-pool-1] static-bind ip-address 10.1.1.6
[SwitchA-dhcp-pool-1] static-bind mac-address 000f-e200-0003
[SwitchA-dhcp-pool-1] gateway-list 10.1.1.254
[SwitchA-dhcp-pool-0] dns-list 202.96.209.133 202.96.209.5
[SwitchA] dhcp server ip-pool 0
[SwitchA-dhcp-pool-0] static-bind ip-address 10.1.1.5
[SwitchA-dhcp-pool-0] static-bind mac-address 000f-e200-0002
[SwitchA-dhcp-pool-0] gateway-list 10.1.1.254
[SwitchA-dhcp-pool-0] dns-list 202.96.209.133 202.96.209.5
[SwitchA] dhcp server ip-pool 1
[SwitchA-dhcp-pool-1] static-bind ip-address 10.1.1.6
[SwitchA-dhcp-pool-1] static-bind mac-address 000f-e200-0003
[SwitchA-dhcp-pool-1] gateway-list 10.1.1.254
[SwitchA-dhcp-pool-0] dns-list 202.96.209.133 202.96.209.5

2023-05-30 广告
StormProxies是全球大数据IP资源服务商,其住宅代理网络由真实的家庭住宅IP组成,可为企业或个人提供满足各种场景的代理产品。点击免费测试(注册即送1G流量)StormProxies有哪些优势?1、IP+端口提取形式,不限带宽,IP...
点击进入详情页
本回答由Storm代理提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询