Answer the question
In order to leave comments, you need to log in
How are IPs assigned when creating a VM on a host?
Actually, the question is for understanding the scheme of work.
Let's say there is a rented physical server with a white IP.
We create many virtual machines on it (for example, on WINDOWS). Will each VM have a separate IP for connecting via RDP (or in another way)?
If so, at what software level are IP addresses allocated? At the hypervisor level, or maybe a separate "switch" service application?
Answer the question
In order to leave comments, you need to log in
"Let's say there is a leased physical server with a white IP." this IP will be used to control the server?
"We create a lot of virtual machines on it (for example, on WINDOWS). Will each VM have a separate IP for connecting via RDP (or in another way)?" You can configure each BM with a white IP address, this is better, but it can be more expensive.
"If so, at what software level are IP addresses allocated? At the hypervisor level, or maybe a separate "switch" service application?" At the hypervisor level, there is a "service application" switch, located in HYPER-V in the Virtual Switch Manager (right-click on the host in the HYPER-V snap-in, the switch is extensible, you can screw at least nexus 1000 there)
Hmm. The server has a white IP. Which you got from the one who gave you this server. You raised a hundred virtual machines ... then your IP address began to multiply by the number of machines. Nope. Let's call it the term "the birth of new IPs". This is if you follow your logic.
White SP will only have a hypervisor. And a switch is created in it, some kind of dhcp server rises and it distributes gray IPs to your virtual machines. Then you transfer the ip (network interface) to the gateway virtual machine (it can also act as a dhcp server in the internal switch), and hide the hypervisor behind it.
here your IP began to multiply by the number of machines
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question