<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Hi Klaus, thanks for your reply.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>So are you saying that the best way to support multicast in a VBOX environment is to use the bridging configuration for my VM's network cards, and if I do that, then all multicast is passed into VMs? Or does it actually do something smarter like IGMP filtering? <br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
 HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>If I want to receive multicast in my VM, then it (or better: my application inside the VM) would normally register on IP multicast addresses via IGMP. On a non-virtualized system, the network card of the machine would be switched into multicast listening mode and would only register on that particular address (at Ethernet level) to pass packets to that address up to the host OS. It would not go into promiscous mode. And multicast packets to other addresses I didn't register for, will be dropped. <br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>If I now have a VM environment, then how do I get the host NIC to register for multicast addresses my VMs are interested in?
 Does that work with VBOX? Or will, with bridging, the host NIC be set into all promiscous mode by default? That seems to be a performance hit. Will it pass ANY multicast packets into my VM and not do any sort of filtering at all, I guess?<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Thanks for your help.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
 HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Karoline<br></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> Klaus Espenlaub <klaus.espenlaub@oracle.com> schrieb am 13:35 Donnerstag, 10.Juli 2014:<br> </font> </div>  <br><br> <div class="y_msg_container">Karoline<br clear="none"><br clear="none">On 10.07.2014 07:49, Karoline Haus wrote:<br clear="none">> Do the host-only network interfaces in any way behave differently to the<br clear="none">> typical tun/tap Ethernet devices Linux offers? I mean in terms of<br
 clear="none">> multicast reception. So if I bridge from the physical device to the<br clear="none">> host-only interface then it should be able to process multicast pakets<br clear="none">> as well right?<br clear="none"><br clear="none">It should - but why would one want to touch the linux bridging support? <br clear="none">The reason why we dumped it years ago was that it was extremely <br clear="none">unreliable. Caused random connectivity problems, and there were setups <br clear="none">where for unexplainable reasons no data would ever pass through br0 to <br clear="none">the tap device used by VirtualBox. Of course it might be all fixed by <br clear="none">now, but using linux bridging to connect to a host only network sounds <br clear="none">like a very complicated way to replace VirtualBox bridging straight to <br clear="none">the desired interface.<br clear="none"><br clear="none">There is no intentional multicast blocking done
 anywhere in VirtualBox.<div class="yqt9957045279" id="yqtfd42146"><br clear="none"><br clear="none">Klaus<br clear="none"><br clear="none">> Klaus Espenlaub <<a shape="rect" ymailto="mailto:klaus.espenlaub@oracle.com" href="mailto:klaus.espenlaub@oracle.com">klaus.espenlaub@oracle.com</a>> schrieb am 18:20 Dienstag,<br clear="none">> 8.Juli 2014:<br clear="none">><br clear="none">><br clear="none">> Karoline,<br clear="none">><br clear="none">> On 08.07.2014 17:42, Karoline Haus wrote:<br clear="none">>  > Hi there, I was just wondering, if it was possible to control multicast<br clear="none">>  > reception for VMs via host-only interfaces via the VBOX API? I could not<br clear="none">>  > find anything but not sure I searched in the right place. Thanks for any<br clear="none">>  > pointers!<br clear="none">><br clear="none">><br clear="none">> There's nothing in the API
 controlling this, and the reason is that the<br clear="none">> emulation itself deals with ethernet frames. It couldn't care less what<br clear="none">> they mean. Of course the actual behavior heavily depends on the<br clear="none">> networking mode (NAT definitely doesn't handle multicast in a sensible<br clear="none">> way), and bridged/host only/internal network should be able to handle<br clear="none">> them. Theoretically. Not aware of this getting tested :)<br clear="none">><br clear="none">> Klaus<br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>