BGP ebgp multi-hop, Route reflector , next-hop-self
R1
router bgp 100
bgp log-neighbor-changes
neighbor 192.168.10.1 remote-as 100
router ospf 1
network 1.1.1.0 0.0.0.255 area 0
network 192.168.10.0 0.0.0.3 area 0
R2
router bgp 100
bgp log-neighbor-changes
neighbor 192.168.10.2 remote-as 100
neighbor 192.168.10.2 route-reflector-client
neighbor 192.168.10.5 remote-as 100
neighbor 192.168.10.5 route-reflector-client
router ospf 1
network 2.2.2.0 0.0.0.255 area 0
network 192.168.10.0 0.0.0.3 area 0
network 192.168.10.4 0.0.0.3 area 0
R3
R3#sh run | sec bgp
router bgp 100
bgp log-neighbor-changes
neighbor 192.168.10.6 remote-as 100
neighbor 192.168.10.6 route-reflector-client
neighbor 192.168.10.10 remote-as 100
neighbor 192.168.10.10 route-reflector-client
router ospf 1
network 3.3.3.0 0.0.0.255 area 0
network 192.168.10.4 0.0.0.3 area 0
network 192.168.10.8 0.0.0.3 area 0
R4#sh run | sec bgp
router bgp 100
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0
network 2.2.2.0 mask 255.255.255.0
network 3.3.3.0 mask 255.255.255.0
network 4.4.4.0 mask 255.255.255.0
network 192.168.10.0 mask 255.255.255.252
network 192.168.10.4 mask 255.255.255.252
network 192.168.10.8 mask 255.255.255.252
neighbor 5.5.5.5 remote-as 200
neighbor 5.5.5.5 ebgp-multihop 2
neighbor 5.5.5.5 update-source Loopback0
neighbor 192.168.10.9 remote-as 100
neighbor 192.168.10.9 next-hop-self
router ospf 1
network 4.4.4.0 0.0.0.255 area 0
network 192.168.10.8 0.0.0.3 area 0
R5
router bgp 200
bgp log-neighbor-changes
network 5.5.5.0 mask 255.255.255.0
network 6.6.6.0 mask 255.255.255.0
network 172.16.11.0 mask 255.255.255.252
neighbor 4.4.4.4 remote-as 100
neighbor 4.4.4.4 ebgp-multihop 2
neighbor 4.4.4.4 update-source Loopback0
neighbor 172.16.11.2 remote-as 200
neighbor 172.16.11.2 next-hop-self
router eigrp 1
network 5.5.5.0 0.0.0.255
network 172.16.11.0 0.0.0.3