Thank you for your kind reply!

I test the multicast this morning, and found that with set field I can send 
VxLAN encapsulated tunnel packet with multicast tun-dst address. But in order 
to receive the multicast packet, the machine running openvswitch should join a 
multicast group, or the multicast packet will be discarded.
Does ovs provide any command-line method to join an interface into a specific 
multicast group(other than 224.0.0.1)? 224.0.0.1 is default group that all host 
will join in, but it cannot be forwarded by physical network devices.

Thanks

发件人: 邓尧 [mailto:tors...@gmail.com]
发送时间: 2014年7月23日 13:57
收件人: 朱宗敏(研七 福州)
抄送: discuss@openvswitch.org
主题: Re: [ovs-discuss] How can I make ovs send multicast VxLAN tunnel 
packets---that's to set the tun-dst a multicast group address?

IIRC, OVS doesn't support multicast, if you really need such feature, try the 
vxlan implemented in  mainline kernel. I didn't try myself, but google says 
mainline kernel supports that.

On Tue, Jul 22, 2014 at 3:41 PM, 朱宗敏(研七 福州) 
<zhuzong...@ruijie.com.cn<mailto:zhuzong...@ruijie.com.cn>> wrote:
Hello folks:

Currently, we can build up a connection between two VxLAN networks by setting 
unicast ip address to the "remote_ip" option of VxLAN type interface on 
openvswitch.
But when there are many VxLAN networks, we hope to broadcast the VxLAN packet 
to all peers; but it is in-convenient to set all the unicast "remote_ip" 
parameters one-by-one. I have tried to set the "remote_ip" with a multicast 
group address, such as 224.0.0.2 or 225.1.1.1 using command:
sudo ovs-vsctl add-port br1 vx1 -- set interface vx1 type=vxlan 
options:remote_ip=225.1.1.1
The command does not return error, but ovs does not send the multicast VxLAN 
packet out as expected. And in log, I can find a warning "vx1: multicast 
remote_ip=225.1.1.1 not allowed".
Originally, VxLAN depends on multicast to find & resolve the Mapping(IP, MAC) 
among different VxLAN networks. So I think there might be some kind of 
configure to make use of the multicast characteristic of VxLAN.

Can you kindly offer me some help on it?
I would really appreciate your help.

Thanks!

_______________________________________________
discuss mailing list
discuss@openvswitch.org<mailto: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