Junos: BGP label allocation failure: Need a nexthop address on LAN
Code:
[edit]
admin@R3# run show route advertising-protocol bgp 10.255.0.4 extensive
VRF-1-osiris.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
* 10.43.3.0/24 (1 entry, 1 announced)
BGP group internal type Internal
Route Distinguisher: 10.255.0.3:1
BGP label allocation failure: Need a nexthop address on LAN
Nexthop: Not advertised
Flags: Nexthop Change
Localpref: 100
AS path: [1234567890] I
Communities: target:1:1
This error is caused by the fact that local VPN routes sitting on a broadcast (Ethernet) segment, advertised to remote PEs, have to have a local/LAN next hop. For VRFs this is done with tunnel PICs or "vrf-table-label".
Code:
[edit]
admin@R3# set routing-instances VRF-1-osiris vrf-table-label
[edit]
admin@R3# commit
commit complete
[edit]
admin@R3# run show route advertising-protocol bgp 10.255.0.4 extensive
VRF-1-osiris.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
* 10.43.3.0/24 (1 entry, 1 announced)
BGP group internal type Internal
Route Distinguisher: 10.255.0.3:1
VPN Label: 16
Nexthop: Self
Flags: Nexthop Change
Localpref: 100
AS path: [1234567890] I
Communities: target:1:1