[ovs-discuss] ip_frag=yes doesn't seem to work while tracing

Ben Pfaff blp at ovn.org
Fri Nov 22 15:52:50 UTC 2019


On Fri, Nov 22, 2019 at 10:39:08AM -0500, Nicolas Bouliane via discuss wrote:
> Hello folks,
> 
> I'm trying to figure out why I can't specify `ip_frag=yes` here
> 
> # ovs-appctl ofproto/trace br0
> icmp,in_port=5,metadata=0x0,dl_src=22:33:44:12:34:56,dl
> _dst=fe:00:00:00:01:01,nw_src=10.36.80.56,nw_dst=10.36.80.1,icmp_type=8,icmp_code=0,ip_frag=yes
> Bad openflow flow syntax:
> icmp,in_port=5,metadata=0x0,dl_src=22:33:44:12:34:56,dl_dst=fe:00:00:00:01:01,nw_src=10.36.80.56,nw_dst=10.36.80.1,icmp_type=8,icmp_code=0
> ,ip_frag=yes: bad value for ip_frag (yes: wildcards not allowed here)
> ovs-appctl: ovs-vswitchd: server returned an error

It's because ip_frag=yes means "first fragment or later fragment".  You
need to specify whether the packet is a first fragment (ip_frag=first)
or a later fragment (ip_frag=later).


More information about the discuss mailing list