Setting Up a Virtual Network Lab with VMware Workstation and pfSense – Part 4 DNS and Active Directory

Now that we have a clean server install we can start adding roles for DNS and the Domain Controller. The first thing we must do is give the server a staticĀ IP address and a preferred DNS server. For the static IP I’ll use 192.168.10.10 and I’ll use a local DNS address of 127.0.0.1 since this server will act as the DNS server. Then reboot the server.

setup01

Once we have our IP set up we can start by adding the DNS role to the server. From the Server Manager dashboard choose “Add roles and Features” to start the Add Roles and Features Wizard.

setup03

Click next and under select installation type choose “Role based or feature based installation and click next.

setup04

in the Select destination server screen you should see the static IP that you set earlier. Highlight the server and click next.

setup05

You can now select the DNS server role.

setup06

and then add the default features that are needed for the DNS server role.

setup07

for the Features screen accept the defaults and click next.

setup08

then on the DNS Server window you can review the info and click next.

setup09

in the confirmation window click the install button.

setup10

You can see the installation of the role.

setup11

Once the installation is complete you can close the window and your DNS server role is installed. You can now go to server manager Tools and open the DNS Manager to prove the role has been installed successfully.

setup13

Now that we have the DNS role installed we can install our Active Directory Domain Services role. the steps are very similar to the once for installing the DNS role. From the Server Manager dashboard choose “Add roles and Features” to start the Add Roles and Features Wizard and click next.

setup14

accept the role based or feature based installation and click next.

setup15

Select your server from the list and click next.

setup16

select the Active Directory Domain Services from the server roles.

setup17

and under the add features that are requited for Active Directory Domain Services accept the defaults and click Add Features.

setup18

in the Features window accept the defaults and click next.

setup19

review the Confirmation window and click install.

setup20

When the installation is complete click close and notice that on the Server Manager dashboard you will see a yellow exclamation up in the right hand corner by the task flack. click that and you should see the task details where you can click the “Promote this server to a domain controller.

setup23

This will start the “Active Directory Domain Services Configuration Wizard”. in the Deployment Configuration windows choose “Add a new forest” and give it a Root domain name, I choose bimpression.com, and click next.

setup24

On the Domain Controller Options I accepted the defaults and entered a password for the DSRM and click next.

setup25

On the following screen you will get a warning which you can ignore for now and click next.

setup26

Under additional options enter a NetBIOS name and click next

setup27

in the paths screen choose the paths you want, I accepted the defaults and click next

setup28

review the options and click next.

setup29

Windows will run a prerequisites Check, let it finish and it should be successful with a few warnings. go ahead and click install.

setup30

Once installed the server will reboot automatically. on the log in screen notice that you are now logging in to the domain that you have created.

setup32

once logged in you can go to the Server Manager tools and you will see the active directory tools that are now available to you.

setup33

We now have our server set up as a DNS Server and a Domain controller but we also need a DHCP server on our virtual private network and we will install that role in part 5 of this tutorial so stay tuned!

Setting Up a Virtual Network Lab with VMware Workstation and pfSense – Part 3 the server

In part 3 of this tutorial I’ll set up a virtual Windows 2012 R2 server that will act as our DNS server, Domain Controller and a DHCP Server for our virtual private network. The server install is pretty straight forward and I won’t go into much detail. So here we go. First we’ll create another typical virtual machine.

server01

Once again choose to install the operating system later.

server02

Select Microsoft Windows version Windows Server 2012 for the operating system.

server03

Name the virtual machine and choose a location for it.

server04

Then choose the disk capacity, I kept the defaults.

server05

no we need to customize the hardware and change the network adapter to use our custom virtual network we created in part 1 of this tutorial.

server06

server07

now drop the windows server install media into the dvd drive by browsing to the iso image.

server08

We can now start the virtual machine and install the software. The following screens will show the install progress.

server09
Language and keyboard selection
server10
Install now
server11
Choose the version of the server (choose one with a GUI)
server12
Accept the license terms
server13
Choose custom install
server14
Select the partition to install to.
server15
Let the install happen
server16
Once installed choose an admin password and reboot.
server17
Once rebooted, send a Ctrl+Alt+Delete to the machine to get to the login screen.
server18
Log in with the admin password that you created
server19
Choose yes to automatically connect to devices on your network.
server20
Change name of sever to something meaningful (I chose Server01) and set the time and time zone.

We now have a brand new server. As you can see it cant find a DNS server and isn’t getting a proper IP address. I part 4 we will take care of this so stay tuned!

server21