vpn6-mpls routes on BIRD 2

Jan Maria Matejka jan.matejka at nic.cz
Fri Aug 24 19:20:47 CEST 2018


I suspect you are missing the "extended next hop" option in your
BGP protocol config.

Thanks
Maria

On 08/24/2018 07:02 PM, Chris Herdt wrote:
> When I run bird in debug mode, I do see a lot of messages about missing next hop:
> 
> bird: peer1: Missing next hop address
> bird: peer1: Invalid NEXT_HOP attribute
> bird: peer1: Invalid NEXT_HOP attribute
> bird: peer1: Invalid NEXT_HOP attribute
> [etc.]
> 
> When I examine the update packets coming in for IPv6 route announcements, the next hop is an IPv4 address in this format (addresses changed for anonymity):
> 
> ::ffff:192.168.42.6
> 
> I have also tried a couple different things in my config files to explicitly set the next hop address, but the next hop address is still missing:
> 
> filter setnexthop
> ip explicit_next_hop;
> {
>     explicit_next_hop = fd12:3456:789a:1::1;
>     bgp_next_hop = explicit_next_hop;
>     accept;
> }
> 
> ...
> 
>         vpn6 mpls {
>                 table vpntab6;
>                 missing lladdr ignore;
>                 next hop self;
>                 import filter setnexthop;
>         };
> 
> 
> Anyone have any advice?
> 
> Thanks,
> 
> On Thu, Aug 23, 2018 at 8:42 PM Arvin Gan <AGan at advaoptical.com <mailto:AGan at advaoptical.com>> wrote:
> 
>     Hi ,____
> 
>       From your protocols info, “BGP Next hop:   ::”  in channel vpn6-mpls, if next hop is empty, the route is withdrawn. Suggest to check it.____
> 
>     __ __
> 
>     Best Regards,____
> 
>     Arvin Gan____
> 
>     __ __
> 
>     *From:*Bird-users <bird-users-bounces at network.cz <mailto:bird-users-bounces at network.cz>> *On Behalf Of *Chris Herdt
>     *Sent:* Friday, August 24, 2018 5:48 AM
>     *To:* bird-users at network.cz <mailto:bird-users at network.cz>
>     *Subject:* vpn6-mpls routes on BIRD 2____
> 
>     __ __
> 
>     Thanks to the list for all the help you've given me so far!____
> 
>     __ __
> 
>     Another question: I am running BIRD 2.0.2 and peering with a host that is announcing vpn4 mpls and vpn6 mpls routes.____
> 
>     __ __
> 
>     The vpn4 mpls routes are working, but all of the vpn6 mpls routes appear as withdrawn routes. I'm not sure why -- I looked at the packet capture in Wireshark and the UPDATE messages containing the IPv6 routes all show zero for Withdrawn Routes Length. Any ideas?____
> 
>     __ __
> 
>     Here's the result of 'show protocols all peer1' (addresses changed):____
> 
>     __ __
> 
>     bird> show protocols all peer1
>     Name       Proto      Table      State  Since         Info
>     peer1      BGP        ---        up     14:35:04.353  Established  
>       BGP state:          Established
>         Neighbor address: 192.168.42.1
>         Neighbor AS:      65321
>         Neighbor ID:      192.168.42.1
>         Local capabilities
>           Multiprotocol
>             AF announced: vpn4-mpls vpn6-mpls
>           Route refresh
>           Graceful restart
>           4-octet AS numbers
>           Enhanced refresh
>         Neighbor capabilities
>           Multiprotocol
>             AF announced: vpn4-mpls vpn6-mpls
>           Route refresh
>           Extended next hop
>             IPv6 nexthop: ipv4 ipv4-mc
>           Graceful restart
>             Restart time: 120
>             AF supported: vpn4-mpls vpn6-mpls
>             AF preserved:
>           4-octet AS numbers
>         Session:          internal multihop AS4
>         Source address:   192.168.100.1
>         Hold timer:       12.954/15
>         Keepalive timer:  0.005/5
>       Channel vpn4-mpls
>         State:          UP
>         Table:          vpntab4
>         Preference:     100
>         Input filter:   ACCEPT
>         Output filter:  REJECT
>         Routes:         9771 imported, 0 exported
>         Route change stats:     received   rejected   filtered    ignored   accepted
>           Import updates:           9771          0          0          0       9771
>           Import withdraws:           20          0        ---         20          0
>           Export updates:           9771       9771          0        ---          0
>           Export withdraws:            0        ---        ---        ---          0
>         BGP Next hop:   192.168.100.1
>         IGP IPv4 table: master4
>       Channel vpn6-mpls
>         State:          UP
>         Table:          vpntab6
>         Preference:     100
>         Input filter:   ACCEPT
>         Output filter:  REJECT
>         Routes:         0 imported, 0 exported
>         Route change stats:     received   rejected   filtered    ignored   accepted
>           Import updates:              0          0          0          0          0
>           Import withdraws:         2785          0        ---       2785          0
>           Export updates:              0          0          0        ---          0
>           Export withdraws:            0        ---        ---        ---          0
>         BGP Next hop:   ::
>         IGP IPv6 table: master6____
> 
>     __ __
> 
> 
>     -- ____
> 
>     Chris Herdt
>     https://osric.com/chris/____
> 
> 
> 
> -- 
> Chris Herdt
> https://osric.com/chris/



More information about the Bird-users mailing list