侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

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

2023-02-02 星期四 / 0 评论 / 0 点赞 / 49 阅读 / 1415 字

一、实验拓扑:实验要求:1、R2、R4之间建立Tunnel隧道:部署Tunnel隧道地址、源目地址;2、R2、R4 BGP进程下:指定Tunnel邻居、Tunnel更新源、Tunnel下一跳。3、验证

.

一、实验拓扑:

实验要求:
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 //通

.

广告 广告

评论区