免费注册 查看新帖 |

Chinaunix

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

Fortigate 300 2.8以上版本如何实现IP/Mac绑定? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-08-30 19:50 |只看该作者 |倒序浏览
5可用积分
如题

[ 本帖最后由 liugr3988 于 2008-8-30 21:56 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-08-30 21:45 |只看该作者

找到了

1、在防火墙上定义对应的IP-mac对应表
config firewall ipmacbinding table
    edit 1
        set ip 192.167.1.111
        set mac 00:0a:eb:7c:16:05
        set name "robbie"
        set status enable
    next
end
2、在防火墙上定义ip-mac绑定的规则
config firewall ipmacbinding setting
    set bindthroughfw enable ( 符合ip-mac绑定表允许通过防火墙,缺省生效)
    set bindtofw enable      (符合ip-mac绑定表允许管理防火墙)
end

3、在防火墙对应的接口生效ip-mac绑定规则
Fortigate-60 # config sys inter
(interface)# edit internal
(internal)# set ipmac
disable    disable setting
enable     enable setting

(internal)# set ipmac en
(internal)# end
修改主机IP,后做测试

论坛徽章:
0
3 [报告]
发表于 2008-08-30 21:48 |只看该作者

文章库中是这么解释的:

:wink: IP/MAC binding on the FortiGate unit has two distinct purposes:
1.        (FIREWALL) anti-spoofing
2.        (DHCP) address reservation
For FortiOS v2.80
•        To configure anti-spoofing IP/MAC binding for the firewall, use the CLI command config firewall ipmacbinding.
•        To configure IP/MAC binding for DHCP address reservation go to System > DHCP > IP/MAC Binding or use the CLI command config system dhcp reserved-address.
Note: Since there is no DHCP configuration in Transparent mode, IP/MAC binding is not displayed in the web-based manager.
For FortiOS v3.0
•        To configure anti-spoofing IP/MAC binding for the firewall, use the CLI command config firewall ipmacbinding.
•        To configure IP/MAC binding for DHCP address reservation use the CLI command config system dhcp reserved-address.

论坛徽章:
0
4 [报告]
发表于 2008-08-30 21:50 |只看该作者

回复 #1 liugr3988 的帖子

:wink:
单位防火墙配置,需要用到这方面的问题,找了一个下午,没找到答案,故写出这个帖子,请求帮助,同时自己接着找。最终给找到了,为方便他人,将找到的答案写在上面。希望各位不要认为我是在作弄人。谢谢!

[ 本帖最后由 liugr3988 于 2008-8-30 22:11 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2008-09-01 14:29 |只看该作者
fortigate是nS出来的。不知道fortigate下的cli也有命令绑定的功能?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP