[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quagga-dev
Subject:    [quagga-dev 8200] Re: interaction with BGP FIB
From:       Waqas Daar <waqasdaar () gmail ! com>
Date:       2010-08-28 6:23:26
Message-ID: AANLkTi=E8DR0mX-Z736vHqKqi=AOisknSA14aXH6L4d7 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Dear Balaji,

Thanks for your prompt reply. I am looking for how one can monitor the BGP
RIB and interact with it so that I can use that BGP RIB in my application. I
found that you can pass '*-n*' flag to the *bgpd* daemon and it will not
installed the bgpd routes into the kernel routing table. Now I want to
retrieve that computed RIB of BGP in a third party application and want to
monitor when there is any changes in BGP RIB.

Best Regards,

Waqas Daar


On Fri, Aug 27, 2010 at 11:18 PM, Balaji G <balajig81@gmail.com> wrote:

> > Does any one can guide me. I have gone through this link<http://www.quagga.net/zhh.html> .
> But I did not find any information how we can get the BGP FIB?
>
> There is nothing called as the BGP FIB. FIB is just one across all
> protocols, are you talking about the Linux Kernel FIB or the RIB/RTM that's
> maintained by the Zserv. If its the Linux Kernel FIB, the RTM interacts with
> the kernel using sockets Ref(rtm_write()), and if BGP wants to communicate
> with the ZServ its using messages. Ref (zapi_ipv4_route()).
>
> Hope this helps
>
> Cheers,
>   - Balaji
>
>
>
> On Sat, Aug 28, 2010 at 2:15 AM, Waqas Daar <waqasdaar@gmail.com> wrote:
>
>> Does any one can guide me. I have gone through this link<http://www.quagga.net/zhh.html> .
>> But I did not find any information how we can get the BGP FIB? Can any one
>> guide me I will be very thankful to you.
>>
>> Best Regards,
>>
>> Waqas Daar
>>
>>
>>
>> On Fri, Aug 27, 2010 at 4:28 PM, Waqas Daar <waqasdaar@gmail.com> wrote:
>>
>>> Dear all,
>>>
>>> I want to write a application that can interact with the computed FIB of
>>> BGP and stored it in the application. Can any one give me any idea how can
>>> we achieve this.
>>>
>>> Thanks in Advanced,
>>> Best Regards,
>>>
>>>
>>
>> _______________________________________________
>> Quagga-dev mailing list
>> Quagga-dev@lists.quagga.net
>> http://lists.quagga.net/mailman/listinfo/quagga-dev
>>
>>
>

[Attachment #5 (text/html)]

<div dir="ltr">Dear Balaji, <br><br>Thanks for your prompt reply. I am looking for \
how one can monitor the BGP RIB and interact with it so that I can use that BGP RIB \
in my application. I found that you can pass &#39;<b>-n</b>&#39; flag to the \
<b>bgpd</b> daemon and it will not installed the bgpd routes into the kernel routing \
table. Now I want to retrieve that computed RIB of BGP in a third party application \
and want to monitor when there is any changes in BGP RIB. <br>

  <br clear="all">Best Regards,<br><br>Waqas Daar<br>
<br><br><div class="gmail_quote">On Fri, Aug 27, 2010 at 11:18 PM, Balaji G <span \
dir="ltr">&lt;<a href="mailto:balajig81@gmail.com">balajig81@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; \
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im">&gt; Does any one can guide me. I have gone through this <a \
href="http://www.quagga.net/zhh.html" target="_blank">link</a>  . But I did not find \
any information how we can get the BGP FIB? <br><br></div>There is nothing called as \
the BGP FIB. FIB is just one across all protocols, are you talking about the Linux \
Kernel FIB or the RIB/RTM that&#39;s maintained by the Zserv. If its the Linux Kernel \
FIB, the RTM interacts with the kernel using sockets Ref(rtm_write()), and if BGP \
wants to communicate with the ZServ its using messages. Ref (zapi_ipv4_route()).<br>


<br>Hope this helps<br><br>Cheers,<br>   - Balaji<br><br><br><br><div \
class="gmail_quote"><div><div></div><div class="h5">On Sat, Aug 28, 2010 at 2:15 AM, \
Waqas Daar <span dir="ltr">&lt;<a href="mailto:waqasdaar@gmail.com" \
target="_blank">waqasdaar@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; \
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div \
class="h5"><div dir="ltr">Does any one can guide me. I have gone through this <a \
href="http://www.quagga.net/zhh.html" target="_blank">link</a>  . But I did not find \
any information how we can get the BGP FIB? Can any one guide me I will be very \
thankful to you.  <div>




<br clear="all">Best Regards,<br><font color="#888888"><br>Waqas \
Daar</font><div><div></div><div><br> <br><br><div class="gmail_quote">On Fri, Aug 27, \
2010 at 4:28 PM, Waqas Daar <span dir="ltr">&lt;<a href="mailto:waqasdaar@gmail.com" \
target="_blank">waqasdaar@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, \
204, 204); padding-left: 1ex;">




<div dir="ltr">Dear all, <br><br>I want to write a application that can interact with \
the computed FIB of BGP and stored it in the application. Can any one give me any \
idea how can we achieve this.<br><br>Thanks in Advanced, <br clear="all">





Best Regards,<br><br>
</div>
</blockquote></div><br></div></div></div></div>
<br></div></div>_______________________________________________<br>
Quagga-dev mailing list<br>
<a href="mailto:Quagga-dev@lists.quagga.net" \
target="_blank">Quagga-dev@lists.quagga.net</a><br> <a \
href="http://lists.quagga.net/mailman/listinfo/quagga-dev" \
target="_blank">http://lists.quagga.net/mailman/listinfo/quagga-dev</a><br> \
<br></blockquote></div><br> </blockquote></div><br></div>



_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic