This question already has an answer here:
I just bought an Intel NUC running Windows 10 and it comes with a WiFi adapter as well as a wired Ethernet port. I’m using my router to assign IP addresses based upon a device’s MAC address so they always get the same IP. I plan on using the Ethernet port, but every now and then I might move the machine to a location that doesn’t have a jack available.
I’d like to be able to use the WiFi, but still be able to use the IP address assigned to the wired port. So if I have the following:
- Wired Ethernet 172.16.68.67
- WiFi Adapter 172.16.68.68
I’d like to always be able to use 172.16.68.67 as long as either the Ethernet is plugged in and/or the WiFi is connected. Or even better, use 172.16.68.69 and the OS forwards traffic to 67 if it is connected, 68 if it is not.
One caveat is that I need to expose this adapter to HyperV so my virtual machines can use this adapter for connectivity.