当前位置:网站首页>BGP综合实验
BGP综合实验
2022-08-11 04:58:00 【山河远阔 人间烟火】
实验要求:

实验过程:
1.配置IP地址:
[R1-LoopBack0]ip address 1.1.1.1 24
[R1-GigabitEthernet0/0/0]ip address 12.1.1.1 24





[R8-LoopBack0]ip add 8.8.8.8 24
[R8-GigabitEthernet0/0/0]ip add 78.1.1.8 24
2.在R2-R7上启用ospf
[R2]ospf 1
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.255.255
[R2]interface LoopBack 1
[R2-LoopBack1]ospf network-type broadcast
3.完成BGP联邦设置


[R4]
[R4]bgp 64512
[R4-bgp]confederation id 2
[R4-bgp]peer 172.16.0.3 as-number 64512
[R4-bgp]peer 172.16.0.3 connect-interface LoopBack 0
[R4-bgp]peer 172.16.0.3 next-hop-local
[R4-bgp]
[R4-bgp]peer 172.16.0.7 as-number 64513
[R4-bgp]peer 172.16.0.7 ebgp-max-hop 2

[R5]bgp 64513
[R5-bgp]confederation id 2
[R5-bgp]confederation peer-as 64512
[R5-bgp]peer 172.16.0.2 connect-interface LoopBack 0
[R5-bgp]peer 172.16.0.2 ebgp-max-hop 2
[R5-bgp]peer 172.16.0.2 as-number 64512
[R5-bgp]
[R5-bgp]peer 172.16.0.6 as-number 64513
[R5-bgp]peer 172.16.0.6 next-hop-local
[R5-bgp]peer 172.16.0.6 connect-interface LoopBack 0

[R6]bgp 64513
[R6-bgp]confederation id 2
[R6-bgp]peer 172.16.0.5 as-number 64513
[R6-bgp]peer 172.16.0.5 connect-interface LoopBack 0
[R6-bgp]peer 172.16.0.5 next-hop-local
[R6-bgp]
[R6-bgp]peer 172.16.0.7 as-number 64513
[R6-bgp]peer 172.16.0.7 next-hop-local
[R6-bgp]peer 172.16.0.7 connect-interface LoopBack 0

[R7]bgp 64513
[R7-bgp]confederation id 2r
[R7-bgp]confederation peer-as 64512
[R7-bgp]peer 172.16.0.4 as-number 64512
[R7-bgp]peer 172.16.0.4 connect-interface LoopBack 0
[R7-bgp]peer 172.16.0.4 ebgp-max-hop 2
[R7-bgp]
[R7-bgp]peer 172.16.0.6 as-number 64513
[R7-bgp]peer 172.16.0.6 connect-interface LoopBack 0
[R7-bgp]peer 172.16.0.6 next-hop-local
[R7-bgp]
[R7-bgp]peer 78.1.1.8 as-number 3

[R8]bgp 3
[R8-bgp]peer 78.1.1.7 as-number 2

4.在R3和R6上完成反射器设置

[R6]bgp 64513
[R6-bgp]peer 172.16.0.7 reflect-client
5.宣告

6.在R2和R7上使用重发布实现实验要求1

7.AS2网段地址172.16.0.0/16减少路由条目数量
[R2]bgp 64512
[R2-bgp]aggregate 172.16.0.0 21 detail-suppressed
[R7]bgp 64513
[R7-bgp]aggregate 172.16.0.0 21 detail-suppressed
边栏推荐
- 论文笔记:BBN: Bilateral-Branch Network with Cumulative Learningfor Long-Tailed Visual Recognition
- Harvesting of radio frequency energy
- 一起Talk编程语言吧
- 网络安全培训机构哪家好?排名怎么选择?
- 1815. Get the maximum number of groups of fresh donuts state compression
- Embedded Sharing Collection 33
- MFC 进程间通信(共享内存)
- 优化是一种习惯●出发点是“站在靠近临界“的地方
- 如何阅读论文
- I wrote some code in my resume, but I still can't pass the interview
猜你喜欢

Switch and Router Technology - 28 - NSSA Areas for OSPF

form表单提交数据库中文变成问号

C language antithesis: who is the murderer!

How to switch Green Shield encryption to IP-Guard encryption smoothly

form form submission database Chinese becomes a question mark

Switch and Router Technology - 36-Port Mirroring

3 Module 2: Use of scientific research tools

Application layer protocol - DNS

简历里写了会代码,却依然过不了面试这一关

绿盾加密如何顺利切换成IP-Guard加密
随机推荐
【FPGA教程案例49】控制案例1——基于FPGA的PID控制器verilog实现
Switch and Router Technology-29-OSPF Virtual Link
Kong实现禁止国外IP访问
交换机和路由器技术-30-标准ACL
To break the bottleneck of transactional work, the gentleman signs the electronic contract to release the "source power" of HR!
如何缓解压力、拒绝内耗【1】
网络协议1
交换机和路由器技术-33-静态NAT
paddlepaddle implements CS_CE Loss and incorporates PaddleClas
Switch and Router Technology - 28 - NSSA Areas for OSPF
Switch and Router Technology-31-Extended ACL
2021年网络规划设计师下午案例题
FPGA engineer interview questions collection 121~130
ERROR: Could not install packages due to an OSError: [Errno 2] 没有那个文件或目录: ‘/data/xxxx
Australia cyberspace security system construction
视觉任务种常用的类别文件之一json文件
Mysql: set the primary key to automatically increase the starting value
应用层协议——DNS
交换机和路由器技术-25-OSPF多区域配置
0基础转行软件测试,自学3个月,浅拿12k*13薪offer