路由反射器 route reflector {RR}
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了路由反射器 route reflector {RR}相关的知识,希望对你有一定的参考价值。
实验目标: PC-1 ----> PC-2
1.配置 PC-1/2 的IP地址和网关IP地址:
192.168.1.1 255.255.255.0
192.168.1.254
192.168.2.1 255.255.255.0
192.168.2.254
2.配置网络中的 IGP : OSPF
R1:
interface loopback 13
ip address 10.10.1.1 255.255.255.0
interface gi0/0/0
ip address 192.168.12.1 255.255.255.0
interface gi0/0/1
ip address 192.168.1.254 255.255.255.0
ospf 1 router-id 1.1.1.1
area 0
network 192.168.12.0 0.0.0.255
network 10.10.1.1 0.0.0.0
R2:
interface loopback 0
ip address 10.10.2.2 255.255.255.0
interface gi0/0/0
ip address 192.168.23.2 255.255.255.0
interface gi0/0/1
ip address 192.168.12.2 255.255.255.0
ospf 1 router-id 2.2.2.2
area 0
network 10.10.2.2 0.0.0.0
network 192.168.12.2 0.0.0.0
network 192.168.23.2 0.0.0.0
R3 :
interface loopback 13
ip address 10.10.3.3 255.255.255.0
interface gi0/0/1
ip address 192.168.23.3 255.255.255.0
interface gi0/0/2
ip address 192.168.2.254 255.255.255.0
ospf 1 router-id 3.3.3.3
area 0
network 10.10.3.3 0.0.0.0
network 192.168.23.3 0.0.0.0
3.配置网络中的 BGP
R1:
bgp 64512
router-id 1.1.1.1
peer 10.10.2.2 as-number 64512
peer 10.10.2.2 connect-interface loopback 13
peer 10.10.3.3 as-number 64512
peer 10.10.3.3 connect-interface loopback 13
peer 10.10.1.1 reflect-client
#将10.10.1.1这个邻居配置成了
路由反射器客户端,
同时,
自己成为了“路由反射器”
R2:
bgp 64512
router-id 2.2.2.2
peer 10.10.1.1 as-number 64512
peer 10.10.1.1 connect-interface loopback 0
peer 10.10.3.3 as-number 64512
peer 10.10.3.3 connect-interface loopback 0
R3:
bgp 64512
router-id 3.3.3.3
peer 10.10.2.2 as-number 64512
peer 10.10.2.2 connect-interface loopback 13
peer 10.10.1.1 as-number 64512
peer 10.10.1.1 connect-interface loopback 13
network 192.168.2.0 255.255.255.0
以上是关于路由反射器 route reflector {RR}的主要内容,如果未能解决你的问题,请参考以下文章