[ovs-discuss] How to turn off mac-learning on specific port

Baohua Yang yangbaohua at gmail.com
Fri Jul 26 01:29:16 UTC 2013


Thanks Ben!
Seems the normal action by ovs is a little more complicated than imagining
:)
May be we need a document explaining the detailed behaviors of these
actions (NORMAL, FLOOD, etc).
The ovs manual does not say much.


On Fri, Jul 26, 2013 at 9:25 AM, Ben Pfaff <blp at nicira.com> wrote:

> Any normal action results in mac learning on the packets processed by the
> action.
> On Jul 25, 2013 6:20 PM, "Baohua Yang" <yangbaohua at gmail.com> wrote:
>
>> So any rule in the switch with NORMAL action will result in mac-learning
>> on all inports?
>> Or only enable mac-learning at the inport related to the rule?
>> Thanks!
>>
>>
>> On Fri, Jul 26, 2013 at 12:31 AM, Ben Pfaff <blp at nicira.com> wrote:
>>
>>> Only the "normal" action does MAC learning, so "flood" will not.
>>>
>>> On Thu, Jul 25, 2013 at 01:19:06PM +0800, Baohua Yang wrote:
>>> > Hi Ben
>>> >      Thank for your reply!
>>> >      That rule will flood the flow to all other ports, right?
>>> >      How can it affect the mac-learning on that port?
>>> >      Could you please explain a little more or give some reference?
>>> >      Thanks!
>>> >
>>> >
>>> > On Wed, Jul 24, 2013 at 11:32 PM, Ben Pfaff <blp at nicira.com> wrote:
>>> >
>>> > > On Wed, Jul 24, 2013 at 01:46:32PM +0800, Baohua Yang wrote:
>>> > > >      I know that ovsd has a built-in mac-learning switch, and it is
>>> > > > necessary to support the "NORMAL" action.
>>> > > >     Now I want to stop the mac-learning on a given port, but other
>>> ports
>>> > > > should work normally.
>>> > > >     How to implement this? I check the ovs manual, but find no
>>> solution.
>>> > >
>>> > > A flow like
>>> > >         in_port=123,actions=flood
>>> > > might do what you want.
>>> > >
>>> >
>>> >
>>> >
>>> > --
>>> > Best wishes!
>>> > Baohua
>>>
>>
>>
>>
>> --
>> Best wishes!
>> Baohua
>>
>


-- 
Best wishes!
Baohua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130726/239ba755/attachment.html>


More information about the discuss mailing list