BGP综合实验

该实验构建了一个包含电信和联通AS的BGP网络,内部使用OSPF,AS间通过IBGP和EBGP邻居关系实现路由交换。确保在R1-R9链路故障时,电信PC仍能通过AS1通信。
摘要由CSDN通过智能技术生成

目录

一、实验拓扑

二、实验要求

三、实验配置

1.合理IP地址 

2.AS1 2 3 内部使用OSPF协议,AS1 AS2 内部建立全互联的IBGP邻居,AS之间建立全部的EBGP邻居 

3.PC1 3 5 属于电信的路由,通信时必须使用电信AS 1 ;PC2 4 6 属于联通的路由,通信时必须使用联通的AS 2 

​编辑

4.若 R1-R9之间链路断开,电信的路由依然通过电信AS 1通信

四、实验测试

一、实验拓扑

二、实验要求

1.合理IP地址 
2.AS1 2 3 内部使用OSPF协议,AS1 AS2 内部建立全互联的IBGP邻居,AS之间建立全部的EBGP邻居 
3.PC1 3 5 属于电信的路由,通信时必须使用电信AS 1 ;PC2 4 6 属于联通的路由,通信时必须使用联通的AS 2 
4.若 R1-R9之间链路断开,电信的路由依然通过电信AS 1通信

三、实验配置

1.合理IP地址 

R1

#
interface GigabitEthernet0/0/0
 ip address 12.0.0.1 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 15.0.0.1 255.255.255.0 
#
interface GigabitEthernet0/0/2
 ip address 19.0.0.1 255.255.255.0 
#
interface GigabitEthernet4/0/0
 ip address 13.0.0.1 255.255.255.0 
#
interface LoopBack0
 ip address 1.1.1.1 255.255.255.255 
#

R2

#
interface GigabitEthernet0/0/0
 ip address 12.0.0.2 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 24.0.0.2 255.255.255.0 
#
interface GigabitEthernet0/0/2
 ip address 26.0.0.2 255.255.255.0 
#
interface LoopBack0
 ip address 2.2.2.2 255.255.255.255 
#

R3

#
interface GigabitEthernet0/0/0
 ip address 13.0.0.3 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 34.0.0.3 255.255.255.0 
#
interface GigabitEthernet0/0/2
 ip address 37.0.0.3 255.255.255.0 
#
interface LoopBack0
 ip address 3.3.3.3 255.255.255.255 
#

R4

#
interface GigabitEthernet0/0/0
 ip address 34.0.0.4 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 24.0.0.4 255.255.255.0 
#
interface GigabitEthernet0/0/2
 ip address 40.0.0.4 255.255.255.0 
#
interface GigabitEthernet4/0/0
 ip address 48.0.0.4 255.255.255.0 
#
interface LoopBack0
 ip address 4.4.4.4 255.255.255.255 
#

R5

#
interface GigabitEthernet0/0/0
 ip address 15.0.0.5 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 57.0.0.5 255.255.255.0 
#
interface GigabitEthernet0/0/2
 ip address 56.0.0.5 255.255.255.0 
#
interface GigabitEthernet6/0/0
 ip address 11.1.1.5 255.255.255.0 
#
interface LoopBack0
 ip address 5.5.5.5 255.255.255.255 
#

R6

#
interface GigabitEthernet0/0/0
 ip address 68.0.0.6 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 26.0.0.6 255.255.255.0 
#
interface GigabitEthernet0/0/2
 ip address 56.0.0.6 255.255.255.0 
#
interface LoopBack0
 ip address 6.6.6.6 255.255.255.255 
#

R7

#
interface GigabitEthernet0/0/0
 ip address 78.0.0.7 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 57.0.0.7 255.255.255.0 
#
interface GigabitEthernet0/0/2
 ip address 37.0.0.7 255.255.255.0 
#
interface LoopBack0
 ip address 7.7.7.7 255.255.255.255 
#

R8

#
interface GigabitEthernet0/0/0
 ip address 78.0.0.8 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 48.0.0.8 255.255.255.0 
#
interface GigabitEthernet0/0/2
 ip address 68.0.0.8 255.255.255.0 
#
interface GigabitEthernet4/0/0
 ip address 11.1.2.8 255.255.255.0 
#
interface LoopBack0
 ip address 8.8.8.8 255.255.255.255 
#

R9

#
interface GigabitEthernet0/0/0
 ip address 192.168.1.254 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 192.168.2.254 255.255.255.0 
#
interface GigabitEthernet0/0/2
 ip address 19.0.0.9 255.255.255.0 
#
interface GigabitEthernet4/0/0
 ip address 90.0.0.9 255.255.255.0 
#
interface LoopBack0
 ip address 9.9.9.9 255.255.255.255 
#

R10

#
interface GigabitEthernet0/0/0
 ip address 192.168.3.254 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 192.168.4.254 255.255.255.0 
#
interface GigabitEthernet0/0/2
 ip address 40.0.0.10 255.255.255.0 
#
interface GigabitEthernet4/0/0
 ip address 90.0.0.10 255.255.255.0 
#
interface LoopBack0
 ip address 10.10.10.10 255.255.255.255 
#

R11</

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值