当前位置:网站首页>HCIP BGP实验报告
HCIP BGP实验报告
2022-08-03 22:21:00 【山河远阔 人间烟火】
实验要求:

BGP环境,全网可达;R3为IGP启用IGP协议,其余均启用BGP协议
实验过程:

1.配置IP地址

2配置IGP环境

[R3]rip 1
[R3-rip-1]version 2
[R3-rip-1]network 23.0.0.0
[R3-rip-1]network 3.0.0.0
[R3-rip-1]network 34.0.0.0
测试:

4.启用BGP协议,互相建邻
建邻的前提条件为互相可达,所以需先配置静态路由

[R3]bgp 2
[R3-bgp]router-id 3.3.3.3
[R3-bgp]peer 2.2.2.2 as-number 2
[R3-bgp]peer 2.2.2.2 connect-interface LoopBack 0
[R3-bgp]peer 2.2.2.2 next-hop-local
[R3-bgp]peer 4.4.4.4 as-number 2
[R3-bgp]peer 4.4.4.4 connect-interface LoopBack 0
[R3-bgp]peer 4.4.4.4 next-hop-local
路由宣告: BGP协议本身不计算生成路由条目;负责转发从其他BGP邻居传递过来的路由条目;
同时可以将本地路由表中任意路由宣告到BGP协议中来;
BGP宣告配置时,只能宣告本地路由表中的路由条目,且宣告配置中网络号的掩码必须和路由表中的记录完全的一致。

[R5]bgp 3
[R5-bgp]network 55.55.55.0 24

*表示可用 >表示条目优秀—可以加表,可以传递(共享给本地的其他邻居)
边栏推荐
猜你喜欢
随机推荐
4年工作经验,多线程间的5种通信方式都说不出来,你敢信?
Embedded systems: overview
Pay from 0 to 1
电商秒杀系统
CAS:153162-70-0_N-BOC-6-Biotinamidohexylamine
2022-08-02 mysql/stonedb slow SQL-Q18 - memory usage surge analysis
LitJson报错记录
Makefile
CAS: 773888-45-2_BIOTIN ALKYNE_Biotin-alkynyl
October 2019 Twice SQL Injection
E-commerce data warehouse ODS layer-----log data loading
DO280管理和监控OpenShift平台--资源限制
Golang第二章:程序结构
Summary bug 】 【 Elipse garbled solution project code in Chinese!
navicat 连接 mongodb 报错[13][Unauthorized] command listDatabases requires authentication
Codeup brushing notes - simple simulation
嵌入式系统:GPIO
图的基础概念
Unification of east-west and north-south communications
382. Linked List Random Node








