> Hi,
> 
> Even though the problem was addressed in this question:
> http://ryu-devel.narkive.com/tAcuhcQZ/bitmask-over-mac-address
> 
> The bit masking seems not to work, or I have a missunderstanding of the 
> functionality. 
> In my case I want to mask a specific bit of the eth_dst field such as:
> 
> eth_dst=‘XX:03:XX:XX:XX:XX'
> 
> Therefore I added a flow rule with the following match:
> match = parser.OFPMatch(eth_dst=('00:03:00:00:00:00','FF:03:FF:FF:FF:FF’))

i think you mean ('00:03:00:00:00:00','00:03:00:00:00:00'),
which would match if the 2 bits are set.

YAMAMOTO Takashi

> 
> But incoming traffic with eth_dst=’01:03:01:00:00:00 does not match the 
> installed flow rule.
> 
> Am I wrong with the bit masking?
> 
> -- 
> Regards,
> Sascha
> 
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to