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? Also sometimes I’m getting "failed to put" and "failed to get" when creating bridges. $ ovs-vsctl add-br br1 2014-02-06T12:13:31.653Z|00049|dpif|WARN|system@ovs-system: failed to put[create][modify] (Invalid argument) skb_priority(0),skb_mark(0),in_port(0),eth(src=00:00:00:00:00:00,dst=00:00:00:00:00:00),eth_type(0x8847),mpls(label=0,tc=0,ttl=0,bos=1) Full output below from ovs-appctl $ ovs-appctl ofproto/trace br1 in_port=local Bridge: br1 Flow: metadata=0,in_port=LOCAL,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,dl_type=0x0000 Rule: table=0 cookie=0 in_port=LOCAL OpenFlow actions=set_tunnel:0x1,load:0xa14092a->NXM_NX_TUN_IPV4_DST[],output:1,load:0xa14022a->NXM_NX_TUN_IPV4_DST[],output:1 Final flow: tun_src=0.0.0.0,tun_dst=10.20.2.42,tun_tos=0,tun_ttl=0,,metadata=0,in_port=LOCAL,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,dl_type=0x0000 Megaflow: skb_priority=0,tun_dst=10.20.2.42,in_port=LOCAL,dl_type=0x0000 Datapath actions: set(tunnel(tun_id=0x1,src=0.0.0.0,dst=10.20.9.42,tos=0x0,ttl=64,flags(df,key))),4,set(tunnel(tun_id=0x1,src=0.0.0.0,dst=10.20.2.42,tos=0x0,ttl=64,flags(df,key))),4 $ ovs-appctl ofproto/trace br2 in_port=local Bridge: br2 Flow: metadata=0,in_port=LOCAL,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,dl_type=0x0000 Rule: table=0 cookie=0 in_port=LOCAL OpenFlow actions=set_tunnel:0x2,load:0xa14092a->NXM_NX_TUN_IPV4_DST[],output:2,load:0xa14022a->NXM_NX_TUN_IPV4_DST[],output:2 Tunneling decided against output Tunneling decided against output Final flow: tun_src=0.0.0.0,tun_dst=10.20.2.42,tun_tos=0,tun_ttl=0,,metadata=0,in_port=LOCAL,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,dl_type=0x0000 Megaflow: skb_priority=0,tun_dst=10.20.2.42,in_port=LOCAL,dl_type=0x0000 Datapath actions: drop _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss