[ovs-discuss] Select Group still does not work

Ben Pfaff blp at ovn.org
Wed Sep 7 15:05:59 UTC 2016


All ICMP packets between two destinations will go through the same
bucket.

On Wed, Sep 07, 2016 at 07:53:31AM +0800, AY wrote:
> I run ICMP traffic ,
> I monitor the traffic with TCPdump .
> 
> On Tuesday, 6 September 2016, Ben Pfaff <blp at ovn.org> wrote:
> 
> > Please don't drop the mailing list.
> >
> > What kind of traffic are you running through the group?
> >
> > On Tue, Sep 06, 2016 at 08:43:16AM +0800, AY wrote:
> > > With OVS 2.3 The above commands work very well
> > >
> > > Here it is my configuration :
> > >
> > >
> > >
> > >
> > > ovs-vsctl set bridge s2 protocols=OpenFlow13
> > > ovs-vsctl set bridge s3 protocols=OpenFlow13
> > > ovs-vsctl set bridge s4 protocols=OpenFlow13
> > > vs-vsctl set bridge s5 protocols=OpenFlow13
> > >
> > > ovs-ofctl -O OpenFlow13 add-group s1
> > > group_id=1,type=select,selection_method=hash,bucket=
> > output:1,bucket=output:2,bucket=output:3
> > > ovs-ofctl -O OpenFlow13 add-flow s1 in_port=4,actions=group:1
> > > ovs-ofctl -O OpenFlow13 add-flow s1
> > > eth_type=0x0800,ip_dst=10.0.0.1,actions=output:4
> > > ovs-ofctl -O OpenFlow13 add-flow s1
> > > eth_type=0x0806,ip_dst=10.0.0.1,actions=output:4
> > >
> > >
> > >  ovs-ofctl -O OpenFlow13 add-flow s2 in_port=1,actions=output:2
> > >  ovs-ofctl -O OpenFlow13 add-flow s2 in_port=2,actions=output:1
> > >  ovs-ofctl -O OpenFlow13 add-flow s3 in_port=1,actions=output:2
> > >  ovs-ofctl -O OpenFlow13 add-flow s3 in_port=2,actions=output:1
> > >  ovs-ofctl -O OpenFlow13 add-flow s4 in_port=1,actions=output:2
> > >  ovs-ofctl -O OpenFlow13 add-flow s4 in_port=2,actions=output:1
> > >  ovs-ofctl -O OpenFlow13 add-flow s5
> > > eth_type=0x0800,ip_dst=10.0.0.2,actions=output:4
> > >  ovs-ofctl -O OpenFlow13 add-flow s5
> > > eth_type=0x0806,ip_dst=10.0.0.2,actions=output:4
> > >  ovs-ofctl -O OpenFlow13 add-flow s5
> > > eth_type=0x0800,ip_dst=10.0.0.1,actions=output:1
> > >  ovs-ofctl -O OpenFlow13 add-flow s5
> > > eth_type=0x0806,ip_dst=10.0.0.1,actions=output:1
> > >
> > > My topology is attached
> > >
> > > On 6 September 2016 at 01:49, Ben Pfaff <blp at ovn.org <javascript:;>>
> > wrote:
> > >
> > > > On Sun, Sep 04, 2016 at 04:44:55PM +0800, AY wrote:
> > > > > I have tried this configuration with ovs 2.3 and ovs 2.5 :
> > > > > ovs-ofctl -O OpenFlow13 add-group s1
> > > > > group_id=5566,type=select,bucket=weight:33,actions=
> > > > output:1,bucket=weight:33,actions=output:2,bucket=
> > > > weight:34,actions=output:3
> > > > >
> > > > > ovs-ofctl -O OpenFlow13 add-flow s1 in_port=4,actions=group:5566
> > > > >
> > > > > with OVS 2.3 it worked well .
> > > > > In ovs 2.5 it does not work. all the traffic directed to port 1?
> > > > >  Why ?
> > > >
> > > > Select groups work fine for other users (we have a recent report that
> > > > the split among buckets is not perfect, but that's far from "all
> > traffic
> > > > to port 1"), so it's hard to guess why you have a problem.  What does
> > > > your traffic look like?  Is it actually passing through the group?
> > > >
> >
> >
> >



More information about the discuss mailing list