码迷,mamicode.com
首页 > 其他好文 > 详细

路由反射器 route reflector {RR}

时间:2018-03-07 21:41:12      阅读:420      评论:0      收藏:0      [点我收藏+]

标签: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}

标签:route   reflector   RR   

原文地址:http://blog.51cto.com/13585613/2083955

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!