MPLS L3VPN using bird
Ondrej Zajicek
santiago at crfreenet.org
Fri Sep 16 02:58:53 CEST 2022
On Thu, Sep 15, 2022 at 08:08:09PM +0000, Jose Miguel Bentue wrote:
> Hello,
>
> The goal is to gain communication from a linux based host to another PE-CE by using MPLS L3VPN.
>
> To your question:
>
> * "configure the PE functionality, connecting to other PE via BGP with MPLS (AFI 1 / SAFI 128) + mpls-labeled packets"
>
> Yes, I understand that's first step and it is done by using "vpn4 mpls" channel, am I right?
> Once the BGP session is established, I see the routes in bird's vpn4 table.
Hello
As Maria wrote, this part is not implemented. Our BGP L3VPN (1/128) code
can be used as a route reflector for other PEs, but not as PE itself.
Coincidently, i just finished improved MPLS support for BIRD [*], which
supports full LSP routing with BGP-based label distribution, and i am
currently working on L3VPN code for PE, it should be usable next week.
Note that even this code is limited to BGP label distribution for MPLS
backbone (no LDP support).
[*] https://gitlab.nic.cz/labs/bird/-/commits/mpls
> ________________________________
> From: Bird-users on behalf of Maria Matejka
> Sent: Thursday, September 15, 2022 8:07 PM
> To: bird-users at network.cz
> Subject: Re: MPLS L3VPN using bird
>
> Hello!
>
> This part of MPLS is not implemented for now. Yet to clarify this, you
> want to configure the PE functionality, connecting to other PE via BGP
> with MPLS (AFI 1 / SAFI 128) + mpls-labeled packets and also to CE via
> BGP AFI 1 / SAFI 1 (unicast) + normal IP packets?
>
> Thanks
> Maria
>
>
> On 9/15/22 19:33, Jose Miguel Bentue wrote:
> > Hello,
> >
> > I'm trying to establish MPLS L3VPN between bird and another router.
> >
> > CE1 -- PE1 --- MPLS VPN --- PE2 -- CE2
> >
> > Can anybody help me with a configuration example?
> >
> > I have set the configuration at the end of the mail and can see bird
> > establish the BGP session and get routes in alt_ipv4_table. But I don't
> > see the traffic is being routed according to that table.
> >
> > Thanks in advance and Best Regards
> >
> > ===========================================
> > vpn4 table alt_ipv4_table;
> >
> > log syslog all;
> >
> > router id 10.7.3.106;
> >
> > protocol device {
> > scan time 10;
> > }
> >
> > protocol kernel {
> > learn;
> > persist;
> > scan time 2;
> > ipv4 {
> > import all;
> > export all;
> > };
> > graceful restart;
> > merge paths on;
> > }
> >
> > protocol bgp uplink1 {
> > description "My BGP uplink";
> > local 10.7.3.106 as 64516;
> > neighbor 10.7.3.180 as 64513;
> > ipv4 {
> > import filter {reject;};
> > export filter {accept;};
> > };
> > vpn4 mpls {
> > table alt_ipv4_table;
> > import all;
> > export none;
> > };
> > multihop;
> > graceful restart;
> > connect delay time 2;
> > connect retry time 5;
> > error wait time 5,30;
> > }
> > ============================================
> >
> >
> > --------------------------------------------------
> >
> > *José Miguel Bentué*
> >
> > Support Engineer
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
More information about the Bird-users
mailing list