[ovs-discuss] 回复: 回复: how to use ovs to controll one port's forward
Alex Wang
alexw at nicira.com
Fri Oct 25 05:19:25 UTC 2013
You can have a look of "man ovs-ofctl" and the "tutorial" directory,
An example of adding flow is:
ovs-ofctl add-flow [bridge_name] 'in_port=[OpenFlow port number], arp,
actions=drop'
[bridge_name]: the name of the bridge,
[OpenFlow port number]: can be obtained by the "ovs-ofctl show" command
The command will make the specified port drop all arp received.
There are more options listed in "man ovs-ofctl" with explanation, have a
look and apply what you need,
On Thu, Oct 24, 2013 at 6:50 PM, ¤Õj <303429515 at qq.com> wrote:
> Thanks very much!
> Exactly,I need the function similar with "split-horizon".That is when
> one port receives broadcast packets,then it does not forward these packets
> to other ports.
> In addition, could you give me the example of configure? I am not
> very do at ovs now.
> Thank you!
>
>
> ------------------ ÔʼÓʼþ ------------------
> *·¢¼þÈË:* "Alex Wang"**;
> *·¢ËÍʱ¼ä:* 2013Äê10ÔÂ25ÈÕ(ÐÇÆÚÎå) ÉÏÎç9:26
> *ÊÕ¼þÈË:* "¤Õj"<303429515 at qq.com>;
> *Ö÷Ìâ:* Re: »Ø¸´£º [ovs-discuss] how to use ovs to controll one port's forward
>
> On Thu, Oct 24, 2013 at 6:16 PM, ¤Õj <303429515 at qq.com> wrote:
>
>> Hi,Alex.
>> Thanks for your replay. But if I set one port "mod-port no-flood",then
>> the seted port itself can not send ARP broadcast.this leads to the port can
>> not communicate to others.
>> Do you have other solutions?
>>
>
>
> The "mod-port" is supposed to be run on other ports (ports you do not wish
> to send broadcast pkt to, not the one received the broadcast pkt).
>
> Or, you can add a particular flow so that broadcast pkt received on the
> port is dropped or output to only selected ports.
>
> Thanks,
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131024/86081a74/attachment.html>
More information about the discuss
mailing list