cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3212
Views
5
Helpful
3
Replies

ebgp-multihop

amitchisti
Level 1
Level 1

neighbour 192.168.0.1 ebgp-multihop whts does this command mean... What it does in background... 

1 Accepted Solution

Accepted Solutions

Hi

eBGP multihop is used when you are building an eBGP peering with other IP address different than the IP addresses connected directly. 

It is useful when you are creating a BGP peering using loopbacks known via a NLRI (through a interior gateway protocol like RIP, EIGRP, IS-IS, OSPF).

So the hop value represents the hops to reach that IP, imagine the attached scenario:

CONFIGURATION:

ROUTER 1

router ospf 1
network 10.12.0.1 0.0.0.0 area 0
network 1.1.1.1 0.0.0.0 area 0

router bgp 100
no sync
no auto-summary
neighbor 1.1.1.1 remote 200
neighbor 1.1.1.1 ebgp-multihop 2
neighbor 1.1.1.1 update-source loobpack0

ROUTER 2

router ospf 1
network 10.12.0.2 0.0.0.0 area 0
network 2.2.2.2 0.0.0.0 area 0

router bgp 200
no sync
no auto-summary
neighbor 2.2.2.2 remote 100
neighbor 2.2.2.2 ebgp-multihop 2
neighbor 2.2.2.2 update-source loobpack0

The IP address used to build the eBGP peering is known via OSPF ( NLRI ) so you need to specify the hops to reach the destination. 

Please don't forget to rate the comment if it is useful.

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

3 Replies 3

Milos Megis
Level 3
Level 3

Hi,
here you can find explanation:
https://networklessons.com/bgp/ebgp-multihop/

Hi

eBGP multihop is used when you are building an eBGP peering with other IP address different than the IP addresses connected directly. 

It is useful when you are creating a BGP peering using loopbacks known via a NLRI (through a interior gateway protocol like RIP, EIGRP, IS-IS, OSPF).

So the hop value represents the hops to reach that IP, imagine the attached scenario:

CONFIGURATION:

ROUTER 1

router ospf 1
network 10.12.0.1 0.0.0.0 area 0
network 1.1.1.1 0.0.0.0 area 0

router bgp 100
no sync
no auto-summary
neighbor 1.1.1.1 remote 200
neighbor 1.1.1.1 ebgp-multihop 2
neighbor 1.1.1.1 update-source loobpack0

ROUTER 2

router ospf 1
network 10.12.0.2 0.0.0.0 area 0
network 2.2.2.2 0.0.0.0 area 0

router bgp 200
no sync
no auto-summary
neighbor 2.2.2.2 remote 100
neighbor 2.2.2.2 ebgp-multihop 2
neighbor 2.2.2.2 update-source loobpack0

The IP address used to build the eBGP peering is known via OSPF ( NLRI ) so you need to specify the hops to reach the destination. 

Please don't forget to rate the comment if it is useful.

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Hi Julio, I have a question, why in R1 the configuration is "neighbor 1.1.1.1 ebgp-multihop 2" ?,   I understand that the  two hops  to reach the AS200 is 2.2.2.2.

Thanks!!