USB Passthrough to VM

Features you'd like to see in the upcoming version of EVE-NG

Moderator: mike

Post Reply
matth
Posts: 3
Joined: Tue Jun 05, 2018 7:33 pm

USB Passthrough to VM

Post by matth » Thu Sep 27, 2018 7:29 pm

It would be extremely helpful, esp. for dot1x, for VM to have the ability to be mapped to a USB Device. While this might be possible with the qemu advanced commands, it would be helpful to have a GUI/dropdown to perform the mapping.

Here's a link to how to do it via the CLI: https://www.linux-kvm.org/page/USB_Host ... d_to_Guest

The big use case would be, having a Windows (or other OS) VM being able to directly connect to the USB Device, specifically like a USB NIC, that then can plug into a real network switch that can detect layer 1 / 2 changes which dot1x uses to kick off processes.

Mh

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: USB Passthrough to VM

Post by Uldis (UD) » Sun Sep 30, 2018 2:18 pm

Dot1X works perfectly already connecting KVM VMs to cloud interface which is bridged to REAL NIC and connected to real SW
Uldis

matth
Posts: 3
Joined: Tue Jun 05, 2018 7:33 pm

Re: USB Passthrough to VM

Post by matth » Wed Oct 17, 2018 5:39 pm

Uldis,

I understand how it can be done through a bridged connection, it just the added flexibility to have a host being able to be mapped to an external USB device (NIC), so you can initiate actual state of the interface. With a bridged connection the NAD (switch) always sees the host as up, and you would have to kick off a manual shut/no shut to kick off dot1x. Also, having external NIC for a host allows for connecting to the the real switch for TrustSec (not that you can't do it with a bridge connection). Just ease of use.

Post Reply