On Sep 30, 2013, at 10:55 PM, abhishek jain <ashujain9...@gmail.com> wrote:

> Hi Ben ..
> 
> Thanks for the reply..
> 
> I am attaching the difference of logs before and after enabling IPFIX on OVS.
> The OVS is still not forwarding packets after enabling IPFIX on it.
> Please have a look at it

The sampling action is failing in userspace.
This might be due to a version incompatibility between kernelspace and 
userspace.
Could you please check that your OVS kernel datapath module has the same 
version as your OVS userspace version?
What is the version of your OVS kernel module?
--
Romain Lenglet

> 
> 
> 
> 
> On Mon, Sep 30, 2013 at 9:05 PM, Ben Pfaff <b...@nicira.com> wrote:
> On Mon, Sep 30, 2013 at 01:04:28PM +0530, abhishek jain wrote:
> > Hi Ben...
> >
> > In man-vsctl (OVS-VERSION 1.11) there is support for ipfix but i am not
> > able to test it properly.
> >
> >
> > I'm trying to implement IPFIX with OVS(version 1.11 ) using following
> > command ..
> >
> >  ovs-vsctl -- set Bridge br0 ipfix=@i -- --id=@i create IPFIX targets=\"
> > 192.168.1.200:4739\" obs_domain_id=123 obs_point_id=456
> >
> > My setup is follows....
> >
> >
> >
> >   [ OVS switch (br0) ] - IPFIX enabled
> >
> >      /                   \
> >
> >     /                     \
> >
> >    /                       \
> >
> > PC-1                PC-2(collector)
> >
> >  192.168.1.20         192.168.1.200
> >
> > When i use the above command,it gets pushed successfully with valid ipfix
> > id.However the problem is that after using the above command i'm not able
> > to ping the two PCs.
> 
> That doesn't really make sense.  Enabling IPFIX doesn't change
> forwarding.
> 
> What's in the log?
> 
348968a348969,348988
> 2013-10-01T05:37:25Z|00259|dpif|WARN|Dropped 37 log messages in last 148 
> seconds (most recently, 147 seconds ago) due to excessive rate
> 2013-10-01T05:37:25Z|00260|dpif|WARN|system@ovs-system: failed to 
> put[modify][zero] (Numerical result out of range) 
> in_port(2),eth(src=e0:db:55:a0:e1:13,dst=00:27:13:b7:2f:74),eth_type(0x0800),ipv4(src=192.168.1.200/0.0.0.0,dst=192.168.1.54/0.0.0.0,proto=1/0,tos=0/0,ttl=128/0,frag=no/0xff),icmp(type=8/0,code=0/0),
>  packets:0, bytes:0, used:never, 
> actions:sample(sample=100.0%,actions(userspace(pid=4294962366,ipfix))),4
> 2013-10-01T05:37:25Z|00261|dpif|WARN|system@ovs-system: failed to 
> put[modify][zero] (Numerical result out of range) 
> in_port(4),eth(src=00:27:13:b7:2f:74,dst=e0:db:55:a0:e1:13),eth_type(0x0800),ipv4(src=192.168.1.54/0.0.0.0,dst=192.168.1.200/0.0.0.0,proto=1/0,tos=0/0,ttl=64/0,frag=no/0xff),icmp(type=0/0,code=0/0),
>  packets:0, bytes:0, used:never, 
> actions:sample(sample=100.0%,actions(userspace(pid=4294962363,ipfix))),2
> 2013-10-01T05:37:37Z|00262|dpif|WARN|system@ovs-system: execute 
> sample(sample=100.0%,actions(userspace(pid=4294962366,ipfix))),4 failed 
> (Numerical result out of range) on packet 
> arp,metadata=0,in_port=0,vlan_tci=0x0000,dl_src=e0:db:55:a0:e1:13,dl_dst=00:27:13:b7:2f:74,arp_spa=192.168.1.200,arp_tpa=192.168.1.54,arp_op=1,arp_sha=e0:db:55:a0:e1:13,arp_tha=00:27:13:b7:2f:74
> 2013-10-01T05:37:37Z|00263|dpif|WARN|system@ovs-system: failed to put[create] 
> (Numerical result out of range) 
> in_port(2),eth(src=e0:db:55:a0:e1:13,dst=00:27:13:b7:2f:74),eth_type(0x0806),arp(sip=192.168.1.200/0.0.0.0,tip=192.168.1.54/0.0.0.0,op=1/0,sha=e0:db:55:a0:e1:13/00:00:00:00:00:00,tha=00:27:13:b7:2f:74/00:00:00:00:00:00),
>  actions:sample(sample=100.0%,actions(userspace(pid=4294962366,ipfix))),4
> 2013-10-01T05:37:38Z|00264|dpif|WARN|system@ovs-system: execute 
> sample(sample=100.0%,actions(userspace(pid=4294962366,ipfix))),4 failed 
> (Numerical result out of range) on packet 
> arp,metadata=0,in_port=0,vlan_tci=0x0000,dl_src=e0:db:55:a0:e1:13,dl_dst=00:27:13:b7:2f:74,arp_spa=192.168.1.200,arp_tpa=192.168.1.54,arp_op=1,arp_sha=e0:db:55:a0:e1:13,arp_tha=00:27:13:b7:2f:74
> 2013-10-01T05:37:38Z|00265|dpif|WARN|system@ovs-system: failed to put[create] 
> (Numerical result out of range) 
> in_port(2),eth(src=e0:db:55:a0:e1:13,dst=00:27:13:b7:2f:74),eth_type(0x0806),arp(sip=192.168.1.200/0.0.0.0,tip=192.168.1.54/0.0.0.0,op=1/0,sha=e0:db:55:a0:e1:13/00:00:00:00:00:00,tha=00:27:13:b7:2f:74/00:00:00:00:00:00),
>  actions:sample(sample=100.0%,actions(userspace(pid=4294962366,ipfix))),4
> 2013-10-01T05:37:39Z|00266|dpif|WARN|system@ovs-system: execute 
> sample(sample=100.0%,actions(userspace(pid=4294962366,ipfix))),4 failed 
> (Numerical result out of range) on packet 
> arp,metadata=0,in_port=0,vlan_tci=0x0000,dl_src=e0:db:55:a0:e1:13,dl_dst=00:27:13:b7:2f:74,arp_spa=192.168.1.200,arp_tpa=192.168.1.54,arp_op=1,arp_sha=e0:db:55:a0:e1:13,arp_tha=00:27:13:b7:2f:74
> 2013-10-01T05:37:39Z|00267|dpif|WARN|system@ovs-system: failed to put[create] 
> (Numerical result out of range) 
> in_port(2),eth(src=e0:db:55:a0:e1:13,dst=00:27:13:b7:2f:74),eth_type(0x0806),arp(sip=192.168.1.200/0.0.0.0,tip=192.168.1.54/0.0.0.0,op=1/0,sha=e0:db:55:a0:e1:13/00:00:00:00:00:00,tha=00:27:13:b7:2f:74/00:00:00:00:00:00),
>  actions:sample(sample=100.0%,actions(userspace(pid=4294962366,ipfix))),4
> 2013-10-01T05:37:39Z|00268|dpif|WARN|system@ovs-system: execute 
> sample(sample=100.0%,actions(userspace(pid=4294962363,ipfix))),2 failed 
> (Numerical result out of range) on packet 
> arp,metadata=0,in_port=0,vlan_tci=0x0000,dl_src=00:27:13:b7:2f:74,dl_dst=e0:db:55:a0:e1:13,arp_spa=192.168.1.54,arp_tpa=192.168.1.200,arp_op=1,arp_sha=00:27:13:b7:2f:74,arp_tha=00:00:00:00:00:00
> 2013-10-01T05:37:39Z|00269|dpif|WARN|system@ovs-system: failed to put[create] 
> (Numerical result out of range) 
> in_port(4),eth(src=00:27:13:b7:2f:74,dst=e0:db:55:a0:e1:13),eth_type(0x0806),arp(sip=192.168.1.54/0.0.0.0,tip=192.168.1.200/0.0.0.0,op=1/0,sha=00:27:13:b7:2f:74/00:00:00:00:00:00,tha=00:00:00:00:00:00/00:00:00:00:00:00),
>  actions:sample(sample=100.0%,actions(userspace(pid=4294962363,ipfix))),2
> 2013-10-01T05:37:40Z|00270|dpif|WARN|system@ovs-system: execute 
> sample(sample=100.0%,actions(userspace(pid=4294962363,ipfix))),2 failed 
> (Numerical result out of range) on packet 
> arp,metadata=0,in_port=0,vlan_tci=0x0000,dl_src=00:27:13:b7:2f:74,dl_dst=e0:db:55:a0:e1:13,arp_spa=192.168.1.54,arp_tpa=192.168.1.200,arp_op=1,arp_sha=00:27:13:b7:2f:74,arp_tha=00:00:00:00:00:00
> 2013-10-01T05:37:40Z|00271|dpif|WARN|system@ovs-system: failed to put[create] 
> (Numerical result out of range) 
> in_port(4),eth(src=00:27:13:b7:2f:74,dst=e0:db:55:a0:e1:13),eth_type(0x0806),arp(sip=192.168.1.54/0.0.0.0,tip=192.168.1.200/0.0.0.0,op=1/0,sha=00:27:13:b7:2f:74/00:00:00:00:00:00,tha=00:00:00:00:00:00/00:00:00:00:00:00),
>  actions:sample(sample=100.0%,actions(userspace(pid=4294962363,ipfix))),2
> 2013-10-01T05:37:41Z|00272|dpif|WARN|Dropped 2 log messages in last 0 seconds 
> (most recently, 0 seconds ago) due to excessive rate
> 2013-10-01T05:37:41Z|00273|dpif|WARN|system@ovs-system: execute 
> sample(sample=100.0%,actions(userspace(pid=4294962366,ipfix))),1,3,4 failed 
> (Numerical result out of range) on packet 
> arp,metadata=0,in_port=0,vlan_tci=0x0000,dl_src=e0:db:55:a0:e1:13,dl_dst=ff:ff:ff:ff:ff:ff,arp_spa=192.168.1.200,arp_tpa=192.168.1.54,arp_op=1,arp_sha=e0:db:55:a0:e1:13,arp_tha=00:00:00:00:00:00
> 2013-10-01T05:37:42Z|00274|dpif|WARN|Dropped 3 log messages in last 1 seconds 
> (most recently, 0 seconds ago) due to excessive rate
> 2013-10-01T05:37:42Z|00275|dpif|WARN|system@ovs-system: execute 
> sample(sample=100.0%,actions(userspace(pid=4294962366,ipfix))),1,3,4 failed 
> (Numerical result out of range) on packet 
> arp,metadata=0,in_port=0,vlan_tci=0x0000,dl_src=e0:db:55:a0:e1:13,dl_dst=ff:ff:ff:ff:ff:ff,arp_spa=192.168.1.200,arp_tpa=192.168.1.54,arp_op=1,arp_sha=e0:db:55:a0:e1:13,arp_tha=00:00:00:00:00:00
> 2013-10-01T05:38:04Z|00276|dpif|WARN|Dropped 1 log messages in last 22 
> seconds (most recently, 22 seconds ago) due to excessive rate
> 2013-10-01T05:38:04Z|00277|dpif|WARN|system@ovs-system: execute 
> sample(sample=100.0%,actions(userspace(pid=4294962366,ipfix))),1,3,4 failed 
> (Numerical result out of range) on packet 
> udp,metadata=0,in_port=0,vlan_tci=0x0000,dl_src=e0:db:55:a0:e1:13,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=192.168.1.200,nw_dst=192.168.1.255,nw_tos=0,nw_ecn=0,nw_ttl=128,tp_src=138,tp_dst=138
>  udp_csum:7434
> 2013-10-01T05:38:04Z|00278|dpif|WARN|system@ovs-system: failed to put[create] 
> (Numerical result out of range) 
> in_port(2),eth(src=e0:db:55:a0:e1:13,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0800),ipv4(src=192.168.1.200/0.0.0.0,dst=192.168.1.255/0.0.0.0,proto=17/0,tos=0/0,ttl=128/0,frag=no/0xff),udp(src=138/0,dst=138/0),
>  actions:sample(sample=100.0%,actions(userspace(pid=4294962366,ipfix))),1,3,4
> _______________________________________________
> discuss mailing list
> discuss@openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to