Normally, EBGP speakers are directly connected. When you cannot connect EBGP speakers directly, you can use the neighbor ebgp-multihop command to specify that the neighbor is more than one hop away. You generally need static routes to configure multihop connections. By default, the one-hop limitation per EBGP peers is enforced by the time-to-live attribute. You can override this default limit by using the ttl variable to specify the maximum number of hops to the peer.
In Figure 12, router Boston and router LA are connected together through router NY, rather than by a direct connection. Routers Boston and LA are configured as external peers with the neighbor ebgp-multihop command because no direct connection exists between them. Because router NY is not a BGP speaker, static routes are configured on routers Boston and LA. The configuration for router NY is not shown, because it does not involve BGP.
Figure 12: Using EBGP-Multihop

The following commands achieve the BGP configuration.
To configure router Boston:
- host1(config)#ip route 10.7.4.0 255.255.255.0
10.1.10.2
- host1(config)#router bgp 100
- host1(config-router)#neighbor 10.7.4.3 remote-as
300
- host1(config-router)#neighbor 10.7.4.3 ebgp-multihop
To configure router LA:
- host2(config)#ip route 10.1.10.0 255.255.255.0
10.7.4.4
- host2(config)#router bgp 300
- host2(config-router)#neighbor 10.1.10.1 remote-as
100
- host2(config-router)#neighbor 10.1.10.1 ebgp-multihop
neighbor ebgp-multihop