Hi, I'm new to OVS and OpenFlow. I'm trying to set up VXLAN between two hosts with key:flow but, the traffic goes out with no encapsulation. I'm emulating the hosts, router and VMs using network namespaces.
-VXLAN configuration I used: #h1 ovs-vsctl add-port h1-tun h2-vtep ovs-vsctl set Interface h2-vtep type=vxlan option:remote_ip=flow ovs-vsctl set Interface h2-vtep ofport_request=15 ovs-vsctl set Interface h2-vtep option:key=flow #h2 ovs-vsctl add-port h2-tun h1-vtep ovs-vsctl set Interface h1-vtep type=vxlan option:remote_ip=flow ovs-vsctl set Interface h1-vtep ofport_request=15 ovs-vsctl set Interface h1-vtep option:key=flow -This is the output of ovs-ofctl dump-flows h1-pvt (where vms are connected): cookie=0x0, duration=1091.113s, table=0, n_packets=0, n_bytes=0, in_port="p1-tun" actions=resubmit(,20) cookie=0x0, duration=1091.110s, table=0, n_packets=38, n_bytes=1652, in_port="vm1-red-pvt" actions=mod_vlan_vid:10,resubmit(,10) cookie=0x0, duration=1091.108s, table=10, n_packets=0, n_bytes=0, dl_vlan=10,dl_dst=8e:79:c5:06:85:91 actions=output:"vm1-red-pvt" cookie=0x0, duration=1091.105s, table=10, n_packets=0, n_bytes=0, dl_vlan=10,dl_dst=ae:75:c7:4b:8d:fe actions=output:"p1-tun" cookie=0x0, duration=1091.102s, table=10, n_packets=36, n_bytes=1512, arp actions=resubmit(,30) cookie=0x0, duration=1091.100s, table=20, n_packets=0, n_bytes=0, arp actions=resubmit(,40) cookie=0x0, duration=1091.098s, table=20, n_packets=0, n_bytes=0, priority=0 actions=resubmit:"vm1-red-pvt" cookie=0x0, duration=1091.095s, table=30, n_packets=36, n_bytes=1512, priority=10,dl_vlan=10 actions=output:"vm1-red-pvt",output:"p1-tun" cookie=0x0, duration=1091.093s, table=40, n_packets=0, n_bytes=0, dl_vlan=10 actions=output:"vm1-red-pvt" -The output of ovs-ofctl dump-flows h1-tun cookie=0x0, duration=1141.309s, table=0, n_packets=36, n_bytes=1512, in_port="p1-pvt" actions=resubmit(,1) cookie=0x0, duration=1141.292s, table=0, n_packets=2, n_bytes=140, in_port="h1-rtr-h" actions=resubmit(,3) cookie=0x0, duration=1141.303s, table=1, n_packets=36, n_bytes=1512, dl_vlan=10 actions=strip_vlan,load:0x64->NXM_NX_TUN_ID[],resubmit(,2) cookie=0x0, duration=1141.299s, table=2, n_packets=0, n_bytes=0, tun_id=0x64,dl_dst=ae:75:c7:4b:8d:fe actions=load:0x141414dc->NXM_NX_TUN_IPV4_DST[],output:"h1-rtr-h" cookie=0x0, duration=1141.295s, table=2, n_packets=36, n_bytes=1512, arp,tun_id=0x64 actions=load:0x141414dc->NXM_NX_TUN_IPV4_DST[],output:"h1-rtr-h" cookie=0x0, duration=1141.289s, table=3, n_packets=0, n_bytes=0, tun_id=0x64 actions=mod_vlan_vid:10,output:"p1-pvt" When I try to ping from a VM traffic goes out of h1-tun ofport 15, I used packet capture on the router it showed raw arp traffic. Please let me know if you need further information. Best, Maged
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss