免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1652 | 回复: 0
打印 上一主题 下一主题

华为交换机dhcp及mac绑定 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-01 21:43 |只看该作者 |倒序浏览
#三层接口
interface Vlan 100
ip address 172.16.0.2  255.255.255.0
dhcp select interface
dhcp server static-bind ip-address 172.16.0.3  mac-address 0000-6ca0-7245
dhcp server static-bind ip-address 172.23.0.4  mac-address 0000-5e39-43bf
dhcp server dns-list 200.200.200.1 200.200.200.2 (dns server)
dhcp server domain-name ciscolinux.cn
#物理接口
interface GigabitEthernet1/0/1
stp edged-port enable
port access vlan 100
arp static 172.16.0.3 0000-6ca0-7245 100
#
interface GigabitEthernet1/0/2
stp edged-port enable
port access vlan 100
arp static 172.16.0.4 0000-5e39-43bf 100
#禁止发布地址
dhcp server forbidden-ip 172.16.0.100 172.16.0.254
#绑定错误的mac地址
arp static 172.16.0.101 00fe-edef-0254
arp static 172.16.0.102 00fe-edef-0254
arp static 172.16.0.103 00fe-edef-0254
--------------------------------------
-------------------------------------
arp static 172.16.0.252 00fe-edef-0254
arp static 172.16.0.253 00fe-edef-0254
arp static 172.16.0.254 00fe-edef-0254

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/42728/showart_332105.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP