BGP路由反射-network学习笔记
http://tech.ddvip.com 2007年09月12日 社区交流 收藏本文
内容摘要:提供了在大型I-BGP实现中I-BGP全网状连接问题的一个简单解决方案。
提供了在大型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
配置过程非常简单,但是非常实用。
这是今天呆着无聊做个实验给大家个参考。
责编:豆豆技术应用