<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=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 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";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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="MsoNormal"><span style="color:#1F497D">Can someone help me on this please ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span lang="EN-IN" style="font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:gray">Regards,</span></b><span lang="EN-IN" style="font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:black">
<br>
</span><b><span lang="EN-IN" style="font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:gray">Thiruvazhiyan Lakshmanan<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;color:gray">NVP – Testing and Certification team<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;color:gray">Room - A3 1C-24<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;color:gray">Middletown, NJ 07748 USA<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:gray">Email: </span><span lang="EN-IN" style="font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:#1F497D"><a href="mailto:tl488q@att.com">tl488q@att.com</a></span><span style="font-size:9.0pt;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:#999999">Office:
</span><span style="font-size:10.0pt;font-family:Consolas;color:#1F497D">+1 732 420 8076</span><span lang="EN-IN" style="font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:#999999"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:#999999">Mobile:
</span><span style="font-size:10.0pt;font-family:Consolas;color:#1F497D">+1 732 331 3485</span><span style="font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:black">
</span><span lang="EN-IN" style="font-size:9.0pt;color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> LAKSHMANAN, THIRUVAZHIYA
<br>
<b>Sent:</b> March 01, 2018 4:12 PM<br>
<b>To:</b> 'Robert Blayzor'<br>
<b>Subject:</b> RE: Advertise loopback IP into BGP - BIRD 2.0.1<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText">Hi Robert,<o:p></o:p></p>
<p class="MsoPlainText">Thanks for your response. My goal is to just export lo:10 interface IP
<span style="color:#1F497D">(10.10.200.3/32) </span>through <span style="color:#1F497D">
e</span>BGP and import all the routes on the BGP. With the following configuration, I am able to import all the routes, but export of lo:10 interface route is not happening.<span style="color:#1F497D"> Below is my bird.conf , what is that I am missing?</span><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">router id 198.51.100.10;<o:p></o:p></p>
<p class="MsoPlainText">filter http_loopback {<o:p></o:p></p>
<p class="MsoPlainText"> if net = 10.10.200.3/32 then accept;<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"># ipv4 {<o:p></o:p></p>
<p class="MsoPlainText"># import all;<o:p></o:p></p>
<p class="MsoPlainText"># export all; # Default is export none<o:p></o:p></p>
<p class="MsoPlainText"># };<o:p></o:p></p>
<p class="MsoPlainText"># scan time 20;<o:p></o:p></p>
<p class="MsoPlainText"># persist; # Don't remove routes on BIRD shutdown<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"> interface "lo:10";<o:p></o:p></p>
<p class="MsoPlainText"> ipv4 {<o:p></o:p></p>
<p class="MsoPlainText"> export filter http_loopback;<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">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.100.2 as 65110;<o:p></o:p></p>
<p class="MsoPlainText"> neighbor 10.10.100.1 as 65001;<o:p></o:p></p>
<p class="MsoPlainText"> ipv4 {<o:p></o:p></p>
<p class="MsoPlainText"> export filter http_loopback;<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">}<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I have a doubt, the "show route" output is also not showing the lo:10 ip in the table. Why is it not in the table. And "show protocol all" output under BGP shows below, it has 6 routes received and 6 rejected for Export updates. Why
is it rejecting.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"> Channel ipv4<o:p></o:p></p>
<p class="MsoPlainText"> State: UP<o:p></o:p></p>
<p class="MsoPlainText"> Table: master4<o:p></o:p></p>
<p class="MsoPlainText"> Preference: 100<o:p></o:p></p>
<p class="MsoPlainText"> Input filter: ACCEPT<o:p></o:p></p>
<p class="MsoPlainText"> Output filter: http_loopback<o:p></o:p></p>
<p class="MsoPlainText"> Routes: 6 imported, 0 exported<o:p></o:p></p>
<p class="MsoPlainText"> Route change stats: received rejected filtered ignored accepted<o:p></o:p></p>
<p class="MsoPlainText"> Import updates: 6 0 0 0 6<o:p></o:p></p>
<p class="MsoPlainText"> Import withdraws: 0 0 --- 0 0<o:p></o:p></p>
<p class="MsoPlainText"> <span style="background:yellow;mso-highlight:yellow">
Export updates: 6 6 0 --- 0</span><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 Lakshmanan<o:p></o:p></p>
<p class="MsoPlainText">NVP – Testing and Certification team<o:p></o:p></p>
<p class="MsoPlainText">Room - A3 1C-24<o:p></o:p></p>
<p class="MsoPlainText">Middletown, NJ 07748 USA<o:p></o:p></p>
<p class="MsoPlainText">Email: <a href="mailto:tl488q@att.com">tl488q@att.com</a><o:p></o:p></p>
<p class="MsoPlainText">Office: +1 732 420 8076<o:p></o:p></p>
<p class="MsoPlainText">Mobile: +1 732 331 3485 <o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-----Original Message-----<br>
From: Robert Blayzor [<a href="mailto:rblayzor@inoc.net">mailto:rblayzor@inoc.net</a>]
<br>
Sent: February 26, 2018 6:01 PM<br>
To: LAKSHMANAN, THIRUVAZHIYA<br>
Subject: Re: Advertise loopback IP into BGP - BIRD 2.0.1<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Is your goal to ONLY export the loopback? If so, disable the kernel protocol and either just do direct or even statics… I never use kernel as I’m not using my servers as a router, but rather as just a route server, so I never change
or export the actual servers routing table.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">You have to add an export to your direct… try:<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">protocol direct {<o:p></o:p></p>
<p class="MsoPlainText"> interface "lo:10”;<o:p></o:p></p>
<p class="MsoPlainText"> ipv4 {<o:p></o:p></p>
<p class="MsoPlainText"> export filter http_loopback;<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">protocol bgp {<o:p></o:p></p>
<p class="MsoPlainText"> ...<o:p></o:p></p>
<p class="MsoPlainText"> ipv4 {<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">}<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">Robert Blayzor<o:p></o:p></p>
<p class="MsoPlainText">E-Mail/XMPP: rblayzor.AT.inoc.net<o:p></o:p></p>
<p class="MsoPlainText">PGP: <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__inoc.net_-7Erblayzor_&d=DwIFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Hr9lSHBFHFernxnRV47c1g&m=PkbQxaiAM2Xjllf3YBld5GnZTmORifjSx1294IXQ7UQ&s=MzZCQEsf0DeE7MNtwWRqojco70VFAi8e8gFsx91pJV0&e">
<span style="color:windowtext;text-decoration:none">https://urldefense.proofpoint.com/v2/url?u=https-3A__inoc.net_-7Erblayzor_&d=DwIFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Hr9lSHBFHFernxnRV47c1g&m=PkbQxaiAM2Xjllf3YBld5GnZTmORifjSx1294IXQ7UQ&s=MzZCQEsf0DeE7MNtwWRqojco70VFAi8e8gFsx91pJV0&e</span></a>=
<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"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> On Feb 26, 2018, at 5:46 PM, LAKSHMANAN, THIRUVAZHIYA <<a href="mailto:tl488q@att.com"><span style="color:windowtext;text-decoration:none">tl488q@att.com</span></a>> wrote:<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">> interface "lo:10";<o:p></o:p></p>
<p class="MsoPlainText">> }<o:p></o:p></p>
<p class="MsoPlainText">> filter http_loopback {<o:p></o:p></p>
<p class="MsoPlainText">> if net = 10.10.200.3/32 then accept;<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">> ipv4 {<o:p></o:p></p>
<p class="MsoPlainText">> import all;<o:p></o:p></p>
<p class="MsoPlainText">> export all; # Default is export none<o:p></o:p></p>
<p class="MsoPlainText">> };<o:p></o:p></p>
<p class="MsoPlainText">> scan time 20;<o:p></o:p></p>
<p class="MsoPlainText">> persist; # Don't remove routes on BIRD shutdown<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.100.2 as 65110;<o:p></o:p></p>
<p class="MsoPlainText">> neighbor 10.10.100.1 as 65001;<o:p></o:p></p>
<p class="MsoPlainText">> ipv4 {<o:p></o:p></p>
<p class="MsoPlainText">> export filter http_loopback;<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">> }<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
</div>
</body>
</html>