On Thu, Feb 6, 2014 at 2:17 AM, Kristoffer Egefelt <kristof...@itoc.dk> wrote:
> Hi,
>
> I’m getting "Tunneling decided against output” with more than one bridge 
> using flow based tunneling, with openvswitch master and kernel 3.11 (and 
> 3.12).
> I might misunderstood how flow based tunneling should work, I’m trying to 
> configure one bridge for each customer/vm and then create a flow based gre 
> tunnel in each bridge.
>
> Setting up one bridge like this works fine:
>
> # setup bridge 1
> $ ovs-vsctl add-br br1 -- set bridge br1 
> other_config:hwaddr=f6:8d:91:7b:99:42 other_config:disable-in-band=true
> $ ovs-vsctl add-port br1 gre1 -- set Interface gre1 ofport_request=1 type=gre 
> options:remote_ip=flow options:key=flow
> $ ovs-ofctl add-flow br1 "in_port=LOCAL 
> actions=set_tunnel:1,set_field:10.20.9.42->tun_dst,output:1,set_field:10.20.2.42->tun_dst,output:1”
>
> $ ovs-appctl ofproto/trace br1 in_port=local
> shows correct actions.
>
> But adding second bridge
>
> # setup bridge 2
> $ ovs-vsctl add-br br2 -- set bridge br2 
> other_config:hwaddr=f6:8d:91:7b:99:43 other_config:disable-in-band=true
> $ ovs-vsctl add-port br2 gre2 -- set Interface gre2 ofport_request=2 type=gre 
> options:remote_ip=flow options:key=flow
> $ ovs-ofctl add-flow br2 "in_port=LOCAL 
> actions=set_tunnel:2,set_field:10.20.9.42->tun_dst,output:2,set_field:10.20.2.42->tun_dst,output:2”
>
> $ ovs-appctl ofproto/trace br2 in_port=local
> shows Tunneling decided against output
>
> Am I doing it wrong?

You can't create multiple tunnels with the exact same configuration -
otherwise there is no way to determine which port should get packets
on receive.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to