[ovs-discuss] openvswitch multipath

Ben Pfaff blp at nicira.com
Mon Nov 24 18:01:47 UTC 2014


On Mon, Nov 24, 2014 at 11:39:15PM +0800, ???? wrote:
> I want to configure openvswitch multipath.  I want the packets from ofport portid 5 can be sent out to ofport portid 4 and ofport portid 9.  From man ovs-ofctl,  multipath as the actions. n_links is a parameter. I have done this:
> ovs-ofctl add-flow ovs-br0 "in_port=5, priority=100, actions=multipath(symmetric_l4, 1024, modulo_n, 2, 0, NXM_NX_REG0[0..1]), resubmit(,10)"
> 
> 
> The link result is saved to NXM_NX_REG. However, how is the link related to output port? 
> 
> 
> From one google webpage,
> http://docs.inocybe.com/dev-guide/content/_open_vswitch_rules.html
> I also did the following two lines:
> ovs-ofctl add-flow ovs-br0 "table=10, in_port=5, reg0=0, actions=output:9"
> ovs-ofctl add-flow ovs-br0 "table=10, in_port=5, reg0=1, actions=output:4"'
> 
> 
> However, reg0 did not work. Only the first flow entry is touched. 

Hmm, I'd expect that to work.  What traffic are you using to test?



More information about the discuss mailing list