Blog

Installing Exchange 2016 from Scratch | part 4

Preparing a virtual machine to install Exchange 2016

Configuring network routing

On this section, we are going to configure our adapters to allow other clients to use our domain controller as gateway to access to Internet, on real environments, most of the clients doesn’t have direct access to internet.
Because we don’t have many resources (RAM), I’m going to add this feature to my domain controller (vmdc) and also, I’m going to decrease the total RAM assigned to my domain controller from 4 Gb to 2 Gb.

To decrease the RAM of the server, we are going to need turn it off, once the server is off, you are going to need edit the virtual machine setting and decrease the RAM until 2 GB. At the end your virtual machine settings will be something similar like the below image.

New settings

Now, you can start your server and this time it is going to take a little bit more time to start.
Once you are logged into your server, click on the “Windows” key and expand the folder “Windows Administrative Tools” and open the tool “Routing and Remote Access”.

Routing and Remote access server Wizard

  • Select the option marked in Yellow to allow internal clients to connect to Internet using one of our IP address

Creating and configuring new virtual machine.

At this moment, we have almost everything ready on our domain controller (vmdc), the next step will be create a new cloned virtual machine.
We already covered that topic (create a cloned virtual machine), but if you forgot it, this is a very basic description:
Right click in your “Base Virtual Machine” -> Manage -> Clone -> Next -> Next -> Create a linked clone -> add a name and finish.
Once created, it is going to be necessary change the default settings.

  • Upgrade the RAM from 4 Gb to 6 Gb, remember Exchange will be installed on this server and we are going to need more resources.
  • Change the network adapter from NAT to “Host-Only”.

Ok, you got it.

Turn on your virtual machine and setup your language and keyboard and also set the password for the built-in administrator account.
The second step will be configure our network adapter.
If you try to contact to the domain controller Pinging to it, the command will fail to contact to our domain controller:

failing to contact our domain controller

Let’s go and configure your network adapter like the image below:

New VM network configuration

Now, you can test “Pingin” to our domain controller again:

Pinging success

As you can see, now we have connection between our new virtual machine and our domain controller, also we have internet connection from the new machine.

Internet access from our new VM

The final step will be: Add this computer to our domain controller, do right click on the “Windows logo” and then select the option “System”.

System settings

Select the option highlighted in Yellow (“Change settings”) and on the next window select the “Change” button in order to be able to set a new computer name.

As you can see on the above image, set a new computer name and also set the your domain name and then click on “Ok”.

If you have connection to your domain controller you are going to get a prompt asking for an account with permissions to joint to the domain, in our case our Administrator account.

Enter your Administrator credentials

Once your computer is joined to your domain, you will be asked to reboot your computer.

If you open “Active Directory Users and Computers” in your domain controller machine, you are going to see a new computer added to our domain.

New VM added to our domain.

That’s it!.

On the next post, we are going to create a new user with the permissions needed to install Microsoft Exchange and do the Exchange installation.

Thank you for read until here.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: