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

Posted on 2009-04-30
Last Modified: 2012-05-06
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?
Question by:darklord12
    LVL 70

    Accepted Solution


    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.

    LVL 15

    Assisted Solution

    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

    Author Comment

    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?
    LVL 10

    Assisted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
    One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now