VirtualBox

Opened 13 years ago

Last modified 4 years ago

#8698 reopened defect

VirtualBox Host-Only Network Adapter prevents multicast traffic — at Version 6

Reported by: Michael Irigoyen Owned by:
Component: network Version: VirtualBox 4.0.4
Keywords: multicast nic network Cc:
Guest type: other Host type: Windows

Description (last modified by Michael Thayer)

After installing Oracle VirtualBox and VirtualBox installing the "VirtualBox Host-Only Network" on my Windows 7 64-bit machine, I am no longer able to receive multicast streams on the host machine. This problem occurs even when VirtualBox is not running.

To get around this issue, I have to go into Network Connections everytime I want to stream from a multicast source and disable the VirtualBox Host-Only Network adapter. I then have to remember to reenable it everytime I wish to use VirtualBox.

Change History (6)

comment:1 by bertvv, 12 years ago

This is probably related to Issue #9532. That bug is closed as "fixed in VBox 4.1.4". However, I still have this problem on Windows 2008 R2 with VirtualBox 4.1.18).

Strangely, when I reenable the VirtualBox Host-Only adapter, it's still possible to receive multicast streams...

comment:2 by bertvv, 12 years ago

I have found a workaround: create a script that runs at startup (instructions here: http://technet.microsoft.com/en-us/library/cc770556.aspx) that turns the network interface off and on again:

REM Have you tried to turn it off and on again?
REM Fix for VirtualBox issue #8698 and #9532 that prevents receiving multicast packets
wmic path win32_networkadapter where name="VirtualBox Host-Only Ethernet Adapter" call disable
wmic path win32_networkadapter where name="VirtualBox Host-Only Ethernet Adapter" call ensable

comment:3 by morphium, 11 years ago

I confirm this bug for 4.2.0 r80737 on Windows 7 x64 (and would like to see it fixed).

comment:4 by shuckc, 11 years ago

Workaround -
1. Open up Network and Sharing Center
2. Click 'Change Adapter Settings'
3. Right click 'VirtualBox Host-Only Network', go to Properties
4. Double click "Internet Protocol Version 4 (TCP/IPv4)' under 'This connection uses the following items'.
5. In the Properties page, click "Advanced..."
6. In the "Advanced TCP/IP Settings", tab "IP Settings", uncheck the box marked "Automatic Metic" and type in 800 or higher.

OK all dialogs and run whatever software could not Recieve multicast.

The problem stems from Microsoft assigning interface Metrics based on the driver's own reported Link speed in Windows 7. Since that's all 1GB, there is a clash on metric. To Confirm, view the metrics for each adapter by opening up Command Line and running:

>netstat -nr

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      10.210.50.1     10.210.50.90     20
      10.210.50.0    255.255.255.0         On-link      10.210.50.90    276
     10.210.50.90  255.255.255.255         On-link      10.210.50.90    276
    10.210.50.255  255.255.255.255         On-link      10.210.50.90    276
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
     192.168.56.0    255.255.255.0         On-link      192.168.56.1    656
     192.168.56.1  255.255.255.255         On-link      192.168.56.1    656
   192.168.56.255  255.255.255.255         On-link      192.168.56.1    656
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link      192.168.56.1    656
        224.0.0.0        240.0.0.0         On-link      10.210.50.90    276
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link      192.168.56.1    656
  255.255.255.255  255.255.255.255         On-link      10.210.50.90    276
===========================================================================

You want your internet/LAN adapter to have the LOWEST Metric for the general 224.xxxx and 225 cases.

Last edited 11 years ago by shuckc (previous) (diff)

comment:5 by Stevan White, 8 years ago

Hello,

For years this has been causing a trouble for our customers using our product DocYard.

It blocks UDP multicast messages, and is very time consuming to debug: two employees here and two more at the customer site took more than 3 hours to figure it out.

This is very pathological behavior.

Please put some resources on resolving it.

comment:6 by Michael Thayer, 8 years ago

Description: modified (diff)

Stevan, sorry that this is causing so much frustration. Since we unfortunately can't promise to allocate resources to this (not saying it won't happen, but our resources are limited and the things for them to do many), if this is causing you problems in your business you might consider asking or hiring someone to look at the source code and find the problem. We generally do integrate fixes from developers competent at creating and submitting them. As a developer and not a sales person I unfortunately can't say if there is a way for you to purchase this support from Oracle, but if you are using VirtualBox in a business-critical way a support contract might make sense for you.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use