BGP理解错误的部署RR造成的环路


Platform:cisco iou


目的:理解错误的布署RR造成的环路。
验证:在R6上去traceroute 1.1.1.1 source 6.6.6.6

step 1:load config file (basic_config.txt)

step 2:test 

R1++++++++++++++++++++++++++++++++++++++++++++++++++++

int lo 0
ip add 1.1.1.1 255.255.255.255

int e0/0
no sh
int e0/0.12
en do 12
ip add 12.1.1.1 255.255.255.0

int e0/0.13
en do 13
ip add 13.1.1.1 255.255.255.0

router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 1.1.1.1 mask 255.255.255.255
 neighbor 12.1.1.2 remote-as 200
 neighbor 13.1.1.3 remote-as 200
 no auto-summary

R2++++++++++++++++++++++++++++++++++++++++++++++

int lo 0
ip add 2.2.2.2 255.255.255.255

int e0/0
no sh
int e0/0.12
en do 12
ip add 12.1.1.2 255.255.255.0

int e0/0.24
en do 24
ip add 24.1.1.2 255.255.255.0

router bgp 200
 no synchronization
 bgp log-neighbor-changes
 neighbor 4.4.4.4 remote-as 200
 neighbor 4.4.4.4 update-source Loopback0
 neighbor 4.4.4.4 next-hop-self
 neighbor 12.1.1.1 remote-as 100
 no auto-summary

router ospf 100
net 2.2.2.2 0.0.0.0 a 0
net 24.1.1.2 0.0.0.0 a 0

R3+++++++++++++++++++++++++++++++++++++++++++++++++++++


int lo 0
ip add 3.3.3.3 255.255.255.255

int e0/0
no sh
int e0/0.13
en do 13
ip add 13.1.1.3 255.255.255.0

int e0/0.35
en do 35
ip add 35.1.1.3 255.255.255.0

router bgp 200
 no synchronization
 bgp log-neighbor-changes
 neighbor 5.5.5.5 remote-as 200
 neighbor 5.5.5.5 update-source Loopback0
 neighbor 5.5.5.5 next-hop-self
 neighbor 13.1.1.1 remote-as 100
 no auto-summary

router ospf 100
net 3.3.3.3 0.0.0.0 a 0
net 35.1.1.3 0.0.0.0 a 0

R4++++++++++++++++++++++++++++++++++++++++++++++++++++++++

int lo 0
ip add 4.4.4.4 255.255.255.255

int e0/0
no sh
int e0/0.24
en do 24
ip add 24.1.1.4 255.255.255.0

int e0/0.46
en do 46
ip add 46.1.1.4 255.255.255.0


router bgp 200
 no synchronization
 bgp log-neighbor-changes
 neighbor 2.2.2.2 remote-as 200
 neighbor 2.2.2.2 update-source Loopback0
 neighbor 2.2.2.2 route-reflector-client
 neighbor 7.7.7.7 remote-as 200
 neighbor 7.7.7.7 update-source Loopback0
 neighbor 7.7.7.7 route-reflector-client
 neighbor 7.7.7.7 next-hop-self
 no auto-summary

router ospf 100
net 0.0.0.0 0.0.0.0 a 0

R5++++++++++++++++++++++++++++++++++++++++++++++++++

int lo 0
ip add 5.5.5.5 255.255.255.255

int e0/0
no sh
int e0/0.35
en do 35
ip add 35.1.1.5 255.255.255.0

int e0/0.57
en do 57
ip add 57.1.1.5 255.255.255.0

router bgp 200
 no synchronization
 bgp log-neighbor-changes
 neighbor 3.3.3.3 remote-as 200
 neighbor 3.3.3.3 update-source Loopback0
 neighbor 3.3.3.3 route-reflector-client
 neighbor 6.6.6.6 remote-as 200
 neighbor 6.6.6.6 update-source Loopback0
 neighbor 6.6.6.6 route-reflector-client
 neighbor 6.6.6.6 next-hop-self
 no auto-summary

router ospf 100
net 0.0.0.0 0.0.0.0 a 0


R6+++++++++++++++++++++++++++++++++++++++++++++++

int lo 0
ip add 6.6.6.6 255.255.255.255

int e0/0
no sh    
int e0/0.46
en do 46
ip add 46.1.1.6 255.255.255.0

int e0/0.67
en do 67
ip add 67.1.1.6 255.255.255.0

router bgp 200
 no synchronization
 bgp log-neighbor-changes
 network 6.6.6.6 mask 255.255.255.255
 neighbor 5.5.5.5 remote-as 200
 neighbor 5.5.5.5 update-source Loopback0
 no auto-summary


router ospf 100
net 0.0.0.0 0.0.0.0 a 0

R7++++++++++++++++++++++++++++++++++++++++++++

int lo 0
ip add 7.7.7.7 255.255.255.255

int e0/0
no sh
int e0/0.57
en do 57
ip add 57.1.1.7 255.255.255.0

int e0/0.67
en do 67
ip add 67.1.1.7 255.255.255.0

router bgp 200
 no synchronization
 bgp log-neighbor-changes
 neighbor 4.4.4.4 remote-as 200
 neighbor 4.4.4.4 update-source Loopback0
 no auto-summary


router ospf 100
net 0.0.0.0 0.0.0.0 a 0
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值