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;
I have a VirtualBox host (linux) with a Windows 8.1 guest. The virtual network configuration for that guest:

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:

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
add a comment |
I have a VirtualBox host (linux) with a Windows 8.1 guest. The virtual network configuration for that guest:

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:

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
add a comment |
I have a VirtualBox host (linux) with a Windows 8.1 guest. The virtual network configuration for that guest:

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:

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
I have a VirtualBox host (linux) with a Windows 8.1 guest. The virtual network configuration for that guest:

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:

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
virtualbox multicast
edited May 6 '15 at 7:32
Eugene Beresovsky
asked May 2 '15 at 2:36
Eugene BeresovskyEugene Beresovsky
5231419
5231419
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered May 27 '15 at 5:06
Eugene BeresovskyEugene Beresovsky
5231419
5231419
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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