当前位置:网站首页>BGP 第一次实验
BGP 第一次实验
2022-08-02 00:04:00 【Co_ml】
设计拓扑,配置ip ;
1--EBGP邻居关系建立:(r1-r2 r4-r5)
[r1]bgp 1
[r1-bgp]router-id 1.1.1.1
[r1-bgp]peer 12.1.1.2 as-number 2
[r2]bgp 2
[r2-bgp]router-id 2.2.2.2
[r2-bgp]peer 12.1.1.1 as-number 1
2--IBGP邻居关系建立: r2-r3-r4:
[r2]bgp 2
[r2-bgp]peer 3.3.3.3 as-number 2
[r2-bgp]peer 3.3.3.3 connect-interface LoopBack 0
3--EBGP存在多条物理链路 ,使用环回建邻:使用静态ip;
[Huawei]bgp 3
[Huawei-bgp]router-id 5.5.5.5
[Huawei-bgp]peer 4.4.4.4 as-number 2
[Huawei-bgp]peer 4.4.4.4 connect-interface LoopBack 0
4--建立ospf 宣告:
R1:
R2:
R3:
R4:
R5:
基于AS-BY-AS规则,条目在一个AS内部传递时将不修改条目属性;导致通过IBGP邻居学习到的BGP路由可能出现下一跳不可达;导致条目不优;
[r2-bgp]peer 3.3.3.3 next-hop-local
对各个环回宣告:
[r1-bgp]network 11.1.1.0 24
最终路由表:
R5ping R1
边栏推荐
猜你喜欢
随机推荐
els block boundary deformation processing
【三子棋】C语言实现简易三子棋
Difference between JSP out.print() and out.write() methods
Study Notes: The Return of Machine Learning
security cross-domain configuration
LeetCode_322_零钱兑换
基于相关性变量筛选偏最小二乘回归的多维相关时间序列建模方法
LeetCode_279_完全平方数
JSP how to obtain the path information in the request object?
磁盘与文件系统管理
学习英语的网站与资料
uni-app项目总结
利用“栈”快速计算——逆波兰表达式
Axure教程-新手入门基础(小白强烈推荐!!!)
What is the function of the JSP out.println() method?
Graphical LeetCode - 1161. Maximum Sum of In-Layer Elements (Difficulty: Moderate)
els 方块变形
How to design a circular queue?Come and learn~
如何重装Win11?一键重装Win11方法
JSP如何使用page指令让JSP文件支持中文编码呢?