VirtualBox

Changes between Version 1 and Version 2 of Ticket #15060, comment 27


Ignore:
Timestamp:
Sep 28, 2022 6:04:21 PM (2 years ago)
Author:
Sam Morris

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15060, comment 27

    v1 v2  
    1010}}}
    1111
    12 It appears VirtualBox is trying to attach to `{\DEVICE\{CA0A5FEA-99B8-4F54-89CC-C3F81004A5FF}` and this interface can't be found.
     12It appears VirtualBox is trying to attach to `\DEVICE\{CA0A5FEA-99B8-4F54-89CC-C3F81004A5FF}` and this interface can't be found.
    1313
    14 In the VM settings, the list of adapters that VirtualBox presents for bridging too appears to be based off the `InterfaceDescription` property:
     14The correct GUID for my network adapter is:
    1515
    1616{{{
    17 PS C:\> Get-NetAdapter
     17PS C:\> get-netadapter | select name,interfacedescription,interfaceguid
    1818
    19 Name                      InterfaceDescription                    ifIndex Status       MacAddress             LinkSpeed
    20 ----                      --------------------                    ------- ------       ----------             ---------
    21 Local Area Connection 2   Realtek PCIe GBE Family Controller           18 Up           90-E6-BA-XX-XX-XX         1 Gbps
     19name                    interfacedescription               interfaceguid
     20----                    --------------------               -------------
     21Local Area Connection 2 Realtek PCIe GBE Family Controller {95A5360B-A4D4-4EFB-9DEE-1C6DEEF029C5}
    2222}}}
    2323
     
    3131|| ifDescr || Realtek PCIe GBE Family Controller ||
    3232
    33 Note that the `ifAlias` does _not_ match the `Name` property from `Get-NetAdapter`, above.
    34 
    3533There is another cousin key, `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkSetup2\Interfaces\{95A5360B-A4D4-4EFB-9DEE-1C6DEEF029C5}\Kernel`; its values are:
    3634
     
    3836|| ifDescr || Realtek PCIe GBE Family Controller ||
    3937
    40 Note that the `ifAlias` of this key _does_ match the `Name` property of `Get-NetAdapter`.
     38Based on the above, I believe VirtualBox is searching for the `Realtek PCIe GBE Family Controller` interface and finding & trying to attach to `\DEVICE\{CA0A5FEA-99B8-4F54-89CC-C3F81004A5FF}`, which does not exist on my system, resulting in the `VERR_INTNET_FLT_IF_NOT_FOUND ` error.
    4139
    42 Based on the above, I believe VirtualBox is searching for the `Realtek PCIe GBE Family Controller` interface and finding & trying to attach to `{CA0A5FEA-99B8-4F54-89CC-C3F81004A5FF}`, which does not exist on my system, resulting in the `VERR_INTNET_FLT_IF_NOT_FOUND ` error.
     40VirtualBox should be be finding `\DEVICE\{95A5360B-A4D4-4EFB-9DEE-1C6DEEF029C5}`, which does exist on my system.
    4341
    44 VirtualBox should be be finding `{95A5360B-A4D4-4EFB-9DEE-1C6DEEF029C5}`, which does exist on my system.
    45 
    46 I think VirtualBox needs to account for the possibility of multiple interfaces with the same `ifAlias`. Rather than presenting/storing/searching for the interface by its description, it should probably be using the interface name, which is unique. Of course, that will break everyone's VM configurations. Alternatively, VirtualBox could not stop searching after the first interface description match, and continue on, trying to attach to each matching interface until one of the attachments is successful.
     42I think VirtualBox needs to account for the possibility of multiple interfaces with the same alias. Rather than presenting/storing/searching for the interface by its description, it should probably be using the interface name, which is unique. Of course, that will break everyone's VM configurations. Alternatively, VirtualBox could not stop searching after the first interface description match, and continue on, trying to attach to each matching interface until one of the attachments is successful.
    4743
    4844But those are code changes, which I don't want to hold my breath for.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette