拓扑如上,出口的防火墙上需要在接入一条电信的宽带,希望实现的功能:
1. 2F 、3F、10F走新接入的宽带其中 2F 、3F、10F对应的网络段分别是172.20.0.0,172.18.0.0 ,172.16.0.0,5F和无线的网段走原来的路线保持不变,实现负载均衡;
2.防火墙双出口的某一条链路down,所有楼层nat成同一地址段出去,实现链路冗余。
如何配置,是要策略路由吗??
(0)
最佳答案
1 ,做nat,nat转发的acl里包含所有上网的网段,分别应用在连接两条外线的wan口上
2,做pbr,将 2F 、3F、10F 对应的网段,下一跳指向新接入带宽的下一跳,其余网段的下一跳指向原有带宽的下一跳
3, 将策略应用到防火墙连接交换机的lan口上
4,设置上两条链路的缺省路由
(0)
1.你好,2F,3F,10F对应的网段我设置了3个acl,分别匹配3个route-policy,搭配新接入宽带的下一跳,然后将这3个策略分别应用在防火墙连接交换机的接口上,可以吗? 2.其余的网段我不做下一跳的指向,不做任何配置,让其从原有的宽带走,就是我将原来的宽带链路的缺省路由默认优先级是60,新加入的宽带缺省路由的优先级设置为70 上面的两条做的是合理的吗! 防火墙上的配置 acl 2000 rule 0 permit acl 3010 rule 0 permit ip source 172.20.0.0 0.0.255.255 (2楼的网段) rule 5 deny ip acl 3020 rule 0 permit ip source 172.18.0.0 0.0.255.255 (3楼的网段) rule 5 deny ip acl 3030 rule 0 permit ip source 172.22.0.0 0.0.255.255 (10楼的网段) rule 5 deny ip 新加入的宽带: interface GigabitEthernet0/6 port link-mode route ip address 116.236.168.50 255.255.252 nat outbound 2000 zone name Untrust id 4 import interface GigabitEthernet0/6 配置策略路由: route-policy 2Floor permit node 10 (2楼走新宽带) if-matchacl 3010 applyip-address next-hop 116.236.168.51 route-policy 3Floor permit node 10 (3楼走新宽带) if-matchacl 3020 applyip-address next-hop 116.236.168.51 route-policy 10Floor permit node 10 (10楼走新宽带) if-matchacl 3030 applyip-address next-hop 116.236.168.51 分别应用在防火墙的接口: interface GigabitEthetnet0/9 (2楼核心交换机连接在防火墙上的接口) ip policy route-policy 2Floor interface GigabitEthetnet0/10 3楼 ip policy route-policy 3Floor interface GigabitEthetnet0/7 10楼 ip policy route-policy 10Floor 新加一条公网路由: ip route-static 0.0.0.0 0.0.0.0 116.236.168.51 preference 70
防火墙上的配置 acl 2000 rule 0 permit acl 3010 rule 0 permit ip source 172.20.0.0 0.0.255.255 (2楼的网段) rule 5 deny ip acl 3020 rule 0 permit ip source 172.18.0.0 0.0.255.255 (3楼的网段) rule 5 deny ip acl 3030 rule 0 permit ip source 172.22.0.0 0.0.255.255 (10楼的网段) rule 5 deny ip 新加入的宽带: interface GigabitEthernet0/6 port link-mode route ip address 116.236.168.50 255.255.252 nat outbound 2000 zone name Untrust id 4 import interface GigabitEthernet0/6 配置策略路由: route-policy 2Floor permit node 10 (2楼走新宽带) if-matchacl 3010 applyip-address next-hop 116.236.168.51 route-policy 3Floor permit node 10 (3楼走新宽带) if-matchacl 3020 applyip-address next-hop 116.236.168.51 route-policy 10Floor permit node 10 (10楼走新宽带) if-matchacl 3030 applyip-address next-hop 116.236.168.51 分别应用在防火墙的接口: interface GigabitEthetnet0/9 (2楼核心交换机连接在防火墙上的接口) ip policy route-policy 2Floor interface GigabitEthetnet0/10 3楼 ip policy route-policy 3Floor interface GigabitEthetnet0/7 10楼 ip policy route-policy 10Floor 新加一条公网路由: ip route-static 0.0.0.0 0.0.0.0 116.236.168.51 preference 70
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
防火墙上的配置 acl 2000 rule 0 permit acl 3010 rule 0 permit ip source 172.20.0.0 0.0.255.255 (2楼的网段) rule 5 deny ip acl 3020 rule 0 permit ip source 172.18.0.0 0.0.255.255 (3楼的网段) rule 5 deny ip acl 3030 rule 0 permit ip source 172.22.0.0 0.0.255.255 (10楼的网段) rule 5 deny ip 新加入的宽带: interface GigabitEthernet0/6 port link-mode route ip address 116.236.168.50 255.255.252 nat outbound 2000 zone name Untrust id 4 import interface GigabitEthernet0/6 配置策略路由: route-policy 2Floor permit node 10 (2楼走新宽带) if-matchacl 3010 applyip-address next-hop 116.236.168.51 route-policy 3Floor permit node 10 (3楼走新宽带) if-matchacl 3020 applyip-address next-hop 116.236.168.51 route-policy 10Floor permit node 10 (10楼走新宽带) if-matchacl 3030 applyip-address next-hop 116.236.168.51 分别应用在防火墙的接口: interface GigabitEthetnet0/9 (2楼核心交换机连接在防火墙上的接口) ip policy route-policy 2Floor interface GigabitEthetnet0/10 3楼 ip policy route-policy 3Floor interface GigabitEthetnet0/7 10楼 ip policy route-policy 10Floor 新加一条公网路由: ip route-static 0.0.0.0 0.0.0.0 116.236.168.51 preference 70