CCNP-35 BGP 5
实验拓扑:
实验要求:按照拓扑将4台路由器分别配置在AS 100/200中,R1与R2 R3成为EBGP PEER,R4与R2 R3成为IBGP PEER,在R4上起loopback接口,配置完成后在R1上观察BGP路由表,看看R4的loopback接口的网络是通过哪台路由器学习到的,然后通过修改weight属性,使之从另外一台路由器学习R4的loopback网络。
试验目的:掌握BGP选路时weight属性的用法和配置方法。
实验配置:
R1:
R1(config)#int f0/0
R1(config-if)#ip add 172.16.1.1 255.255.255.0
R1(config-if)#no shu
R1(config-if)#exit
R1(config)#int f1/0
R1(config-if)#ip add 172.16.4.1 255.255.255.0
R1(config-if)#no shu
R1(config-if)#exit
R1(config)#int loop0
R1(config-if)#ip add
1.1.1.1 255.255.255.0
R1(config-if)#exit
R1(config)#router bgp 100
R1(config-router)#neighbor 172.16.1.2 remote-as 200
R1(config-router)#neighbor 172.16.4.2 remote-as 200
R1(config-router)#exit
R2:
R2(config)#int f0/0
R2(config-if)#ip add 172.16.1.2 255.255.255.0
R2(config-if)#no shu
R2(config-if)#exit
R2(config)#int f1/0
R2(config-if)#ip add 172.16.2.1 255.255.255.0
R2(config-if)#no shu
R2(config-if)#exit
R2(config)#int loop0
R2(config-if)#ip add
2.2.2.2 255.255.255.0
R2(config-if)#exit
R2(config)#router ospf 100
R2(config-router)#router-id
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>