敬业的IT人 >> 网络技术 >> 网络协议 >> BGP路由反射-network学习笔记

BGP路由反射-network学习笔记

敬业的IT人 互联网 佚名 2007-12-29 21:10:09

  提供了在大型I-BGP实现中I-BGP全网状连接问题的一个简单解决方案。

  详细介绍RFC1966文档。

  实验拓扑:

  R1-------R7--------R3

  分别用串口连接

  配置如下:

  R7:

  hostname r7     

  interface Loopback0         

  ip address 116.83.25.1 255.255.255.0

  interface Loopback1      

  ip address 116.83.26.1 255.255.255.0    

  !

  interface Ethernet0 

  no ip address           

  !

  interface Serial0

  ip address 192.168.54.5 255.255.255.252                

  encapsulation ppp        

  no fair-queue

  !

  interface Serial1  

  ip address 192.168.54.1 255.255.255.252   

  encapsulation ppp      

  !

  router bgp 15210       

  network 192.168.54.0

  neighbor 192.168.54.2 remote-as 15210

  neighbor 192.168.54.2 route-reflector-client

  配置充当反射客户端的每个邻居.

  neighbor 192.168.54.6 remote-as 15210

  建立BGP对等体关系

  neighbor 192.168.54.6 route-reflector-client

  no auto-summary

  !

  R2:

  hostname r2          

  interface Loopback0     

  ip address 10.1.1.1 255.255.255.0    

  !

  Router bgp 15210

  bgp log-neighbor-changes

  network 10.1.1.0 mask 255.255.255.0

  network 192.168.54.0 mask 255.255.255.0

  neighbor 192.168.54.1 remote-as 15210

  no auto-summary

  R3:

  router bgp 15210

  no synchronization

  bgp log-neighbor-changes

  network 192.168.54.0 mask 255.255.255.0

  neighbor 192.168.54.5 remote-as 15210

  no auto-summary

  配置过程非常简单,但是非常实用。

  这是今天呆着无聊做个实验给大家个参考。

粤ICP备06119539号
Copyright CiscoSky.Org,Some Rights Reserved.
Email:me1228#tom.com