cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1419
Views
5
Helpful
6
Replies

BGP Next-Hop (in Brackets)

kfarrington
Level 3
Level 3

Hi all, Hope every is well :)

In the output below, the ip address (y.y.y.y) in brackets? What is this? It is not the BGP next hop for my external peer that I peer with so I am assuming it is an IP address from where the external peer received the prefix from? Either that or the external peers BGP RID?

router>sh ip bgp 1.1.1.0

BGP routing table entry for 1.1.1.0/24, version 477158

Paths: (1 available, best #1, table Default-IP-Routing-Table)

Advertised to peer-groups:

x.x.x.x

100 200

x.x.x.x from x.x.x.x (y.y.y.y)

Origin incomplete, localpref 100, valid, external, best

Community: xxxxx:xxxxx

Can anyone please clarify and tell me two things :-

1. Where can I find documentation on this output (I mean in the detailed format "show ip bgp <network>"

2. There must be a field in the BGP update packet to carry this address to my BGP table. What is it?

Many thx indeed for your help,

Ken

1 Accepted Solution

Accepted Solutions

Good morning!

Grab a coffee and read slowly ;-)

Yes, exactly, the BGP RID of the peer.

Regards, Martin

View solution in original post

6 Replies 6

mheusinger
Level 10
Level 10

Hi,

there are 3 IP addresses, which have the following meaning:

from ()

: inserted as next hop into the IP routing table, sent in the BGP update "next hop" field

: the IP from the "neighbor remote-as" command, source IP for the TCP session

: learned through BGP setup messages

The latter is usually a loopback IP on the neighboring BGP peer. All 3 IPs can be the same or different depending on the setup.

With eBGP usually IPs 1 and 2 are identical and IP no. 3 is different, as peering in eBGP is normally not using Loopbacks.

Hope this helps!

Regards, Martin

Hi Martin, Many thx for the speed of the response.

Sorry to ask, but I was just a little confused, so the address in the brackets (y.y.y.y), are you saying this is a BGP RID of the external peer?

Sorry, I have not woken up here in London yet :)

Many thx indeed,

Ken

Good morning!

Grab a coffee and read slowly ;-)

Yes, exactly, the BGP RID of the peer.

Regards, Martin

thx fella.

Got the coffee. would prefer beer!

Kind regards,

Ken

Don?t drink and BGP! ;-)

:)

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