Rack1SW2(config)#router bgp 1
Rack1SW2(config-router)#neighbor 183.0.10.10 remote-as 2
Rack1SW2(config-router)#neighbor 183.0.10.10 ebgp-multihop
Verify:
Rack1SW2#sh ip bgp summary | in 183.0.10.10
183.0.10.10 4 2 8 6 3 0 0 00:03:11 2
183.0.20.20 should be reachable from R2 and R4:
Rack1R2>sh ip bgp | beg Network
Network Next Hop Metric LocPrf Weight Path
*>i183.0.20.0/24 183.0.10.10 0 100 0 2 i
*>i183.0.40.0/24 183.0.10.10 0 100 0 2 4 i
Rack1R2>ping 183.0.20.20
Sending 5, 100-byte ICMP Echos to 183.0.20.20, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/8 ms