pmacct and BIRD on the same box
Charles van Niman
charles at phukish.com
Sun Sep 20 00:28:04 CEST 2015
Ah, so this was very easy to fix after all. If I have BIRD only listen
on the eBGP IP address, other iBGP routers cannot reach it on 179, but
the router itself can reach all the iBGP routers as a tcp client and
establish. This keeps everything in order, and works great. Sorry for
the noise, and thanks for everyone's patience!
/Charles
On Sat, Sep 19, 2015 at 4:35 PM, Charles van Niman <charles at phukish.com> wrote:
> Hello,
>
> I am looking to feed BGP data into pmacct on a linux router I
> have running BIRD. Right now, BIRD runs iBGP to five other boxes
> [quagga/BIRD mix], on one IP [172.22.150.126], assigned to the
> loopback interface, and a handful of eBGP peers on another IP
> [172.22.150.127].
>
> I see two practical approaches to this, but I am all ears for
> more! My original plan was to just put pmacct's BGP peer IP on a
> separate loopback IP [172.22.150.119], and peer between BIRD
> 172.22.150.126:179 and pmacct 172.22.150.119:179, however since I am
> using two different listening IPs in BIRD, it binds to 0.0.0.0.
>
> I attempted to use the global listen bgp option, but it seems I
> am forced to pick between eBGP, iBGP, running multiple BIRD instances,
> or renumbering sessions, which I want to avoid :(
>
> Another way around this seemed to be to use a different TCP port
> for pmacct to bind to, however BIRD doesn't seem to support
> per-neighbor port settings. Maybe I have just missed this feature, if
> so hooray!
>
> Please let me know any thoughts or ideas you have on this, I am
> open to anything, including how I may have worded this better.
>
> Regards,
> Charles
More information about the Bird-users
mailing list