(MP) BGP recursive lookups

Unanswered Question
Jan 9th, 2010

Hi colleague,

have a question here about MP-BGP (iBGP) updates sent to PE or RR.

You know, when BGP prepares the update, put the source and destination IP which a Loopback address, then it has to lookup for the next hop to send the update. The next hop IP will usually already have LDP label associated with it. Does this label add into the BGP paket update so in other word the update itself is labelled switch inside MPLS core. Thanks

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Giuseppe Larosa Sun, 01/10/2010 - 06:22

Hello Raymond.

packets of BGP sessions are treated as any other traffic if an LSP exists with destination= remote BGP endpoint, and endpoint is not directly connected the BGP packet (otherwise pop tag will cause to send packet with no label)  is put into the LSP as traffic with a BGP next-hop = remote BGP endpoint.

This can be the case of a BGP packet sent to a route reflector server.

You can easily test this by performing a packet capture in an MPLS enabled lan segment.

I've actually discovered this during packet captures I did to look at settings in IPv4 headers of routing protocols.

The MPLS label is not part of the BGP update, rather the BGP packet is encapsulated in MPLS.

To be noted that BGP can be used to distribute labels when using BGP with labels that require neigh ... send-labels but this is a more specific case and in that case the label is a field in the BGP advertisement to a directly connected BGP neighbor.

Hope to help



This Discussion