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
USB Passthrough to VM
Moderator: mike
-
- Posts: 5083
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: USB Passthrough to VM
Dot1X works perfectly already connecting KVM VMs to cloud interface which is bridged to REAL NIC and connected to real SW
Uldis
Uldis
-
- Posts: 3
- Joined: Tue Jun 05, 2018 7:33 pm
Re: USB Passthrough to VM
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.
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.