Johan,

Can you include configuration and output from show trace? (For when you are 
sending ICMP and TCP.)

Best regards,
Ole

> On 16 Nov 2017, at 23:20, MUEDSAM, JOHAN <jm8...@att.com> wrote:
> 
> Thanks Ole, got it working after running the tests and digging through the 
> test code. I'm able to capture and parse the IPFIX output from the Flowprobe 
> plugin.
> 
> I have another question. I'm going through the examples, specifically the 
> "Progressive Tutorial - Source NAT" and "VPP/Configure VPP As A Router 
> Between Namespaces".
> 
> I get the examples working as is, however they only allow ICMP traffic 
> through, TCP and UDP gets dropped somewhere and can't get through.
> 
> Do I need to change the setup to get TCP/UDP to go through?
> 
> /Johan
> 
> On 11/13/17, 10:53 AM, "Ole Troan" <otr...@employees.org> wrote:
> 
>    Hi Johan,
> 
>    You have a route to 192.168.65.2?
>    Nothing shows up in "show error"?
> 
>    You can look at test/test_flowprobe.py
>    for examples. And you might also try a make test TEST=flowprobe to ensure 
> your build works.
> 
>    On second pass on your configuration.
>    You have enabled flow collection in the L2 path, if you are IP forwarding 
> you need to enable it in the L3 path.
>> vppctl flowprobe feature add-del host-vpp1out l3
> 
>    Cheers,
>    Ole
> 
> 
>> On 14 Nov 2017, at 00:38, MUEDSAM, JOHAN <jm8...@att.com> wrote:
>> 
>> Hi,
>> 
>> I'm trying to capture IPFIX records of traffic on my VPP managed interfaces. 
>> So far I haven't been able to see any templates or IPFIX records in my 
>> collector.
>> 
>> Here's my VPP setup (from the progressive tutorial), I'm using a docker 
>> container with Ubuntu 16.04 and the binary VPP master release:
>> ip link add name vpp1out type veth peer name vpp1host
>> ip link set dev vpp1out up
>> ip link set dev vpp1host up
>> ip addr add 10.10.1.1/24 dev vpp1host
>> ip addr show vpp1host
>> vppctl create host-interface name vpp1out
>> vppctl show hardware
>> vppctl set int state host-vpp1out up
>> vppctl show int
>> vppctl set int ip address host-vpp1out 10.10.1.2/24
>> vppctl show int addr
>> 
>> Flowprobe setup, here I'm using non VPP managed IPs to setup source and 
>> collector addresses:
>> vppctl flowprobe params record l2 l3 l4 active 20 passive 120
>> vppctl flowprobe feature add-del host-vpp1out l2
>> vppctl set ipfix exporter collector 192.168.65.2 src 192.168.65.2 
>> template-interval 20 port 4739 path-mtu 1450
>> 
>> I generate traffic by pinging the 10.10.1.2 address above.
>> And I'm currently listening on the collector UDP port using this to detect 
>> IPFIX data coming from VPP: nc -l -u 192.168.65.2 -p 4739
>> I can see traffic in the Flowprobe table but as I mentioned I get nothing on 
>> the UDP collector interface.
>> 
>> Any ideas of why I'm not seeing any IPFIX data (not even templates) on the 
>> UDP port?
>> Is there a working e2e example of how to use Flowprobe I could start with?
>> 
>> Any pointers would be greatly appreciated.
>> 
>> Thanks,
>> Johan
>> 
>> _______________________________________________
>> vpp-dev mailing list
>> vpp-dev@lists.fd.io
>> https://lists.fd.io/mailman/listinfo/vpp-dev
> 
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to