[pox-dev] match rules with wild card

Murphy McCauley murphy.mccauley at gmail.com
Fri Apr 25 14:04:21 PDT 2014


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 <windyswsw at 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.




More information about the pox-dev mailing list