Hi,
I have a basic query.
I have 2 machines with OVS 2.3.1 on it.
I have done the following to create a VxLAN tunnel:
ovs-vsctl add-port br0 vxlan -- set interface vxlan type=vxlan
options:remote_ip=<IP_of_remote_node>
After this, I have created a virtual machine using virsh on the OVS
bridge br0.
Following this, I also added a few OF rules - like this on br0:
table=0,in_port=4,actions=set_field:100->tun_id,resubmit(,1)
table=1,tun_id=100, actions=output:1
table=1,tun_id=100,arp,nw_dst=10.10.1.10,actions=output:1
My VMs, vnet device is on Port 4. The VxLAN port is on Port 1.
Does these flow rules make sense? I am basically asking OVS to add the
VxLAN headers by sending the packets out on Port 1 (which is my VxLAN port).
I don't have any ethernet devices attached to br0(the ovs bridge).
I have one eth0 device on this machine configured with a public IP for
internet connectivity.
I am assuming that the vxlan traffic will flow out of the Linux TCP/IP
stack and I wouldn't need to move the eth0 device as a port to br0...Is
that correct?
I tried a similar configuration on the remote host and then tried to
ping the VMs.
I can see that the flows have got hit on the source machine by seeing
the packets count against them. However, the ARP rules' packet counts
stayed at 0. I assumed that for the first time, the ARP flow should have
got hit?
I did a tcpdump on eth0 but didn't see any relevant packets flowing out
either. Naturally - the VMs aren't able to ping each other.
Am I missing something here?
Appreciate your help.
Thanks,
Sudipto
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss