VirtualBox

Ticket #8698 (new defect)

Opened 3 years ago

Last modified 15 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

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 20 months 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 20 months 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 19 months 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 15 months 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 15 months ago by shuckc (previous) (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use