pmacct-discussion  

Re: [pmacct-discussion] Netflow v5 / BGP export as Netflow v8 aggregated by as

Paolo Lucente
Sun, 29 Nov 2009 13:35:49 -0800

Hi Andre,

On Sun, Nov 29, 2009 at 06:17:02PM +0100, Andre Keller wrote:

> I'm very new to pmacct. I attended the presentation Paolo held the last
> swinog meeting and go interessted

Glad to have somebody from SwiNOG on this discussion list.

> So I tried to get this working with pmacct step-by-step but I stuck with
> the bgp setup:

If i got it correctly: your NetFlow agent is exporting NetFlow
v5 to pmacct with a certain IP address, say, x.x.x.x. Whereas
pmacct is BGP peering with Quagga through the 127.0.0.1 address.

If this is the case, what you are missing is a map between the
NetFlow agent (x.x.x.x) and the BGP peer (127.0.0.1). You can
link the two via a bgp_agent_map configuration directive, ie.

bgp_agent_map: /path/to/agent.map

Content of the /path/to/agent.map is as follows:

id=127.0.0.1 ip=x.x.x.x

The bgp_agent_map directive is documented in the CONFIG-KEYS;
whereas content of the map is in 'examples/agent_to_peer.map'
within the distribution tarball.

Let me know if you see this working.

Cheers,
Paolo


_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists