How to Set up a domain environment in hyper-V

Source: Internet
Author: User
ArticleDirectory
    • Configure Virtual Network
    • Install guest operating system

This weekend, I deleted Windows Vista and installed Windows Server 2008x64 on my home machine for using hyper-v. my experience is that the performance of hyper-V is greater than vmware workstation. I also set up a domain, mail server, Gateway and DHCP server on the hyper-v. this is my first time creating such pretty complex a network environment, so spent may time on it. I wrote down my set up experiences for you who hope to use hyper-v. before you reading the following contents, I guess you have basic understanding of hyper-v.

Configure Virtual Network
    • Create an external virtual network used by guest machines to access the Internet.
    • Create an internal virtual network used by guest machines to communicate with host.
    • Create a private virtual network used by guest machines to communicate with each other.
Install guest operating system
  1. Install a Windows server in the hyper-v. the hard disk of the server will be shared by all other new virtual machines by using differencing hard disk.
  2. Install a Windows server in the hyper-V. The server will be used as domain controller, mail server, DHCP server and gateway.
      1. the domain name only needs to contain one dot, for example, home.com.
      2. Network
        1. use static IP address on the private network adapter.
        2. the DNS will be installed automatically with Domain Controller.
        3. set up the NAT service, the NAT service is used as a gateway for sharing Internet connection.
        4. the outer-network is external network and in-network is private network.
        5. the IP scope of external, internal and private networks shocould be different.
        6. the server's IP address shocould be in the private IP scope.
      3. Mail Service
        1. the mail domain name shocould be same as your domain name, so the main service can create the relationship with your domain automatically.
        2. after the creation, you need to use "authorize" menu to create the relationship between mail service and your domain.
      4. use "manager your server" to create these services.
  3. Install other virtual machines.

Note: If your virtual machines use differencing hard disk and share same parent hard disk, the SIDS of the virtual machines are equal, you need to use newsid.exe tool to change the SIDS. if your guest machine is Windows 2008, you can use sysprep.exe.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.