We have already discussed how to install windows server 2008 and configuring domain controller with DNS server in windows server 2008.Now we will see how to install and configure DHCP server.
A DHCP Server assigns IP addresses to client computers.
This is very often used in enterprise networks to reduce configuration
efforts. All IP addresses of all computers are stored in a database that
resides on a server machine.
You need to open server manager from Start—>Administrative tools—>Server Manager
Once server manager opens click on Roles from left pane now you need to click on Add Roles from right pane
Now you can see introduction screen click next
Here you need to select the DHCP Server and click next
DHCP Server introduction details click next
First it will try to check your server is having static ip address or not if it detects it will display here and click next
Here you need to enter your domain name and DNS servers click next
If you have WINS server enter details here otherwise select first option click next
Now you need to add DHCP server scope for this you need to click on Add
Enter your scope details and select check box next to Activate this scope option click ok
If you want to enable IPV6 for this server select here otherwise disable IPV6 for your DHCP server and click ok
Select user credentials click next
Confirmation about your selection click on install
DHCP server Installation in progress
Installation Results and click on close
Now you can confirm DHCP server from server manager as follows
Open DHCP server from Start—>Administrative Tools—>DHCP
Create new scope
Right click on IPV4 select New Scope
Create new Reservation
Right Click on Reservation select New reservation
Wednesday, 2 May 2012
How to install Active Directory on Windows 2008
Before you start following this article you must be aware this is
simply a lab setup and you need to assign relevant ip address, hostnames
& domain names which are relavant to your enviroment /
organisation.
I will be using the following:
Hostname=PILOT-DC-01
IP address=192.168.1.200
Subnet Mask=255.255.255.0
Domain name=PILOt.LOCAL
Forest = New
Partition: NTFS ( 60 GB )
The Virtual machine used has been installed as of date when this article was written with a default install of Windows 2008 R2 x64 BIT + all MS critical updates.
Configure IP Address details as required. As this is the only DNS server and the first DC we will point the DNS to itself.
Start Server Manager and select Roles > Add Roles
Click Next >
Once you select Active Directory Domain Service you will see this dialogue box it is self explanatory. :)
Click ok
Click Next > & move ahead.
Some Useful tips on this page if you would like to reaand than move ahead pelase do so.
Click next >
Click Next >
once the wizard is complete
Click Close >
There are various ways you can start and compelte the DCPROMO wizard. We choose to install it using the Server Manager indicated in the screenshot below.
Click advanced check box.
Click Next >
Read the text carefull before you move ahead.
Click Next >
Select New Domain in a New Forest.
Click Next >
Decide your FQDN for the new forest root domain. I have chosen to go with the
PILOT.LOCAL.
Click Next >
DCPROMO wizard verifies if this name is already in use on the same VLAN etc....
We have used the default name PILOT as the NETBIOS name, you can change it if you choose too.
Set you FFL right now we have decided to use Windows 2008 R2 as that is the first DC + no other
DC in this domain. We also would like to research and test the new FFL features. Please make your
appropriate choice here as this change is irreversible.
Click Next >
The wizard will install DNS & configure it for you.
Click Next >
Click Yes >
We currently only have a single partition so we ahve no choice of changing these paths but
please make your partition choice.
Click Next >
Enter your recovery mode password and record it safely.
Click Next >
You can export these settings and also could use the answer file to run the same wizard again
with relevant changes tot he file for any options you want for example: We could ahve done all of
the above using command line and the answer file.
1. A new DC & in a new forest.
2. A Addtional DC in an existing forest.
3. etc..
The wizard applies all the configuration we did earlier.
Click Finish & Reboot.
After reboot we can verify the DNS server has been auto installed and configured by the DCPROMO wizard.
All we need to do now is create the DNS reverse lookup zone as that is done manually.
Click Next >
Click Next >
Click Next >
Define your ip subnet details.
Click Next >
Click Next >
Click Finish >
Now the reverse lookup zoone shows up in DNS.
The domain controller does show up in ADUC.
New SYSVOL & NETLOGON shares are also available & accessible.
For any further troubleshooting or for verification you can run dcdiag.exe
netdiag.exe
log the results into a text file and view the outcome.
I will be using the following:
Hostname=PILOT-DC-01
IP address=192.168.1.200
Subnet Mask=255.255.255.0
Domain name=PILOt.LOCAL
Forest = New
Partition: NTFS ( 60 GB )
The Virtual machine used has been installed as of date when this article was written with a default install of Windows 2008 R2 x64 BIT + all MS critical updates.
Configure IP Address details as required. As this is the only DNS server and the first DC we will point the DNS to itself.
Start Server Manager and select Roles > Add Roles
Click Next >
Once you select Active Directory Domain Service you will see this dialogue box it is self explanatory. :)
Click ok
Click Next > & move ahead.
Some Useful tips on this page if you would like to reaand than move ahead pelase do so.
Click next >
Click Next >
once the wizard is complete
Click Close >
There are various ways you can start and compelte the DCPROMO wizard. We choose to install it using the Server Manager indicated in the screenshot below.
Click advanced check box.
Click Next >
Read the text carefull before you move ahead.
Click Next >
Select New Domain in a New Forest.
Click Next >
Decide your FQDN for the new forest root domain. I have chosen to go with the
PILOT.LOCAL.
Click Next >
DCPROMO wizard verifies if this name is already in use on the same VLAN etc....
We have used the default name PILOT as the NETBIOS name, you can change it if you choose too.
Set you FFL right now we have decided to use Windows 2008 R2 as that is the first DC + no other
DC in this domain. We also would like to research and test the new FFL features. Please make your
appropriate choice here as this change is irreversible.
Click Next >
The wizard will install DNS & configure it for you.
Click Next >
Click Yes >
We currently only have a single partition so we ahve no choice of changing these paths but
please make your partition choice.
Click Next >
Enter your recovery mode password and record it safely.
Click Next >
You can export these settings and also could use the answer file to run the same wizard again
with relevant changes tot he file for any options you want for example: We could ahve done all of
the above using command line and the answer file.
1. A new DC & in a new forest.
2. A Addtional DC in an existing forest.
3. etc..
The wizard applies all the configuration we did earlier.
Click Finish & Reboot.
After reboot we can verify the DNS server has been auto installed and configured by the DCPROMO wizard.
All we need to do now is create the DNS reverse lookup zone as that is done manually.
Click Next >
Click Next >
Click Next >
Define your ip subnet details.
Click Next >
Click Next >
Click Finish >
Now the reverse lookup zoone shows up in DNS.
The domain controller does show up in ADUC.
New SYSVOL & NETLOGON shares are also available & accessible.
For any further troubleshooting or for verification you can run dcdiag.exe
netdiag.exe
log the results into a text file and view the outcome.
Subscribe to:
Posts (Atom)