On 12/17/13 2:54 PM, ESWAR RAO wrote:
Hi All,

I have OVS bridge (br-int) on 3 different machines (192.168.100.101/102/103 <http://192.168.100.101/102/103>).
I have created tunnel ports on these 3 machines using:

# ovs-vsctl add-port br-int tun0 -- set interface tun0 type=vxlan options:remote_ip=192.168.100.102 options:key=<vni>
====> port number:2

If my understanding is not wrong, if we have multiple tunnel ports on br-int, the packet goes to a tunnel port based on vni.

If you mean received packet, then yes. If you create a vxlan tunnel with a key set, then only VXLAN packets with that VNI will be received on the port. The default key/VNI is 0.

If you mean sent packets, then packets go to a certain tunnel port based on existing flows.


I want to understand how ovs-vswitchd passes a packet from remote node to a tunnel port. Also does ovs-vswitchd uses the vxlan_udp_port for any of the processing???

A listening UDP socket is opened on the configured port.

HTH,
-Lori


Thanks
Eswar Rao


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

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

Reply via email to