如图,因为发现外网访问DMZ区域的包,被防火墙转发到核心交换机。
在防火墙建的VLAN,并且给了个地址做网关,到DMZ区域的地址走的是自动生成的路由,下一跳是这个VLAN的地址。
抓包发现,数据包到防火墙后,防火墙查询MAC表,这个地址绑定的是核心交换机和防火墙级联的端口,所以数据包转发到了交换机。
请问这种情况是怎么造成的? 应该怎么解决。
辛苦老师们给看一下。
(0)
最佳答案
# version 7.1.064, Release 9510P05
# sysname F100
# clock timezone Beijing add 08:00:00 clock protocol ntp context 1
# context Admin id 1
# telnet server enable
# irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1
# password-recovery enable
# vlan 1
# vlan 10
# vlan 888
# object-group ip address 0.181 0 network host address 18.0.0.181
# object-group ip address 909 description т¼¼˵909 0 network host address 马赛克 10 network host address 马赛克
# interface NULL0
# interface Vlan-interface1 ip address 10.0.0.2 255.255.255.0
# interface Vlan-interface888 ip address 18.0.0.254 255.255.255.0
# interface GigabitEthernet1/0/0 port link-mode route combo enable fiber ip address 192.168.0.1 255.255.255.0
# interface GigabitEthernet1/0/1 port link-mode route combo enable fiber
# interface GigabitEthernet1/0/4 port link-mode route
# interface GigabitEthernet1/0/5 port link-mode route
# interface GigabitEthernet1/0/6 port link-mode route
# interface GigabitEthernet1/0/7 port link-mode route
# interface GigabitEthernet1/0/8 port link-mode route
# interface GigabitEthernet1/0/11 port link-mode route
# interface GigabitEthernet1/0/2 port link-mode bridge
# interface GigabitEthernet1/0/3 port link-mode bridge
# interface GigabitEthernet1/0/9 port link-mode bridge port access vlan 888
# interface GigabitEthernet1/0/10 port link-mode bridge port access vlan 888
# object-policy ip Any-Any rule 10000 drop counting
# object-policy ip DMZ-DMZ rule 0 pass counting
# object-policy ip DMZ-Local rule 0 pass counting
# object-policy ip DMZ-Trust rule 0 pass counting rule 1 drop counting
# object-policy ip DMZ-Untrust rule 0 pass counting
# object-policy ip Local-DMZ rule 0 pass counting
# object-policy ip Local-Trust rule 0 pass counting
# object-policy ip Local-Untrust rule 0 pass counting
# object-policy ip Trust-DMZ rule 0 pass counting
# object-policy ip Trust-Local rule 0 pass counting
# object-policy ip Trust-Untrust rule 0 pass counting
# object-policy ip Untrust-DMZ rule 1 pass source-ip 909 destination-ip 0.181 counting rule 1 comment 909·Ďȵ0022 rule 0 drop counting # object-policy ip Untrust-Local rule 0 pass counting
# object-policy ip Untrust-Trust rule 0 drop counting
# security-zone name Local # security-zone name Trust import interface Vlan-interface1 import interface GigabitEthernet1/0/3 vlan 1
# security-zone name DMZ import interface Vlan-interface888 import interface GigabitEthernet1/0/9 vlan 888
# security-zone name Untrust import interface GigabitEthernet1/0/2 vlan 1
# security-zone name Management import interface GigabitEthernet1/0/0
# zone-pair security source Any destination Any object-policy apply ip Any-Any packet-filter 3000
# zone-pair security source DMZ destination DMZ object-policy apply ip DMZ-DMZ
# zone-pair security source DMZ destination Local object-policy apply ip DMZ-Local
# zone-pair security source DMZ destination Trust object-policy apply ip DMZ-Trust
# zone-pair security source DMZ destination Untrust object-policy apply ip DMZ-Untrust
# zone-pair security source Local destination DMZ object-policy apply ip Local-DMZ
# zone-pair security source Local destination Trust object-policy apply ip Local-Trust
# zone-pair security source Local destination Untrust object-policy apply ip Local-Untrust
# zone-pair security source Trust destination DMZ object-policy apply ip Trust-DMZ
# zone-pair security source Trust destination Local object-policy apply ip Trust-Local
# zone-pair security source Trust destination Untrust object-policy apply ip Trust-Untrust
# zone-pair security source Untrust destination DMZ object-policy apply ip Untrust-DMZ
# zone-pair security source Untrust destination Local object-policy apply ip Untrust-Local
# zone-pair security source Untrust destination Trust object-policy apply ip Untrust-Trust
# scheduler logfile size 16
# line class aux user-role network-operator
# line class console user-role network-admin
# line class vty user-role network-operator
# line aux 0 user-role network-admin
# line con 0 authentication-mode scheme user-role network-admin
# line vty 0 63 authentication-mode scheme user-role network-admin
# ip route-static 0.0.0.0 0 10.0.0.1 ip route-static 172.0.0.0 8 10.0.0.4 ip route-static 192.168.0.0 16 10.0.0.4
# ssh server enable
# acl advanced 3000 rule 0 permit ip
# domain system
# aaa session-limit ftp 16 aaa session-limit telnet 16 aaa session-limit ssh 16 domain default enable system
# role name level-0 description Predefined level-0 role
# role name level-1 description Predefined level-1 role
# role name level-2 description Predefined level-2 role
# role name level-3 description Predefined level-3 role
# role name level-4 description Predefined level-4 role
# role name level-5 description Predefined level-5 role
# role name level-6 description Predefined level-6 role
# role name level-7 description Predefined level-7 role
# role name level-8 description Predefined level-8 role
# role name level-9 description Predefined level-9 role
# role name level-10 description Predefined level-10 role
# role name level-11 description Predefined level-11 role
# role name level-12 description Predefined level-12 role
# role name level-13 description Predefined level-13 role
#role name level-14 description Predefined level-14 role
# user-group system
# local-user admin class manage password hash 马赛克== service-type ssh telnet terminal https authorization-attribute user-role level-3 authorization-attribute user-role network-admin authorization-attribute user-role network-operator
# ip https enable # return
(0)
三层转发还是二层,三层转发不看mac地址表
(0)
把防火墙配置放上来分析下。
(0)
放上来了,辛苦看下
放上来了,辛苦看下
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
"在防火墙建的VLAN,并且给了个地址做网关",我没看到你的vlan888的网关设置