用ospf将R1~R5宣告:
R1:
R2:
R3:
R4:
R5:
R6/R8用RIP
R6:
R7:
R8:
R5对R4做本地下一条:
[r5-bgp]peer 4.4.4.4 next-hop-local
R4与R3为联邦:
[r4-bgp]peer 3.3.3.3 ebgp-max-hop
[r3-bgp]peer 4.4.4.4 ebgp-max-hop
R3对R2做反射:
[r3-bgp]peer 2.2.2.2 reflect-client
R2对R1做反射:
[r2-bgp]peer 1.1.1.1 reflect-client
R6对R7做本地下一条:
[r6-bgp]peer 7.7.7.7 next-hop-local
R7对R6与R8做反射:
[r7-bgp]peer 6.6.6.6 reflect-client
[r7-bgp]peer 8.8.8.8 reflect-client
用R1pingR8: