已配置过ACL规则,但无法实现网络隔离
设备型号:H3C LS-5500-28C-EI (Comware Software, Version 5.20, Release 2222P12)
网络架构:vlan1 192.168.1.0/24 服务器网段
vlan8 192.168.8.0/24 设备网段(交换机、防火墙等设备)
vlan10 192.168.10.0/23办公网段
vlan30 192.168.20.0/24 项目网段
实现功能:在核心交换机上对项目网段进行隔离并给出对应的ACL(华三交换机),效果如下:
1、vlan30能够访问vlan1上的文件服务器192.168.1.4
2、vlan30和vlan10不能相互访问
3、vlan30和vlan8不能相互访问
(0)
最佳答案
主要配置如下:
acl number 3000 name ACL_VLAN30_OUT
rule 10 permit ip source 192.168.20.0 0 destination 192.168.1.4 0
rule 15 deny ip source 192.168.20.0 0 destination 192.168.10.0 0.0.0.254
rule 20 deny ip source 192.168.20.0 0 destination 192.168.8.0 0.0.0.255
acl number 3001 name ACL_VLAN1_OUT
rule 5 deny ip destination 192.168.20.0 0.0.0.255
rule 10 permit ip
acl number 3003 name ACL_VLAN10_OUT
rule 5 deny ip destination 192.168.20.0 0.0.0.255
rule 10 permit ip
acl number 3004 name ACL_VLAN8_OUT
rule 5 deny ip destination 192.168.20.0 0.0.0.255
rule 10 permit ip
traffic classifier tc_vlan1_out operator and
if-match acl 3001
traffic classifier tc_vlan10_out operator and
if-match acl 3003
traffic classifier tc_vlan30_out operator and
if-match acl 3000
traffic classifier tc_vlan8_out operator and
if-match acl 3004
#
traffic behavior tb_deny
filter deny
traffic behavior tb_permit
filter permit
#
qos policy tp_vlan1_out
classifier tc_vlan1_out behavior tb_deny
qos policy tp_vlan30_out
classifier tc_vlan30_out behavior tb_deny
(0)
换个应用方式就可以实现
(0)
你做的方式不对
请问是什么应用方式呢?
interface GigabitEthernet1/0/1 packet-filter 3000 inbound
你做的方式不对
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明