经某人思路提醒,能否在2950T-24上启用PVLAN实现端口隔离,在3560G/3750G上启用DAI功能,这样ARP攻击就没问题了,测试,确实没问题,但本地二层端口不通,search一下手册,发现命令
ip local-proxy-arp,在interface vlan接口下启用,OK。配置如下: Current configuration : 2345 bytes
!
! Last configuration change at 14:30:26 GMT Wed Nov 5 2008
! NVRAM config last updated at 14:28:34 GMT Wed Nov 5 2008
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname SW3750
!
enable secret 5 $1$sxfr$4l6Wm6DsHk3m6p/olRN260
!
no aaa new-model
clock timezone GMT 8
switch 1 provision ws-c3750g-24ts
ip subnet-zero
ip routing
no ip dhcp conflict logging
! ip dhcp pool client
network 192.168.3.0 255.255.255.0
default-router 192.168.3.1
! ip dhcp snooping vlan 3 ip dhcp snooping information option allow-untrusted ip dhcp snooping ip arp inspection vlan 3 ip arp inspection validate ip
!
!
! errdisable recovery cause dhcp-rate-limit errdisable recovery cause arp-inspection errdisable recovery interval 30
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!