OF 1.1 can do longest prefix matching on MAC addresses if you want it to -
you just need to play with the priorities.

Your MAC addresses are 48 bits long, and you can set 2^16 bits of priority,
so as long as a 48-bit mask has a higher priority than a 47 or lower mask,
and so on, you can totally implement longest-prefix matching.


On Wed, Dec 12, 2012 at 7:39 AM, Christoph Koehler <
[email protected]> wrote:

> Thanks guys! I'll take a look, Sam. Just wondering since I was reading a
> paper (PortLand from Sigcomm 09) that says that OF can do longest prefix
> matching on MAC addresses (end of section 3.2). Didn't think that was the
> case, so I wanted the check.
>
> Thanks again for the clarification!
>
>
> On Tue, Dec 11, 2012 at 11:08 AM, Murphy McCauley <
> [email protected]> wrote:
>
>> On Dec 11, 2012, at 9:57 AM, Christoph Koehler wrote:
>>
>> > Can Pox do wildcards on MAC addresses? Looks like the 1.1 spec allows
>> for masks on IP and MAC, but I don't see anything like that in Pox. Could
>> you clarify?
>>
>> Current versions of mainline POX only support OpenFlow 1.0, so MAC
>> wildcards are not possible.  Partial IP wildcards are an OpenFlow 1.0
>> feature, however, and those work fine in POX.
>>
>> POX mainline will be supporting 1.1 at some point.  For the moment, you
>> might check out Sam Russell's branch -- he's been adding some 1.1 features.
>>  I don't remember if partial MACs are something he's implemented.
>> https://github.com/samrussell/pox/tree/of11
>>
>> -- Murphy
>
>
>

Reply via email to