当前位置: 首页> 新闻> 资讯 > 网络运营是什么工作_微信官网下载安装_百度关键词优化师_重庆网站页面优化

网络运营是什么工作_微信官网下载安装_百度关键词优化师_重庆网站页面优化

时间:2025/8/24 6:21:26来源:https://blog.csdn.net/m0_74244546/article/details/146444975 浏览次数:0次
网络运营是什么工作_微信官网下载安装_百度关键词优化师_重庆网站页面优化

背景:在做毕设时,发现规划的不是那么合理,vrrp主备切换后,ipsec隧道并没有跟着切换到与备防火墙建立隧道,这是因为配置了双出口,路由的设计导致vrrp主备切换ipsec隧道没有跟着切换。

fw1为主,fw2为备

vrrp配置:

ip service-set isakmp type object 16
service 0 protocol udp destination-port 500
service 1 protocol udp destination-port 4500
quitipsec proposal 10
esp authentication-algorithm sha2-256
esp encryption-algorithm aes-256
quitike proposal 1
encryption-algorithm aes-256
dh group14
authentication-algorithm sha2-256
authentication-method pre-share
integrity-algorithm hmac-sha2-256
prf hmac-sha2-256
quitike peer fw
undo version 2
pre-shared-key huawei@123
ike-proposal 1
remote-address 142.42.42.1
quitacl number 3000
rule 5 permit ip source 10.0.0.0 0.0.255.255 destination 142.42.42.0 0.0.0.255
quitipsec policy ipsec 10 isakmp
security acl 3000
ike-peer fw
proposal 10
quitrule name isakmp
source-zone local
source-zone untrust
destination-zone local
destination-zone untrust
source-address 10.0.28.2 mask 255.255.255.255
source-address 142.42.42.1 mask 255.255.255.255
destination-address 10.0.28.2 mask 255.255.255.255
destination-address 142.42.42.1 mask 255.255.255.255
service esp
service isakmp
action permit

注:对端需要配置两个ike peer ?(rt1、rt2)

ike peer fw1
undo version 2
pre-shared-key huawei@123
ike-proposal 1
remote-address 142.42.2.100
quitike peer fw2
undo version 2
pre-shared-key huawei@123
ike-proposal 1
remote-address 142.42.4.100
quit

这边只放了单台防火墙ipsec配置,另外两台防火墙配置大差不差,需要修改安全策略,对端防火墙的ike peer的remote address,以及acl的感兴趣流。

另外就是要考虑好路由的走向,因为是双出口,当主备切换后,确保路由也会进行切换,fw1走r1出口出去,fw2走r2出口出去,避免来回路径不一致,确保ipsec隧道协商成功。

关键字:网络运营是什么工作_微信官网下载安装_百度关键词优化师_重庆网站页面优化

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: