Axter
asked on
Have host machine assign IP address to VM (guest)
I'm setting up over 100 VM machines on one host, but I only have about 30 IP address available.
I don't plan on having more then 20 VM's turned on at the same time, so I would like to configure the host so that it would assign an available IP address to the VM when it starts up.
The host machine is a Windows 2003 Server, and all the VM's are Windows 2003 and higher.
The available 30 IP addresses are within the same subnet as the host IP.
How can I configure the host so that it assigns the IP address?
I don't plan on having more then 20 VM's turned on at the same time, so I would like to configure the host so that it would assign an available IP address to the VM when it starts up.
The host machine is a Windows 2003 Server, and all the VM's are Windows 2003 and higher.
The available 30 IP addresses are within the same subnet as the host IP.
How can I configure the host so that it assigns the IP address?
ASKER
>>If you make sure only 20 VMs has been using at the same time.. Just start DHCP server and set the range of 30 IP addresses. So that DHCP will assign and
>>auto release IP for VM machine.
That sounds good, but how do I start a DHCP server, and how do I set the range?
>>auto release IP for VM machine.
That sounds good, but how do I start a DHCP server, and how do I set the range?
ASKER
I've tried setting up the DHCP on the host, but it didn't work.
I'm sure I'm doing something wrong, and there are a few fields in which I'm not sure what there values should be.
I'm assuming this should be a Scope that falls under the server name in the DHCP GUI option window.
My server (host) is Axter, and it's IP address is 172.19.55.100.
For test purposes, let say I'm interested in issuing IP addresses 172.19.55.200 through 172.19.55.204.
I have the following DHCP fields in which I'm uncertain of the required values:
DHCP->Axter->Scope[xx-xx]M yScope->Sc ope Options->Rounter
DHCP->Axter->Scope[xx-xx]M yScope->Sc ope Options->DNS Servers
DHCP->Axter->Scope[xx-xx]M yScope->Sc ope Options->DNS Domain Name
DHCP->Axter->Scope[xx-xx]M yScope->Sc ope Options->WINS/NBNS Servers
How do I set VMWare to look at the host DHCP?
I'm sure I'm doing something wrong, and there are a few fields in which I'm not sure what there values should be.
I'm assuming this should be a Scope that falls under the server name in the DHCP GUI option window.
My server (host) is Axter, and it's IP address is 172.19.55.100.
For test purposes, let say I'm interested in issuing IP addresses 172.19.55.200 through 172.19.55.204.
I have the following DHCP fields in which I'm uncertain of the required values:
DHCP->Axter->Scope[xx-xx]M
DHCP->Axter->Scope[xx-xx]M
DHCP->Axter->Scope[xx-xx]M
DHCP->Axter->Scope[xx-xx]M
How do I set VMWare to look at the host DHCP?
ASKER
I was able to figure out what I was doing wrong.
I had to authorize the DHCP server.
I'm now able to get automatic assignments, but I notice the leasing period last longer then what I assigned it to.
For testing purposes, I set the lease duration to 10 minutes.
I then turned on 5 machines, to use up the 5 available IP address.
I then shut them down, and waited for 15 minutes.
I expected to have the IP's available to the new VM I started, but it still had the IP leased to the previous 5 VM machines, even though they were turned off for 15 minutes.
How does the lease duration work to recycle the IP's?
I had to authorize the DHCP server.
I'm now able to get automatic assignments, but I notice the leasing period last longer then what I assigned it to.
For testing purposes, I set the lease duration to 10 minutes.
I then turned on 5 machines, to use up the 5 available IP address.
I then shut them down, and waited for 15 minutes.
I expected to have the IP's available to the new VM I started, but it still had the IP leased to the previous 5 VM machines, even though they were turned off for 15 minutes.
How does the lease duration work to recycle the IP's?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
>>Microsoft Windows does not do this.
You wouldn't happen to know of any windows program I can run to send this message?
You wouldn't happen to know of any windows program I can run to send this message?
If you make sure only 20 VMs has been using at the same time.. Just start DHCP server and set the range of 30 IP addresses. So that DHCP will assign and auto release IP for VM machine.