There is no nw_src_mask in POX's ofp_match. Quoting from the POX manual, you can just do something like: my_match.nw_src = "192.168.42.0/24"
Or see the "Match structure" subsection of the manual yourself for other options. -- Murphy On Apr 25, 2014, at 3:29 AM, Windhya Rankothge <windys...@gmail.com> wrote: > Hi all, > > I want to write flows rules to match IP addresses coming from a subnet. When > I try to match one IP address with nw_src, it works correctly.. but when I > use nw_src with nw_src_mask, it does not consider the mask. > > Appreciate your thoughts on this > > > Best Regards, > > Windhya Rankothge, > Universitat Pompeu Fabra, > Barcelona.