[ovs-discuss] combining Geneve and VXLAN tunnels

Gerhard Stenzel gstenzel at linux.vnet.ibm.com
Thu Nov 24 12:13:16 UTC 2016


On 11/23/2016 06:57 PM, Ben Pfaff wrote:
> On Wed, Nov 23, 2016 at 10:35:41AM +0100, Gerhard Stenzel wrote:
>> On 11/22/2016 11:20 PM, Ben Pfaff wrote:
>>> On Thu, Nov 17, 2016 at 03:58:25PM +0100, Gerhard Stenzel wrote:
>>>> I have a setup with three machines with an OVS switch each. 1 and 2 are connected via VXLAN tunnel, 2 and 3 are connected via Geneve tunnel. The OVSs have each an IP address assigned. ping from 1 to 2 works and ping from 2 to 3 works.
>>>> But trying to ping from 1 to 3 or 3 to 1 does not work, because the packet coming via the Geneve tunnel from 3 is sent to Geneve port instead of to the VXLAN port on 1.
>>>>
>>>> tcpdump on 2 looks like this:
>>>>
>>>> IP 192.168.124.68.hp-device-disc > 192.168.124.132.6081: UDP, length 50
>>>> IP 192.168.124.132.37695 > 192.168.124.111.6081: UDP, length 50
>>>> IP 192.168.124.111 > 192.168.124.132: ICMP 192.168.124.111 udp port 6081 unreachable, length 86
>>>>
>>>> Is this working as expected or is this a bug?
>>>
>>> We don't know, because you didn't give us information like how the ports
>>> are set up or what you put in the flow table.
>>
>> Thanks for asking. Please let me know if you need any other details ...
> 
> It seems reasonable at first glance.
> 
> I'd try using "ovs-dpctl dump-flows" and "ovs-appctl ofproto/trace" to
> figure out what's happening to the packets that are not behaving as
> expected.
> 

Thanks for the suggestion.

# ovs-dpctl dump-flows
recirc_id(0),tunnel(tun_id=0x0,src=192.168.124.68,dst=192.168.124.132,ttl=64,flags(-df-csum+key)),in_port(3),skb_mark(0),eth(src=fe:63:c1:68:b8:4f,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.0.0.68,tip=10.0.0.111,op=1/0xff), packets:2, bytes:84, used:2.370s, actions:2,set(tunnel(tun_id=0x0,dst=192.168.124.111,ttl=64,tp_src=3329,tp_dst=6081,flags(df|key))),1

(Not sure, if ofproto/trace needs additional input)

# ovs-appctl ofproto/trace br0 in_port=3
Bridge: br0
Flow: in_port=3,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 priority=0
OpenFlow actions=NORMAL
no input bundle, dropping

Final flow: in_port=3,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,dl_type=0x0000
Megaflow: recirc_id=0,in_port=3,vlan_tci=0x0000/0x1fff,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,dl_type=0x0000
Datapath actions: drop



More information about the discuss mailing list