Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Hyper-V installation (working)

    TNSR Feedback
    1
    1
    928
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      marcellinus
      last edited by

      Hi All

      I'm just searching around for a home/lab router for the init7 25gBit Internet connection.

      Since my home-lab is on Hyper-V, I saw it is not supported, I still wanted to give it a try and got it working. Just to share if someone else like to try that out.

      Major problem is, AFAIK, that the Network Cards are not supported.

      I am running my test Hyper-V on a HPE DL20 GEN10.

      Using poweshell, I disconnected the Intel i350 dual port Ethernet Adapter from the host and reassigned to the VM, hint for commands and tutorials on how to do this: "VMAssignableDevice".

      Here is what I did (put it together later, so I hope no typos or nothing missed)

      $pnpdevs = Get-PnpDevice | Where-Object {$_.Present -eq $true} | Where-Object {$_.Class -eq "Net" -and $_.Manufacturer -eq "Intel"}
      $pnpdevs
      //verify your search above, might be different for any other system
      $pnpdevs | Disable-PnpDevice
      $locationpath0 = ($pnpdevs[0] | Get-PnpDeviceProperty DEVPKEY_Device_LocationPaths).data[0]
      $locationpath1 = ($pnpdevs[1] | Get-PnpDeviceProperty DEVPKEY_Device_LocationPaths).data[0]
      Dismount-VmHostAssignableDevice -locationpath $locationpath0 -force
      Dismount-VmHostAssignableDevice -locationpath $locationpath1 -force
      //set your VM to stop on host shutdown
      Add-VMAssignableDevice -LocationPath $locationpath0 -VMName tnsr
      Add-VMAssignableDevice -LocationPath $locationpath1 -VMName tnsr
      //start VM
      

      This worked like a charm, pushed a test stream though at max bandwidth with no issued for a few hours.

      However, I think I still need to stop my testing here since DHCPv6 and RA/Delegation are not yet supported - and I like to keep my quite well working ipv6 setup alive.

      I did not test but "assume" that delegating a Mellanox or Intel SFP28 card should also work similarly. Would be still great to see if anyone else could get this flying ;-)

      Thought it might be usefull :-)

      Happy Bandwidth!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.