25-高级路由:BGP路由黑洞——tunnel隧道解决方法

一、实验拓扑:
25-高级路由:BGP路由黑洞——tunnel隧道解决方法
实验要求:
1、R2、R4之间建立Tunnel隧道:部署Tunnel隧道地址、源目地址;
2、R2、R4 BGP进程下:指定Tunnel邻居、Tunnel更新源、Tunnel下一跳。
3、验证:R1#ping 5.5.5.5是否可通。
二、命令部署:
1、R3关闭对等体组peer-group
R3(config)#router bgp 24
R3(config-router)#neighbor pl shutdown

2、R2、R4建立Tunnel隧道
R2(config)#interface tunnel 2
R2(config-if)#ip add 24.1.1.2 255.255.255.0
R2(config-if)#tunnel source 2.2.2.2
R2(config-if)#tunnel destination 4.4.4.4

R4(config)#interface tunnel 4
R4(config-if)#ip add 24.1.1.4 255.255.255.0
R4(config-if)#tunnel source 4.4.4.4
R4(config-if)#tunnel destination 2.2.2.2

3、R2、R4 BGP进程下:指定邻居、更新源、下一跳
R2(config)#router bgp 24
R2(config-router)#neighbor 24.1.1.4 remote-as 24
R2(config-router)#neighbor 24.1.1.4 update-source tunnel 2
R2(config-router)#neighbor 24.1.1.4 next-hop-self

R4(config)#router bgp 24
R4(config-router)#neighbor 24.1.1.2 remote-as 24
R4(config-router)#neighbor 24.1.1.2 update-source tunnel 4
R4(config-router)#neighbor 24.1.1.2 next-hop-self

三、验证:
R1#ping 5.5.5.5 //通

转载于:https://blog.51cto.com/13856092/2137539

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值