静态IP防ARP欺骗配置
2009-12-18 14:25
204 查看
静态IP防ARP欺骗配置
启用arp-check的功能在全局配置模式下开启ARP-CHECK功能S2126G-2(config)#port-security arp-check 启用anti-arp-spoofing功能S2126G-2(config-if)#anti-ARP-Spoofing ip 网关地址启用端口安全并手动绑定IP与MACS2126G-2(config)# interface fastethernet 端口号#进入接口 S2126G-2(config-if)#switchport port-security #启用端口安全 S2126G-2(config-if)#switchport port-security mac-address MAC 地址ip-address IP地址 #在接口下绑定PC的IP与MAC S2126G-2(config-if)# switchport port-security maximum 1 #设置此端口最多学习1个MAC地址,那么此接口不会再去学习其它的MAC地址了。 [/b] 注:[/b]若此接口增加PC。必须在交换机的对应接口上将IP与MAC绑定一下。 例如: PC的IP:192.168.44.57 MAC:2222.2222.2222 S2126G-2(config)#int f 0/3[/b] S2126G-2(config-if)# switchport port-security maximum 2[/b] #将最大学习MAC地址的值改设为二,否则将无法绑定新机器 S2126G-2(config-if)#switchport port-security mac-address 2222.2222.2222 ip-address 192.168.44.57[/b] |
相关文章推荐
- 静态IP防ARP欺骗配置
- vmware 中配置centos 7 静态IP
- 1 weekend110的Linux带图形系统安装 + 网络配置 + 静态IP设置
- ubuntu下配置静态IP
- centos-7配置静态ip
- 静态配置ip
- 虚拟机下ubuntu配置静态IP
- 000_如何在virtualbox安装CentOS6并配置桥接网络以及静态ip
- 【树莓派】树莓派网络配置:静态IP、无线网络、服务等
- CentOS7.x 配置静态ip
- VMware配置centos虚拟机静态ip
- centos 7配置静态IP 后 service network restart 成功 IP仍然保持原来值不变
- Ubuntu Server 12.04 静态IP简洁配置
- ubuntu下静态IP的配置(来源于51CTO.com)
- virtualbox centos虚拟机 配置静态IP
- 【Linux】VMware虚拟机中如何配置静态IP
- Fedora 17 使用虚拟机桥接上网 静态配置固定IP 的方法
- 为 instance 配置静态 IP - 每天5分钟玩转 OpenStack(157)
- NAT连接虚拟机和主机的通信(静态IP配置完整图解,测试通过可用)附vmware tools的安装(未完待续)--第一篇
- VMware CentOS 7 配置静态IP