Routing

Expand all | Collapse all

BGP label allocation failure: Need a nexthop address on LAN

Jump to Best Answer
  • 1.  BGP label allocation failure: Need a nexthop address on LAN

    Posted 09-19-2011 19:59

    Hi guys! Here is the problem:

     

    In L3vpn, the routing protocol on PE and CE is OSPF and only direct interface is configured in protocol ospf.

    Here is the configure on PE and CE:

    PE:

    ospf {
        area 0.0.0.1 {
            interface em1.110;
        }
    }

    CE:

    ospf {
        area 0.0.0.1 {
            interface em0.110;
        }
    }

    so PE didn't learn any ospf route from CE.

    when i use  the command show  route advertising-protocol bgp 172.16.1.7 detail on PE,  the information it displayed:

    BGP label allocation failure, and the route(direct route) is not advertised to it's peer.


    c1.inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
    * 192.168.11.0/24 (1 entry, 1 announced)
     BGP group ibgp type Internal
         Route Distinguisher: 172.16.1.1:1
         BGP label allocation failure: Need a nexthop address on LAN
         Nexthop: Not advertised
         Flags: Nexthop Change
         Localpref: 100
         AS path: [65531] I
         Communities: target:65531L:1

     

    Now,  i redistributed a static route to ospf in CE,  PE learned a OSPF route 100.1.1.0/24 from CE


    100.1.1.0/24       *[OSPF/150] 00:29:17, metric 0, tag 0
                        > to 192.168.11.1 via em1.110

     

     

    show  route advertising-protocol bgp 172.16.1.7  on PE

     

    c1.inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
      Prefix                  Nexthop              MED     Lclpref    AS path
    * 100.1.1.0/24            Self                 0       100        I
    * 192.168.11.0/24         Self                         100        I

     

    The route 100.1.1.0/24(OSPF route) and 192.168.11.0(direct route) is advertised to it's peer.

     

    so Why?

    Thanks!

     



  • 2.  RE: BGP label allocation failure: Need a nexthop address on LAN

    Posted 09-20-2011 00:22

    Hello,

    Try this on PE:

     

    set routing-instances <RI-name> vrf-table-label

     

    HTH

    Rgds

    Alex

     



  • 3.  RE: BGP label allocation failure: Need a nexthop address on LAN
    Best Answer

     
    Posted 09-20-2011 02:12

    hi,

     

    Alex showed one way to solve the issue. If it works for you - fine.

     

    A few related links + another solution:

    1. http://kb.juniper.net/InfoCenter/index?page=content&id=KB12430 (BGP not advertising the directly connected network to the peer PE router in L3VPN setup)
    2. http://markmail.org/message/36k5tnzi6hyudzkg  (some problem background)
    3. http://www.juniper.net/techpubs/software/junos/junos75/swconfig75-vpns/html/vpnl3-config27.html (vrf-table-label limitations)

    jtb



  • 4.  RE: BGP label allocation failure: Need a nexthop address on LAN

    Posted 09-21-2011 19:20
    Hi, Thank you guys!


  • 5.  RE: BGP label allocation failure: Need a nexthop address on LAN

    Posted 07-10-2018 05:06

    Why is it needed?