Hello,
I'm working for days on pmacct, trying to make him send ipv6 sflow packets
to my collector. But I only see ipv4.

Here's my config :

root@bgp-rtr2:/usr/local/etc/pmacct# cat pmacctd.sflow.conf

debug: false
daemonize: false
interface: eth0
aggregate: etype, tag, src_host, dst_host, src_port, dst_port, proto, tos,
src_as, dst_as

! plugins: sfprobe[ipv4],sfprobe[ipv6]
plugins: sfprobe[ipv4]

sfprobe_receiver[ipv4]: 192.168.156.109:6343
 sfprobe_direction[ipv4]: tag
 sfprobe_ifindex[ipv4]: tag2
 sfprobe_agentip[ipv4]: 185.x.x.1

! sfprobe_receiver[ipv6]: 192.168.156.109:6343
! sfprobe_direction[ipv6]: tag
! sfprobe_ifindex[ipv6]: tag2
! sfprobe_agentip[ipv6]: 212.x.x.171

plugin_buffer_size: 40960

sampling_rate: 100
pmacctd_as: bgp
bgp_daemon: true
! bgp_daemon_ip: 127.0.0.1
bgp_daemon_ip: ::
bgp_daemon_port: 17917
bgp_agent_map: /usr/local/etc/pmacct/bgp_agent_map.map
bgp_peer_as_skip_subas: true
bgp_peer_src_as_type: bgp
pre_tag_map: /usr/local/etc/pmacct/pretag.map

root@bgp-rtr2:/usr/local/etc/pmacct# cat bgp_agent_map.map
bgp_ip=185.x.x.1 ip=0.0.0.0/0 filter='ip or (vlan and ip)'
bgp_ip=212.x.x.171 ip=0.0.0.0/0 filter='ip6 or (vlan and ip6)'

BGP sessions are UP with bird and bird6 processes. but only ipv4 flow is
exported.
What am I doing wrong ?

I tried (the commented part) to add an ipv6 sfprobe plugin, but the result
is that all flows are sent twice to the receiver.

Thanks for your help.
Regards
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to