拓扑如下,怎样可以让1.1.1.2ping通2.2.2.2?
(0)
最佳答案
这俩vpn可以通过RT值互通
(0)
怎么配置呀
[SWB]ip vpn-instance vpn1 [SWB-vpn-instance-vpn1]route-distinguisher 100:100 [SWB-vpn-instance-vpn1]vpn-target 100:1 200:1 import-extcommunity [SWB-vpn-instance-vpn1]vpn-target 100:1 export-extcommunity [SWB]ip vpn-instance vpn2 [SWB-vpn-instance-vpn2]route-distinguisher 200:200 [SWB-vpn-instance-vpn2]vpn-target 200:1 100:1 import-extcommunity [SWB-vpn-instance-vpn2]vpn-target 200:1 export-extcommunity [SWB]bgp 100 [SWB-bgp-default]ip vpn-instance vpn1 [SWB-bgp-default-vpn1]address-family ipv4 unicast [SWB-bgp-default-ipv4-vpn1]import-route direct [SWB-bgp-default]ip vpn-instance vpn2 [SWB-bgp-default-vpn2]address-family ipv4 unicast [SWB-bgp-default-ipv4-vpn2]import-route direct
vpn实例路由,ip route-static vpn1 x.x.x.x vpn2 y.y.y.y,再写个回程的
(1)
明白了,谢谢
网关就是1.1.1.1和2.2.2.1
这条路由是什么意思呀,静态路由vpn实例为什么写在前面呀。给解释下好不
明白了,谢谢
需要写基于vpn-instance的路由
(0)
怎么写呀。
怎么写呀。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
[SWB]ip vpn-instance vpn1 [SWB-vpn-instance-vpn1]route-distinguisher 100:100 [SWB-vpn-instance-vpn1]vpn-target 100:1 200:1 import-extcommunity [SWB-vpn-instance-vpn1]vpn-target 100:1 export-extcommunity [SWB]ip vpn-instance vpn2 [SWB-vpn-instance-vpn2]route-distinguisher 200:200 [SWB-vpn-instance-vpn2]vpn-target 200:1 100:1 import-extcommunity [SWB-vpn-instance-vpn2]vpn-target 200:1 export-extcommunity [SWB]bgp 100 [SWB-bgp-default]ip vpn-instance vpn1 [SWB-bgp-default-vpn1]address-family ipv4 unicast [SWB-bgp-default-ipv4-vpn1]import-route direct [SWB-bgp-default]ip vpn-instance vpn2 [SWB-bgp-default-vpn2]address-family ipv4 unicast [SWB-bgp-default-ipv4-vpn2]import-route direct