<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText">Hi Ondrej,<o:p></o:p></p>
<p class="MsoPlainText">Thanks for your reply. I have upgraded the kernel on my VM and now I am getting the 3107 routes in the mtab4 table in the bird. But the routes are not programed to mpls Kernel table. Maybe I am missing some configuration in the bird.conf.
can you please help.<o:p></o:p></p>
<p class="MsoPlainText">Below is the bird.conf that I am using,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">router id 198.51.101.10;<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">ipv4 table master4;<o:p></o:p></p>
<p class="MsoPlainText">ipv6 table master6;<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">ipv4 table mtab4;<o:p></o:p></p>
<p class="MsoPlainText">ipv6 table mtab6;<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">protocol kernel {<o:p></o:p></p>
<p class="MsoPlainText"> persist;<o:p></o:p></p>
<p class="MsoPlainText"> scan time 10;<o:p></o:p></p>
<p class="MsoPlainText"> ipv4 {<o:p></o:p></p>
<p class="MsoPlainText"> export all;<o:p></o:p></p>
<p class="MsoPlainText"> import all;<o:p></o:p></p>
<p class="MsoPlainText"> };<o:p></o:p></p>
<p class="MsoPlainText">}<o:p></o:p></p>
<p class="MsoPlainText">protocol direct {<o:p></o:p></p>
<p class="MsoPlainText"> ipv4 {<o:p></o:p></p>
<p class="MsoPlainText"> export all;<o:p></o:p></p>
<p class="MsoPlainText"> import all;<o:p></o:p></p>
<p class="MsoPlainText"> };<o:p></o:p></p>
<p class="MsoPlainText"> interface "-eth*", "*";<o:p></o:p></p>
<p class="MsoPlainText">}<o:p></o:p></p>
<p class="MsoPlainText">protocol device {<o:p></o:p></p>
<p class="MsoPlainText"> scan time 10; # Scan interfaces every 10 seconds<o:p></o:p></p>
<p class="MsoPlainText">}<o:p></o:p></p>
<p class="MsoPlainText">protocol bgp {<o:p></o:p></p>
<p class="MsoPlainText"> local 10.10.101.2 as 65110; # Use a private AS number<o:p></o:p></p>
<p class="MsoPlainText"> neighbor 10.10.101.1 as 65001; # Our neighbor ...<o:p></o:p></p>
<p class="MsoPlainText"> ipv4 {<o:p></o:p></p>
<p class="MsoPlainText"> table master4;<o:p></o:p></p>
<p class="MsoPlainText"> export all;<o:p></o:p></p>
<p class="MsoPlainText"> import all;<o:p></o:p></p>
<p class="MsoPlainText"> next hop self; # advertise this router as next hop<o:p></o:p></p>
<p class="MsoPlainText"> };<o:p></o:p></p>
<p class="MsoPlainText"> # IPv4 with MPLS labels (1/4)<o:p></o:p></p>
<p class="MsoPlainText"> ipv4 mpls {<o:p></o:p></p>
<p class="MsoPlainText"> # explicit IPv4 table<o:p></o:p></p>
<p class="MsoPlainText"> table mtab4;<o:p></o:p></p>
<p class="MsoPlainText"> import all;<o:p></o:p></p>
<p class="MsoPlainText"> export all;<o:p></o:p></p>
<p class="MsoPlainText"> };<o:p></o:p></p>
<p class="MsoPlainText">}<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Below is the routes in the bird,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">bird> show route<o:p></o:p></p>
<p class="MsoPlainText">Table master4:<o:p></o:p></p>
<p class="MsoPlainText">10.10.101.0/24 unicast [direct1 14:01:19.209] * (240)<o:p></o:p></p>
<p class="MsoPlainText"> dev bond0.11<o:p></o:p></p>
<p class="MsoPlainText">135.21.13.160/28 unicast [direct1 14:01:19.209] * (240)<o:p></o:p></p>
<p class="MsoPlainText"> dev ens3<o:p></o:p></p>
<p class="MsoPlainText"><span style="background:yellow;mso-highlight:yellow">bird> show route table mtab4 ==========</span><span style="font-family:Wingdings;background:yellow;mso-highlight:yellow">è</span><span style="background:yellow;mso-highlight:yellow">
BGP 3107 - MPLS label routes on the bird</span><o:p></o:p></p>
<p class="MsoPlainText">Table mtab4:<o:p></o:p></p>
<p class="MsoPlainText">1.0.1.0/24 unicast [bgp1 17:17:10.458] * (100) [AS65001i]<o:p></o:p></p>
<p class="MsoPlainText"> via 10.10.101.1 on bond0.11 mpls 1031<o:p></o:p></p>
<p class="MsoPlainText">1.0.0.0/24 unicast [bgp1 17:17:10.458] * (100) [AS65001i]<o:p></o:p></p>
<p class="MsoPlainText"> via 10.10.101.1 on bond0.11 mpls 1030<o:p></o:p></p>
<p class="MsoPlainText">1.0.3.0/24 unicast [bgp1 17:17:10.458] * (100) [AS65001i]<o:p></o:p></p>
<p class="MsoPlainText"> via 10.10.101.1 on bond0.11 mpls 1033<o:p></o:p></p>
<p class="MsoPlainText">1.0.2.0/24 unicast [bgp1 17:17:10.458] * (100) [AS65001i]<o:p></o:p></p>
<p class="MsoPlainText"> via 10.10.101.1 on bond0.11 mpls 1032<o:p></o:p></p>
<p class="MsoPlainText">1.0.5.0/24 unicast [bgp1 17:17:10.458] * (100) [AS65001i]<o:p></o:p></p>
<p class="MsoPlainText"> via 10.10.101.1 on bond0.11 mpls 1035<o:p></o:p></p>
<p class="MsoPlainText">1.0.4.0/24 unicast [bgp1 17:17:10.458] * (100) [AS65001i]<o:p></o:p></p>
<p class="MsoPlainText"> via 10.10.101.1 on bond0.11 mpls 1034<o:p></o:p></p>
<p class="MsoPlainText">1.0.7.0/24 unicast [bgp1 17:17:10.458] * (100) [AS65001i]<o:p></o:p></p>
<p class="MsoPlainText"> via 10.10.101.1 on bond0.11 mpls 1037<o:p></o:p></p>
<p class="MsoPlainText">1.0.6.0/24 unicast [bgp1 17:17:10.458] * (100) [AS65001i]<o:p></o:p></p>
<p class="MsoPlainText"> via 10.10.101.1 on bond0.11 mpls 1036<o:p></o:p></p>
<p class="MsoPlainText">1.0.9.0/24 unicast [bgp1 17:17:10.458] * (100) [AS65001i]<o:p></o:p></p>
<p class="MsoPlainText"> via 10.10.101.1 on bond0.11 mpls 1039<o:p></o:p></p>
<p class="MsoPlainText">1.0.8.0/24 unicast [bgp1 17:17:10.458] * (100) [AS65001i]<o:p></o:p></p>
<p class="MsoPlainText"> via 10.10.101.1 on bond0.11 mpls 1038<o:p></o:p></p>
<p class="MsoPlainText">bird><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">below is the routes in the kernel tables,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span style="background:yellow;mso-highlight:yellow">root@ubuntu4-4-VM1:/usr/local/etc# ip -f mpls route show ========> no label routes in this output<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="background:yellow;mso-highlight:yellow">300 dev lo</span><o:p></o:p></p>
<p class="MsoPlainText">root@ubuntu4-4-VM1:/usr/local/etc# ip -f inet route show<o:p></o:p></p>
<p class="MsoPlainText">default via 135.21.13.161 dev ens3 onlink<o:p></o:p></p>
<p class="MsoPlainText">10.10.101.0/24 dev bond0.11 proto kernel scope link src 10.10.101.2<o:p></o:p></p>
<p class="MsoPlainText">10.10.101.0/24 dev bond0.11 proto bird scope link metric 32<o:p></o:p></p>
<p class="MsoPlainText">135.21.13.160/28 dev ens3 proto kernel scope link src 135.21.13.165<o:p></o:p></p>
<p class="MsoPlainText">135.21.13.160/28 dev ens3 proto bird scope link metric 32<o:p></o:p></p>
<p class="MsoPlainText">root@ubuntu4-4-VM1:/usr/local/etc#<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">below is the VM details,<o:p></o:p></p>
<p class="MsoPlainText">root@ubuntu4-4-VM1:/usr/local/etc# lsb_release -a<o:p></o:p></p>
<p class="MsoPlainText">No LSB modules are available.<o:p></o:p></p>
<p class="MsoPlainText">Distributor ID: Ubuntu<o:p></o:p></p>
<p class="MsoPlainText">Description: Ubuntu 16.04.4 LTS<o:p></o:p></p>
<p class="MsoPlainText">Release: 16.04<o:p></o:p></p>
<p class="MsoPlainText">Codename: xenial<o:p></o:p></p>
<p class="MsoPlainText">root@ubuntu4-4-VM1:/usr/local/etc# uname -r<o:p></o:p></p>
<p class="MsoPlainText"><span style="background:yellow;mso-highlight:yellow">4.4.0-119-generic</span><o:p></o:p></p>
<p class="MsoPlainText">root@ubuntu4-4-VM1:/usr/local/etc#<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Regards, <o:p></o:p></p>
<p class="MsoPlainText">Thiruvazhiyan L<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-----Original Message-----<br>
From: Ondrej Zajicek [mailto:santiago@crfreenet.org] <br>
Sent: Friday, June 8, 2018 3:26 PM<br>
To: Thiruvazhiyan Lakshmanan<br>
Cc: bird-users@network.cz<br>
Subject: Re: BIRD - Config Support for RFC 3107 - Carrying Label Information in BGP</p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">On Fri, Jun 08, 2018 at 04:03:41PM +0000, Thiruvazhiyan Lakshmanan wrote:<o:p></o:p></p>
<p class="MsoPlainText">> Hi Ondrej,<o:p></o:p></p>
<p class="MsoPlainText">> Thanks for your reply. What is the recommended linux kernel verison for mpls if BIRD acts as a PE.
<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> We have VM with Red Hat Enterprise Linux Server 7.3 (Maipo)<o:p></o:p></p>
<p class="MsoPlainText">> Kernel 3.10.0-693.2.2.el7.x86_64 on an x86_64<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> And Bird 2.0.1 version, but it is not working. Can you please confirm whether the environment we have is supporting mpls. If not, what is the recommended kernel version.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hi<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I think that 2.0.1 is OK, i don't there is any related bugfix in 2.0.2.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">But your kernel is probably too old, MPLS forwarding is rather recent feature.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">You should check that you can doo MPLS routes with basic iproute2 commands<o:p></o:p></p>
<p class="MsoPlainText">(so you have recent kernel and iproute2 tools):<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">https://stackoverflow.com/questions/31926342/iproute2-commands-for-mpls-configuration<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-- <o:p></o:p></p>
<p class="MsoPlainText">Elen sila lumenn' omentielvo<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org)<o:p></o:p></p>
<p class="MsoPlainText">OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)<o:p></o:p></p>
<p class="MsoPlainText">"To err is human -- to blame it on a computer is even more so."<o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color:#1F4E79">============================================================================================================================<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">Disclaimer: This message
and the information contained herein is proprietary and confidential and
subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a>
externally <a href="http://tim.techmahindra.com/tim/disclaimer.html">http://tim.techmahindra.com/tim/disclaimer.html</a>
internally within TechMahindra.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">============================================================================================================================<o:p></o:p></span></p></body>
</html>