cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
643
Views
0
Helpful
8
Replies

eBGP miltihop

acbenny
Level 1
Level 1

Hi all,

I have some confuse about when to use this command "ebgp-multihop" , Is it use when two different brand router.

(e.g. Cisco Router connect to Juniper Router via non directly connection). Then cisco router

need to issue "neighbor x.x.x. ebgp-multihp" to form the bgp neighbor

1 Accepted Solution

Accepted Solutions

mohammedmahmoud
Level 11
Level 11

Hi,

No, ebgp multihop is used when having eBGP peering with non direct connected eBGP peer ip address (whatever the vendor is), by default eBGP messages are send with a TTL of 1, and accordingly if the eBGP neighbor ip is not directly connected the eBGP session won't get up.

Commonly used when peering using loopbacks, since it is not directly connected we must use ?ebgp-multihop 2? command to set TTL to 2 for the peer connection to be formed (by routing the packets to the loopback, instead of dropping it if the TTL was sent with the default value of 1 ? can?t be routed).

HTH, please rate if it does help,

Mohammed Mahmoud.

View solution in original post

8 Replies 8

mohammedmahmoud
Level 11
Level 11

Hi,

No, ebgp multihop is used when having eBGP peering with non direct connected eBGP peer ip address (whatever the vendor is), by default eBGP messages are send with a TTL of 1, and accordingly if the eBGP neighbor ip is not directly connected the eBGP session won't get up.

Commonly used when peering using loopbacks, since it is not directly connected we must use ?ebgp-multihop 2? command to set TTL to 2 for the peer connection to be formed (by routing the packets to the loopback, instead of dropping it if the TTL was sent with the default value of 1 ? can?t be routed).

HTH, please rate if it does help,

Mohammed Mahmoud.

Then how about using "neighbor [neighbor ip] update-source loopback 0"?

Is it mean

For non directly ebgp, use "ebgp-multihop"?

For non directly ibgp, use "neighbor [neighbor ip] update-source loopback 0"

Friend,

Actually you would need both the commands.

As said earlier, the EBGP multihop command is required when the EBGP peers are not directly connected. Peering with loopback Ips is not considered to be a direct connection.

BGP by default sources the BGP packets from with the source IP of the outgoing interface

The update source on the other hand tells the router to source the BGP packets with the IP mentioned in the command.

say for eg.. you have a topology like R1--R2--R3 and you are doing a BGP peering with R1 and R3. In this scenario you would require the ebgp multihop command. The peering is done on the serial IPs

Now if you plan to Peer R1 & R3 over loopbacks you would actually require both the commands as they are not directly connected and the packets are also not sourced via the outgoing interface IP.

HTH, rate if it does

Narayan

Hi

If you are using update-source loopback 0 under your BGP confgiuration then yes you would need ebgp-multihop because your EBGP peering is not using the physical interfaces and as Mohammed said EBGP asssumes a TTL of 1 unless told otherwise.

HTH

Jon

Hi,

You'll need the update-source loopback command whether it is eBGP or iBGP if you wish to peer with loopbacks, it tells the router to use which IP address when exchanging BGP messages.

HTH, please rate if it does help,

Mohammed Mahmoud.

Hello -

A segway to the main question, but are there any serious design/performance implications by having multiple multihop neighbors ?

Thx

George

Hi,

No, i don't think so, having multiple multihop neighbors has no side effects, its a normal scenario for many providers/customers.

HTH, please rate if it does help,

Mohammed Mahmoud.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card