On Tue, Jan 07, 2014 at 10:22:54PM -0500, Jason Thorpe wrote: > > ovs-ofctl add-flow br0 > > 'ip,nw_src=0.128.0.0/0.128.0.0,actions=load:0->NXM_OF_IP_SRC[23]' > > ovs-ofctl add-flow br0 > > 'ip,nw_src=0.0.0.0/0.128.0.0,actions=load:1->NXM_OF_IP_SRC[23]' > > Is it possible to wildcard this? This is what I did: > sudo ovs-ofctl add-flow br0 'ip,nw_src=*,actions=load:1->NXM_OF_IP_SRC[23]' > (set 23rd bit of IP_SRC of all IPs to 1) > but I think this is not working (wireshark) and the packets are being dropped > . Do I need to specify the netmask also or am I missing something else? >
You need to also output the packets somewhere. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss