03-23-2017 10:21 PM
neighbour 192.168.0.1 ebgp-multihop whts does this command mean... What it does in background...
Solved! Go to Solution.
03-27-2017 09:13 AM
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.
:-)
03-27-2017 01:10 AM
Hi,
here you can find explanation:
https://networklessons.com/bgp/ebgp-multihop/
03-27-2017 09:13 AM
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.
:-)
11-07-2022 05:29 PM
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!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide