IP Address for the virtual machine

Discussion in 'Virtual PC' started by Jim Marasco, Jun 18, 2009.

  1. Jim Marasco

    Jim Marasco Guest

    I setup my virtual machines and installed Windows Server 2003 on one and
    Windows XP Prof on the other one. Each guest machine boots and work normally.
    I need to setup static IP address for the Server 2003 so I can run AD and
    DNS. I am trying to setup virtual environment so I can study for my MCSE.
    How can I do that and what about the XP, my host is Windows Vista Business.
    Any feed back I really appreciate it.
     
    Jim Marasco, Jun 18, 2009
    #1
    1. Advertisements

  2. Jim Marasco

    Bill Grant Guest

    Put the server in the Local Only virtual network and give it a static IP
    in its own IP subnet. Run dcpromo and allow it to set up DNS for you.

    When that is all done, put the XP vm in the same network. You can give it
    a static IP in the same subnet as the server, or you can configure and
    activate DHCP on the server an let the client get its network config from
    DHCP. Remember that all AD clients (and the server itself) should use the
    DC's LAN IP address for DNS.

    The domain machines will not have access to the host, the physical
    network or the Internet.
     
    Bill Grant, Jun 18, 2009
    #2
    1. Advertisements

  3. On Wed, 17 Jun 2009 16:38:01 -0700, Jim Marasco <Jim
    You'd give them static IPs the same way you would with a real
    computer, from the TCP/IP properties of the NICs. Of course, you're
    probably going to need to have them on a different subnet than the
    host PC...ideally, you could use the "local only" networking option
    and isolate the DC and XP from your host to prevent them from
    interfering with the host network environment.
     
    Steve Jain [MVP], Jun 18, 2009
    #3
  4. Jim Marasco

    Jim Marasco Guest

    Bill Grant and Steve Jani.
    Thank you both for the reply and taking care of this for me. I isolated the
    Server 2003 and the XP machine by using the local only.
    My host machine has an IP address of 192.168, should i stick with range or
    should I use a totally different class, like using the 10.0 or the 172.16?
     
    Jim Marasco, Jun 18, 2009
    #4
  5. Jim Marasco

    Jim Marasco Guest

    Steve, sorry I typed your last name wrong, I apologize I did that in a hurry.
     
    Jim Marasco, Jun 18, 2009
    #5
  6. Jim Marasco

    Bill Grant Guest

    It doesn't really matter which set of private addresses you use. You can
    stay with 192.168 , but use a different subnet from the host. This makes it
    easier if you later want to route between the virtual and physical networks.

    My physical network uses 192.168.0.0/24, and my domain in Local Only
    uses 192.168.31.0/24 . If you are not familiar with the slash notation, /24
    indicates a 24-bit subnet or 255.255.255.0 .
     
    Bill Grant, Jun 19, 2009
    #6
  7. Jim Marasco

    Jim Marasco Guest

    Thanks everyone for the replies regarding this. I am running all the machines
    now without any probelm. I got two Windows Server 2003 and two XP machine in
    AD. I installed and configured my DNS server first then I ran the AD (
    Dcpromo). I got a question now and would like to keep all my questions under
    this thread. How can I have multiple hard drives for each virtual machine.
    For example the Server 2003 has a hard drive C: and I would like to to add
    another hard drive to the same virtual machine so I can have another drive D
    and so, is this possible?
     
    Jim Marasco, Jun 26, 2009
    #7
  8. Roughly just like you would with a real computer.
    1. create a new VHD
    2. shutdown the vm and attach the vhd to it
    3. boot up windows, set up the new hard drive in computer management
    and format
     
    Steve Jain [MVP], Jun 26, 2009
    #8
  9. Jim Marasco

    Jim Marasco Guest

    Steve,
    Thanks alot for all the help you provided me, I am good to go now, I did
    setup all my hard drives without any issues.
     
    Jim Marasco, Jun 27, 2009
    #9
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.