0

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.

1 Answers1

-1

If you are familiar with scripting, you could do this fairly easily with Powershell. Here is a guide on using the New-NetIPaddress command you would use. You could make it a startup script, and/or run it in intervals in the background. Honestly, there are many ways you could trigger it. Just script it based on your needs.

Keltari
  • 75,447