Abnormal Tunnel Packages between 2 OVS

asked 2015-12-29 04:41:07 -0700

nevalosa gravatar image

updated 2015-12-29 04:48:00 -0700

There is GRE tunnel between 2 OVS(OpenStack Compute Node and Network Node), here is the tunnel on Compute Node OVS:

    Bridge br-tun
        fail_mode: secure 
        Port "gre-1e1e1e01"
            Interface "gre-1e1e1e01"
                type: gre
                options: {in_key=flow, local_ip="", out_key=flow, remote_ip=""}

And I add a flow to reply a ARP on Compute Node then Compute Node farword a ICMP Request to Network Node OVS. As you know, the ICMP Package should go thru the GRE tunnel and the package should be fromVTEP Compute Node) to VTEP Node), but the strange thing is that the source VTEP is, tcpdump on Network Node OVS shows below

20:05:58.612370 IP (tos 0x0, ttl 63, id 34833, offset 0, flags [DF], proto GRE (47),th 126) > GREv0, Flags [key present], key=0x33, length 106  <<= abnormal src ip
    IP (tos 0x0, ttl 64, id 48800, offset 0, flags [DF], proto ICMP (1), length > ICMP echo request, id 11553, seq 30850, length 64   <<= ping from VM

Route table on Compute Node OVS(eth2:, eth0:

root@compute:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    0      0        0 eth0   U     0      0        0 eth1   UG    0      0        0 eth2   U     0      0        0 eth2   U     0      0        0 virbr0   U     0      0        0 eth0

and Network Node route table

root@network:~# route -n
Kernel IP routing tabl
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface   U     0      0        0 eth1   U     0      0        0 eth2   U     0      0        0 br-ex

Could anyone help me please? Thanks in advance.

edit retag flag offensive close merge delete