It should work with windows and linux. The key problem is the Ethernet chipset and driver.

Virtual machine does not matter really because it is the host system dealing with the connection.