VirtualBox

Ticket #8698 (closed defect: fixed)

Opened 5 years ago

Last modified 3 months ago

VirtualBox Host-Only Network Adapter prevents multicast traffic

Reported by: mririgo Owned by:
Priority: major Component: network
Version: VirtualBox 4.0.4 Keywords: multicast nic network
Cc: Guest type: other
Host type: Windows

Description (last modified by michael) (diff)

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

comment:1 Changed 4 years ago by bertvv

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 Changed 4 years ago by bertvv

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 Changed 4 years ago by morphium

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

comment:4 Changed 4 years ago by shuckc

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 4 years ago by shuckc (previous) (diff)

comment:5 Changed 6 months ago by Stevan White

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 Changed 6 months ago by michael

  • 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.

comment:7 Changed 4 months ago by amedvedev

Hello Stevan,

We have prepared a Virtual Box test build for you. You can download the Windows version here: https://www.virtualbox.org/wiki/Testbuilds. In this build we set default metric value for newly created host only interface. Please, check that it helps and write us results.

Sincerely yours, Alexey

comment:8 Changed 3 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix is part of VBox 5.0.18.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use