I have read numerous SO posts with this one being almost identical but I cannot get this to work.
I have a single wireless NIC in my notebook running Windows 10 Pro 1803. This is configured with a static IP address of 192.168.40.111.
I want the VM to have a static IP address of 192.168.40.101 and be accessible to other machines on the 192.168.40/24 network. It will ultimately get Internet access via a host 192.168.40.2.
So based on what I have read I need to use Hyper-V's virtual switch manager to create an "External" switch which I have done called "Virtual Switch - Static" as follows:
and then use that for the VM. So far so good. However when I look at what is in the network adapters I see:
However if I change the IP address of the highlighted connection it changes the IP address of the wireless card as well which is what I don't want.
So how do I configure things so that the VM has its static address of 192.168.40.101 and the wireless card maintains its static address of 192.168.40.111?