On Mon, Nov 7, 2011 at 13:53, Ali Al-Shabibi <ali.al-shab...@stanford.edu>wrote:

> Have you specified the ethertype in your flowmod. I believe setting it to
> ip (0x800) and the ip protocol to TCP (6) you should be fine.
>

Ali is correct - you need to specify both the ethertype and the ip protocol
to get the switch to actually make a match.  As a general rule you must
specifiy all lower-layer fields in order to match a higher-layer field -
the switch does not make the assumption that just because you set
tp_src/dst, it knows what protocol you wanted to match on (tcp, udp, others
provided by extension, etc.), or that just because you provided those
fields, that the ethertype must be IP.

--
Nick
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to