On Wed, Jan 09, 2013 at 09:17:30PM +0500, Ahmed Talha Khan wrote: > On Wed, Jan 9, 2013 at 9:05 PM, Ben Pfaff <b...@nicira.com> wrote: > > On Wed, Jan 09, 2013 at 01:54:45PM +0500, Ahmed Talha Khan wrote: > >> What is the best way to use Maclearning rule(NORMAL) along-side other > >> rules. The issue is that once mac-learning in done, packets will be > >> sent to ports based on their mac-address. But i want to write other > >> rules also that match on L3-L4 parameters that send the traffic to > >> other ports. > >> > >> In my view having both at the same time will break both the > >> functionalities. What is the best possible way to handle this > >> scenario? Can multiple tables be of any help? > > > > I guess that there are two kinds of "other rules also that match on > > L3-L4 parameters that send the traffic to other port": > > > > * Those where you want the other rules to replace the "normal" > > action. In that case, trigger the rule and then don't execute > > "normal". > > > How can i trigger my rule and then not execute "normal"?
Make sure your rule is high enough priority that your rule is chosen instead of another rule, then do not include "normal" in your rule. > > * Those where you want the other rules to supplement the "normal" > > action. In that case, trigger the rule and include "normal" in > > its action list. > > If i include "normal" in its action list, then those packets on which > i got the match will be end up also going to the > ports as derived by the normal actions. That is not what i want OK, then you want the other case. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss