所有的路由器在路由表中都有 192.168.5.1 和 192.168.6.1 路由。但无法从 192.168.5.1 ping 到 192.168.6.1
R5
router bgp 200
bgp log-neighbor-changes
network 10.0.15.0 mask 255.255.255.0
network 192.168.5.0
neighbor 10.0.15.2 remote-as 100
R1
router bgp 100
bgp log-neighbor-changes
neighbor 10.0.15.1 remote-as 200
neighbor 192.168.3.1 remote-as 100
neighbor 192.168.3.1 update-source Loopback0
neighbor 192.168.3.1 next-hop-self
R3
router bgp 100
bgp log-neighbor-changes
neighbor test peer-group
neighbor test remote-as 100
neighbor test update-source Loopback0
neighbor test route-reflector-client
neighbor 192.168.1.1 peer-group test
neighbor 192.168.2.1 peer-group test
neighbor 192.168.4.1 peer-group test
R4
router bgp 100
bgp log-neighbor-changes
neighbor 192.168.3.1 remote-as 100
neighbor 192.168.3.1 update-source Loopback0
R2
router bgp 100
bgp log-neighbor-changes
neighbor 192.168.3.1 remote-as 100
neighbor 192.168.3.1 update-source Loopback0
neighbor 192.168.3.1 next-hop-self
neighbor 192.168.6.1 remote-as 300
neighbor 192.168.6.1 ebgp-multihop 255
neighbor 192.168.6.1 update-source Loopback0
ip route 192.168.6.0 255.255.255.0 10.0.62.2
ip route 192.168.6.0 255.255.255.0 10.0.26.2
router bgp 300
bgp log-neighbor-changes
network 192.168.6.0
neighbor 192.168.2.1 remote-as 100
neighbor 192.168.2.1 ebgp-multihop 255
neighbor 192.168.2.1 update-source Loopback0
ip route 192.168.2.0 255.255.255.0 10.0.26.1
ip 路由 192.168.2.0 255.255.255.0 10.0.62.1