打印

VLAN 之间的访问控制

VLAN 之间的访问控制

路由通过以太网的子口建立与下连交换机TRUNK口相连。
  要求管理VLAN可以访问其它业务VLAN、办公VLAN、财务VLAN、家庭网VLAN,但是其它VLAN不可以访问管理VLAN。
  下面把路由器上的配置附上:
  
  ip access-list extended infilter
  evaluate mppacket
  deny ip 10.54.16.0 0.0.0.255 10.54.17.0 0.0.0.255
  deny ip 10.54.16.0 0.0.0.255 10.54.18.0 0.0.0.255
  deny ip 10.54.16.0 0.0.0.255 10.54.19.0 0.0.0.255
  deny ip 10.54.16.0 0.0.0.255 10.54.31.0 0.0.0.255
  deny ip 10.54.17.0 0.0.0.255 10.54.16.0 0.0.0.255
  deny ip 10.54.17.0 0.0.0.255 10.54.18.0 0.0.0.255
  deny ip 10.54.17.0 0.0.0.255 10.54.19.0 0.0.0.255
  deny ip 10.54.17.0 0.0.0.255 10.54.31.0 0.0.0.255
  deny ip 10.54.18.0 0.0.0.255 10.54.16.0 0.0.0.255
  deny ip 10.54.18.0 0.0.0.255 10.54.17.0 0.0.0.255
  deny ip 10.54.18.0 0.0.0.255 10.54.19.0 0.0.0.255
  deny ip 10.54.18.0 0.0.0.255 10.54.31.0 0.0.0.255
  deny ip 10.54.19.0 0.0.0.255 10.54.16.0 0.0.0.255
  deny ip 10.54.19.0 0.0.0.255 10.54.17.0 0.0.0.255
  deny ip 10.54.19.0 0.0.0.255 10.54.18.0 0.0.0.255
  deny ip 10.54.19.0 0.0.0.255 10.54.31.0 0.0.0.255
  permit ip any any
  exit
  
  ip access-list extended outfilter
  permit ip any any reflect mppacket
  exit
  
  interface fastethernet0
  ip address 10.255.49.2 255.255.255.252
  exit
  
  interface fastethernet1
  exit    
  
  interface fastethernet1.1
  description Guanli
  ip address 10.54.31.254 255.255.255.0
  encapsulation dot1q 1
  exit
  
  interface fastethernet1.2
  description Yewu
  ip address 10.54.17.254 255.255.255.0
  encapsulation dot1q 2
  ip access-group outfilter out
  ip access-group infilter in
  exit
  
  interface fastethernet1.3
  description Bangong
  ip address 10.54.16.254 255.255.255.0
  encapsulation dot1q 3
  ip access-group outfilter out
  ip access-group infilter in
  exit
  
  interface fastethernet1.4
  description Caiwu
  ip address 10.54.18.254 255.255.255.0
  encapsulation dot1q 4
  ip access-group outfilter out
  ip access-group infilter in
  exit
  
  interface fastethernet1.5
  description Jiating
  ip address 10.54.19.254 255.255.255.0
  encapsulation dot1q 5
  ip access-group outfilter out
  ip access-group infilter in
  exit
  
  ip route 0.0.0.0 0.0.0.0 10.255.49.1

TOP


很需要这样的材料 谢谢楼主
收藏了

TOP

TOP

这是什么。。。

TOP

没看懂,能作个解释么?

TOP

哪种交换机,楼主要明示啊

TOP

我觉得如果是cisco交换机的话,我看用PVLAN技术来实现VLAN间限制也不错!

TOP

有点错误在里面.

TOP

正想要呢,谢谢楼主了

TOP

谢谢楼主了

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-9-5 22:28 京ICP证060528 号

Designed By 17DST