Hi Ben

thanks for the tip.
> 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?           
                          
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to