Receiving multicast traffic on host-only interface The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!How to share internet connection on Mac OS X to Virtualbox vm’s using Host-onlyLinux Kernel not passing through multicast UDP packetsWhy are my listener-less multicast packets affecting Wifi performance?Routing traffic from Linux through a VirtualBox Windows installDebugging multicast connection over VPNVirtualBox - multiple guests, each with a single bridged adapter?individual windows machine refuses to join multicast group on any network interfaceMachine with bonded interface does not receive multicast packets on all slave interfacesHyper-V Windows hosts see/count multicast traffic that they shouldn'tReceive multicast frames from different subnets

Would it be possible to rearrange a dragon's flight muscle to somewhat circumvent the square-cube law?

Problems with Ubuntu mount /tmp

Arduino Pro Micro - switch off LEDs

How to copy the contents of all files with a certain name into a new file?

Typeface like Times New Roman but with "tied" percent sign

How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?

How to grep and cut numbes from a file and sum them

Derivation tree not rendering

Windows 10: How to Lock (not sleep) laptop on lid close?

First use of “packing” as in carrying a gun

Mortgage adviser recommends a longer term than necessary combined with overpayments

How many people can fit inside Mordenkainen's Magnificent Mansion?

Did the new image of black hole confirm the general theory of relativity?

Road tyres vs "Street" tyres for charity ride on MTB Tandem

Why does the Event Horizon Telescope (EHT) not include telescopes from Africa, Asia or Australia?

Why is the object placed in the middle of the sentence here?

How to pronounce 1ターン?

Does the AirPods case need to be around while listening via an iOS Device?

Didn't get enough time to take a Coding Test - what to do now?

What information about me do stores get via my credit card?

Do warforged have souls?

Was credit for the black hole image misattributed?

What's the point in a preamp?

Can the prologue be the backstory of your main character?



Receiving multicast traffic on host-only interface



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!How to share internet connection on Mac OS X to Virtualbox vm’s using Host-onlyLinux Kernel not passing through multicast UDP packetsWhy are my listener-less multicast packets affecting Wifi performance?Routing traffic from Linux through a VirtualBox Windows installDebugging multicast connection over VPNVirtualBox - multiple guests, each with a single bridged adapter?individual windows machine refuses to join multicast group on any network interfaceMachine with bonded interface does not receive multicast packets on all slave interfacesHyper-V Windows hosts see/count multicast traffic that they shouldn'tReceive multicast frames from different subnets



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I have a VirtualBox host (linux) with a Windows 8.1 guest. The virtual network configuration for that guest:



enter image description here



After disabling auto metric on the host-only Adapter2 (in the guest OS) and fixing it to either 1 or 800 (i.e. it doesn't matter if it is higher or lower than the metrics of Adapter1), I could send multicast traffic (via tcpreplay) from the host to the paravirtualized interface (eth0), and an app on the guest can receive it on Adapter1.



When sending the same data to host-only adapter (vboxnet0) though, I cannot receive it in the guest on Adapter2. Although wireshark does capture the packets:



enter image description here



This looks similar to when I try to receive packets that arrive on the NIC, without joining the multicast groups, i.e. it looks like the network stack discarding packets because the app has not joined for those multicast addresses.



So how is it possible to receive multicast data on a host-only adapter?










share|improve this question






























    1















    I have a VirtualBox host (linux) with a Windows 8.1 guest. The virtual network configuration for that guest:



    enter image description here



    After disabling auto metric on the host-only Adapter2 (in the guest OS) and fixing it to either 1 or 800 (i.e. it doesn't matter if it is higher or lower than the metrics of Adapter1), I could send multicast traffic (via tcpreplay) from the host to the paravirtualized interface (eth0), and an app on the guest can receive it on Adapter1.



    When sending the same data to host-only adapter (vboxnet0) though, I cannot receive it in the guest on Adapter2. Although wireshark does capture the packets:



    enter image description here



    This looks similar to when I try to receive packets that arrive on the NIC, without joining the multicast groups, i.e. it looks like the network stack discarding packets because the app has not joined for those multicast addresses.



    So how is it possible to receive multicast data on a host-only adapter?










    share|improve this question


























      1












      1








      1








      I have a VirtualBox host (linux) with a Windows 8.1 guest. The virtual network configuration for that guest:



      enter image description here



      After disabling auto metric on the host-only Adapter2 (in the guest OS) and fixing it to either 1 or 800 (i.e. it doesn't matter if it is higher or lower than the metrics of Adapter1), I could send multicast traffic (via tcpreplay) from the host to the paravirtualized interface (eth0), and an app on the guest can receive it on Adapter1.



      When sending the same data to host-only adapter (vboxnet0) though, I cannot receive it in the guest on Adapter2. Although wireshark does capture the packets:



      enter image description here



      This looks similar to when I try to receive packets that arrive on the NIC, without joining the multicast groups, i.e. it looks like the network stack discarding packets because the app has not joined for those multicast addresses.



      So how is it possible to receive multicast data on a host-only adapter?










      share|improve this question
















      I have a VirtualBox host (linux) with a Windows 8.1 guest. The virtual network configuration for that guest:



      enter image description here



      After disabling auto metric on the host-only Adapter2 (in the guest OS) and fixing it to either 1 or 800 (i.e. it doesn't matter if it is higher or lower than the metrics of Adapter1), I could send multicast traffic (via tcpreplay) from the host to the paravirtualized interface (eth0), and an app on the guest can receive it on Adapter1.



      When sending the same data to host-only adapter (vboxnet0) though, I cannot receive it in the guest on Adapter2. Although wireshark does capture the packets:



      enter image description here



      This looks similar to when I try to receive packets that arrive on the NIC, without joining the multicast groups, i.e. it looks like the network stack discarding packets because the app has not joined for those multicast addresses.



      So how is it possible to receive multicast data on a host-only adapter?







      virtualbox multicast






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 6 '15 at 7:32







      Eugene Beresovsky

















      asked May 2 '15 at 2:36









      Eugene BeresovskyEugene Beresovsky

      5231419




      5231419




















          1 Answer
          1






          active

          oldest

          votes


















          0














          I tried it again today, again setting the metrics manually so that the host-only adapter's metric would turn out the lowest (= highest priority), and: It works!



          I'm pretty sure that's what I did the other day when I posted the question, so I'm not sure what changed, but in any event: Multicast reception via host-only virtual NICs is indeed possible.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f687107%2freceiving-multicast-traffic-on-host-only-interface%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I tried it again today, again setting the metrics manually so that the host-only adapter's metric would turn out the lowest (= highest priority), and: It works!



            I'm pretty sure that's what I did the other day when I posted the question, so I'm not sure what changed, but in any event: Multicast reception via host-only virtual NICs is indeed possible.






            share|improve this answer



























              0














              I tried it again today, again setting the metrics manually so that the host-only adapter's metric would turn out the lowest (= highest priority), and: It works!



              I'm pretty sure that's what I did the other day when I posted the question, so I'm not sure what changed, but in any event: Multicast reception via host-only virtual NICs is indeed possible.






              share|improve this answer

























                0












                0








                0







                I tried it again today, again setting the metrics manually so that the host-only adapter's metric would turn out the lowest (= highest priority), and: It works!



                I'm pretty sure that's what I did the other day when I posted the question, so I'm not sure what changed, but in any event: Multicast reception via host-only virtual NICs is indeed possible.






                share|improve this answer













                I tried it again today, again setting the metrics manually so that the host-only adapter's metric would turn out the lowest (= highest priority), and: It works!



                I'm pretty sure that's what I did the other day when I posted the question, so I'm not sure what changed, but in any event: Multicast reception via host-only virtual NICs is indeed possible.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 27 '15 at 5:06









                Eugene BeresovskyEugene Beresovsky

                5231419




                5231419



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f687107%2freceiving-multicast-traffic-on-host-only-interface%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                    What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

                    Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos