Hi,all

I know in normal vxlan support,vteps can be in different subnets.
But when I config the vxlan tunnel of openvswitch with the local ip and the 
remote ip in different subnets, 
I find the flow can not be matched.


tap1 of vm1(192.168.10.2)--br-tun in Host1(eth3.1124 
10.10.24.69)==========br-tun in Host2(eth3.1124 10.11.24.64)--tap2 of 
namespace(192.168.10.1)


ping 192.168.10.2 from 192.168.10.1 and the packet can be captured in eth3.1124 
of Host1, but the flow not matched:
 cookie=0x0, duration=22604.209s, table=0, n_packets=0, n_bytes=0, 
idle_age=22604, priority=1,in_port=19 actions=resubmit(,4)
19 is the vxlan port.




The details bellow:


Host 1:
[r...@server-69.0.ghxw.ustack.in ~ ]$ ifconfig eth3.1124
eth3.1124 Link encap:Ethernet  HWaddr EC:F4:BB:D3:93:12  
          inet addr:10.10.24.69  Bcast:10.10.24.255  Mask:255.255.255.0
          inet6 addr: fe80::eef4:bbff:fed3:9312/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:9180  Metric:1
          RX packets:404653 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31906 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:60310819 (57.5 MiB)  TX bytes:5086274 (4.8 MiB)


 ovs-appctl dpif/show :
        br-tun:
                br-tun 65534/3: (internal)
                ......
                vxlan-0a0b1840 19/5: (vxlan: key=flow, local_ip=10.10.24.69, 
remote_ip=10.11.24.64)


Host 2:
[r...@server-64.0.ghxw.ustack.in ~ ]$ ifconfig eth3.1124
eth3.1124 Link encap:Ethernet  HWaddr EC:F4:BB:D3:95:82  
          inet addr:10.11.24.64  Bcast:10.11.24.255  Mask:255.255.255.0
          inet6 addr: fe80::eef4:bbff:fed3:9582/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:9180  Metric:1
          RX packets:250396 errors:0 dropped:0 overruns:0 frame:0
          TX packets:76946 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:31842569 (30.3 MiB)  TX bytes:7163358 (6.8 MiB)


 ovs-appctl dpif/show:
        br-tun:
                br-tun 65534/4: (internal)
                patch-int 1/none: (patch: peer=patch-tun)
                vxlan-0a0a1844 2/8: (vxlan: key=flow, local_ip=10.11.24.64, 
remote_ip=10.10.24.68)
                vxlan-0a0a1845 3/8: (vxlan: key=flow, local_ip=10.11.24.64, 
remote_ip=10.10.24.69)
                vxlan-0a0a1846 4/8: (vxlan: key=flow, local_ip=10.11.24.64, 
remote_ip=10.10.24.70)


I tcpdumped the packet in eth3.1124 of Host1:


13:49:35.715812 10:0e:7e:ee:e3:e8 > ec:f4:bb:d3:93:12, ethertype IPv4 (0x0800), 
length 92: (tos 0x0, ttl 61, id 41358, offset 0, flags [DF], proto UDP (17), 
length 78)
    10.11.24.64.43309 > 10.10.24.69.4789: [no cksum] VXLAN, flags [I] (0x08), 
vni 103
fa:16:3e:0a:79:03 > Broadcast, ethertype ARP (0x0806), length 42: Ethernet (len 
6), IPv4 (len 4), Request who-has 192.168.10.2 tell 192.168.10.1, length 28


and no packet matched in the flow:
[r...@server-69.0.ghxw.ustack.in ~ ]$ ovs-ofctl dump-flows br-tun |grep 
in_port=19
 cookie=0x0, duration=22604.209s, table=0, n_packets=0, n_bytes=0, 
idle_age=22604, priority=1,in_port=19 actions=resubmit(,4)






Can anybody help me?
Thanks!

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to