On Sat, Jan 4, 2014 at 3:32 PM, Jason Thorpe <jasonthor...@outlook.com>wrote:
> is it possible to modify specific bits of an IP address when setting flow > rules for a switch? (using add-flow and actions=mod_nw_{src,dst} ). > That won't work, since that action is expecting a specific IP address. > basically, I am looking for setting actions on the IP address to change > some source/destination. like modifying all IPs from 192.168.0.* to > 192.168.1.* . or can I just use wildcards for this purpose? > I hadn't really thought about it before, but I suppose you could load the IP address into a register, then modify the appropriate bits with the move action, and then use the move action to copy the contents of the register into NXM_OF_IP_DST. --Justin
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss