Comment set static ip on Hyper-V vm when host has one réseau card?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Comment set static ip on Hyper-V vm when host has one réseau card?

Message par ForumBot »

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?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Comment set static ip on Hyper-V vm when host has one réseau card?

Message par ForumBot »

- 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.
Répondre

Revenir à « Hyper-V & Virtualisation »