实验案例:使用BG属性控制选路(AS200内运行OSPF协议)

在一个运行OSPF协议的AS200网络中,实验目标是确保1.1.1.1访问5.5.5.5的路径为R1-R2-R4-R5-R4-R3-R1。通过配置BGP协议,避免全网使用相同IGP协议,实现了路径控制。详细步骤包括路由器的IP地址与LoopBack接口设置、OSPF配置、EBGP和IBGP的配置、路由重分发以及使用MED属性调整路由选择。
摘要由CSDN通过智能技术生成

实验环境
某运营商网络,其中AS200内运行OSPF协议,要求实现1.1.1.1可以访问5.5.5.5.
需求描述
要求实现1.1.1.1访问5.5.5.5的路径为R1-R2-R4-R5-R4-R3-R1。禁止通过在所有路由器运行相同的IGP协议实现全网互通,请通过BGP实现互通。
在这里插入图片描述
配置IP地址和LoopBack接口
[R1]display ip interface brief
*down: administratively down
!down: FIB overload down
^down: standby
(l): loopback
(s): spoofing
(d): Dampening Suppressed
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 8
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 8

Interface IP Address/Mask Physical Protocol
Ethernet0/0/0 unassigned down down
Ethernet0/0/1 unassigned down down
GigabitEthernet0/0/0 12.1.1.1/24 up up
GigabitEthernet0/0/1 13.1.1.1/24 up up
GigabitEthernet0/0/2 unassigned down down
GigabitEthernet0/0/3 unassigned down down
LoopBack0 1.1.1.1/32 up up(s)
NULL0 unassigned up up(s)
Serial0/0/0 unassigned down down
Serial0/0/1 unassigned down down
Serial0/0/2 unassigned down down
Serial0/0/3 unassigned down down
[R2]display ip interface brief
*down: administratively down
!down: FIB overload down
^down: standby
(l): loopback
(s): spoofing
(d): Dampening Suppressed
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 8
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 8

Interface IP Address/Mask Physical Protocol
Ethernet0/0/0 unassigned down down
Ethernet0/0/1 unassigned down down
GigabitEthernet0/0/0 12.1.1.2/24 up up
GigabitEthernet0/0/1 24.1.1.2/24 up up
GigabitEthernet0/0/2 unassigne

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值