[ovs-discuss] noflood port override

Ben Pfaff blp at nicira.com
Wed Oct 23 23:00:21 UTC 2013


Would your per-VLAN flows have the same actions as the single flows
you showed below?  If so, the there is no benefit to per-VLAN flows.

On Wed, Oct 23, 2013 at 05:35:52PM -0500, Faisal Ali wrote:
> Sorry for being unclear. The broadcast flow defined below was
> originally applied to the bridge itself.
> 
> Now I am adding vlans to the bridge, so my confusion is whether I
> have to define (adding vlan tag) this flow per vlan or will this
> flow definition suffice for all the vlans in the test bridge
> 
> Thanks
> 
> 
> > On Oct 23, 2013, at 3:33 PM, Ben Pfaff <blp at nicira.com> wrote:
> > 
> > I don't know what you're trying to accomplish but "normal" understands
> > and honors VLANs.
> > 
> >> On Wed, Oct 23, 2013 at 02:15:29PM -0500, Faisal Ali wrote:
> >> Thank you Ben,
> >> 
> >> If I have many vlans will this same flow work for all vlans in the test bridge or do I have to define the flow per vlan
> >> 
> >> ovs-ofctl add-flow test-br 'priority=1900 in_port=13
> >> dl_dst='ff:ff:ff:ff:ff:ff' actions='normal''
> >> ovs-ofctl add-flow test-br 'priority=1900 in_port=13 nw_dst='224.0.0.0/24'
> >> actions='normal''
> >> 
> >>>> On Oct 19, 2013, at 11:15 PM, Ben Pfaff <blp at nicira.com> wrote:
> >>>> 
> >>>> On Sat, Oct 19, 2013 at 10:29:05PM -0500, Faisal Ali wrote:
> >>>> Hello,
> >>>> 
> >>>> I setup a GRE tunnel (connected to switchport 4) and put a noflood option
> >>>> to prevent broadcast storms as below
> >>>> 
> >>>> ovs-ofctl mod-port test-br 4 noflood
> >>>> 
> >>>> But I need the broadcasts from VMs to be forwarded over the GRE tunnel so I
> >>>> put the following command
> >>>> 
> >>>> ovs-ofctl add-flow test-br 'priority=1900 in_port=13
> >>>> dl_dst='ff:ff:ff:ff:ff:ff' actions='normal''
> >>>> ovs-ofctl add-flow test-br 'priority=1900 in_port=13 nw_dst='224.0.0.0/24'
> >>>> actions='normal''
> >>>> 
> >>>> However, I am not seeing broadcasts on the ovs bridge on the other end of
> >>>> the gre tunnel. But if I remove the noflood option from GRE port 4, the
> >>>> broadcasts is received.
> >>> 
> >>> "normal" respects noflood.



More information about the discuss mailing list