I am running Hyper-V on Windows 10 and created an Ubuntu server VM.
There is a single network adapter on the VM that is connected to the Default Switch. When I reboot the VM it frequently gets a new IP address.
How can I configure the VM so that the IP always remains the same?
Comment set static ip on Hyper-V vm when host has one réseau card?
Re: Comment set static ip on Hyper-V vm when host has one réseau card?
- Assign static IP inside a Hyper-V VM.
- Bind VM's MAC address to IP on your router that runs DHCP. Probably it is a wireless physical router connected to your Windows 10 host.
- Bind VM's MAC address to IP on your router that runs DHCP. Probably it is a wireless physical router connected to your Windows 10 host.