Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

How to get the DHCP assigned IP from the virtual server instead of the router DHCP?

I set up a VMWARE virtual environment that consists of a Server 2003 and a windows xp client.  I am learning how to setup the DHCP server and I want the windows xp client to get the IP address from the DHCP server on the server 2003, because as of now, it keeps looking at the DHCP of my wireless router. What can I do so that the clients in my virtual environment will get the IP from the virtual server instead of the router?
0
darklord12
Asked:
darklord12
3 Solutions
 
Chris DentPowerShell DeveloperCommented:

Either you need to put something between the two networks to prevent the DHCP server on the router receiving broadcast requests from the clients in the virtual environment.

Or you would need to disable the DHCP service on the router.

Clients asking for DHCP addresses send out the request as a broadcast, they take the address from the first server to respond to that request.

Chris
0
 
fishadrCommented:
You can create seperate virtual network adapters and networks within VMware and then assign the virtual machines to use these virtual networks which are spereated from the live network. All coomunications including DHCP will then staty on this private network

http://www.vmware.com/support/ws55/doc/ws_net_advanced_2hostonly.html
0
 
darklord12Author Commented:
Thanks for the response.  Now that I have a virtual environment that is on a separated virtual network or subnet.  Is it still possible for the virtual PCs to have access to the Internet? Does this mean I have to specify the gateway in my virtual environment to point to the physical router?
0
 
lanboyoCommented:
Be default, no. The virtual interface will not talk outside the pc. Only bridged interfaces will be able to see the router.

You could set up the virtual 2003 server as a isa proxy and give it a second virtual interface that is bridged to the router...  If the host workstation is capable of it you can route thru it.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now