Professional Documents
Culture Documents
Mahdi
Practice 1
In this exercise you will add the DHCP Server role on Dcsrv1.
1. Log on to Nwraders from Dcsrv1.
5. On the Select Server Roles page, click Next. 6. On the DHCP Server page, read all of the text on
the page, and then click Next. 7. On the Select Network Connection Bindings page, read all of the text on the page.
Then, verify that the check box next to 192.168.0.1 is selected and click Next.
Then, verify that nwtraders.msft is specified as the parent domain and that 192.168.0.1 is specified as the preferred DNS server IPv4 address. Click Next.
9.
10. On the Add Or Edit DHCP Scopes page, read all of the text
on the page, and then click Add. Add Scope dialog box:
the Add Scope dialog box, click OK 13. On the Add Or Edit DHCP Scopes page, click Next. 14. On the Configure DHCPv6 Stateless Mode page, read all of the text on the page.
Then, leave the Enable DHCPv6 Stateless Mode For This Server option selected and click Next.
Then verify Then, verify that nwtraders.msft is specified as the parent domain and that fd00::1 is specified as the preferred DNS Server IPv6 address. Click Next.
Practice 2
In this exercise, you will configure the Boston computer as a DHCP client for IPv4.
1. Log on to Nwtraders from Boston computer as
a domain administrator. 2. Open an elevated command prompt. 3. At the command prompt, type the following:
netsh interface ipv4 set address local area connection dhcp
After you add the DHCP Server role, you can perform further configuration tasks by using the DHCP console.
These tasks include: 1. Configuring exclusions. 2. Creating address reservations. 3. Adjusting the lease duration of a scope 4. Configuring additional scope or server options.
An exclusion range is a set of one or more IP addresses that is included within the rang of a defined scope but that you do not want to lease to DHCP clients. For example:
192.168.0.10-192.168.0.254.
You might have a number of preexisting servers whose static addresses might lie within this range-for example between 192.168.0.200 and 129.168.0.210. You might have servers with isolated static addresses, such as 192.168.0.99
<server node>\ IPv4 \Scope\Address Pool. 2. Right-click the Address Pool folder. 3. Choose New Exclusion Range.
configure the range of addresses that you want to exclude from the address rang.
If you want to exclude a single address, specify the Start IP Address and the End IP Address as the same address
lease assignment by the DHCP server by associating an IP address with a MAC address. Ensure that a specified hardware device on the subnet can always use the same IP address without relying on a manually configured address.
Is that it is centrally managed and less likely to be
\Reservation. 2. Right-click the Reservation folder. 3. And then choose New Reservation. 4. In the New Reservation dialog box that opens, specify a name, IP address, and MAC address for the reservation.
You can modify the lease duration to be used for assigning IP address leases. To adjust the length of lease duration:
duration you want to adjust. 2. You can adjust the lease duration in the General tab in the Lease Duration For DHCP Clients area.
or a client, you can simply delete that lease by right-clicking the lease and choosing Delete.
1.
Are inherited by all scopes configured on the server. Are inherited by all leases and reservations within the scope. Apply to that reservation only.
2.
3.
node\IPv4\Scope\Scope options. 2. Right-click the Scope Options folder. 3. And then choose Configure Options. 4. Then use the Scope Options dialog box to choose an option for the scope.
On the 70-642 exam you wont be tasted on any DHCP options beyond those covered in the section entitled Understanding DHCP Options. However, browsing the long list of options made available through the DHCP console helps you get a feel for what DHCP options are and how you might use them in a production environment.
An option class is a client category that enables the DHCP server to assign options only to particular clients within a scope. Options classes can be of two types:
1. Vendor classes: are used to assign vendor-specific
For example: you can configure clients that can be identified as running Windows 2000 to enable or disable NetBIOS.
of clients identified as sharing a common need for similar DHCP options configuring.
User classes enable you to apply a particular configuration of DHCP options to any subset of DHCP clients you define. To implement a user class:
1. 2.
A custom user class is helpful when you need to assign distinct options to distinct sets of client computers.
For example, your network might require certain clients to be assigned a special default gateway that allows them to bypass the company firewall.
Define the class at the DHCP server by assigning an ID and a set of options for the class. Assign selected client computers to that class by using the Ipconfig/ setclassid command.
1. 2.
3.
4.
You can create a new user class by clicking the Add button in the DHCP User Classes dialog box. This step opens the new class dialog box. In this dialog box, you merely need to name the class and then set an ID string of your choice for the class.
5.
6. 7.
After defining a new class and specifying an ID string for that class , the new user class appears in the User Class dropdown list box in the Advanced Tap of the Scope Options dialog box. You can then select that user class and define a set of options that will be assigned only to members of the class. Finally, you need to populate the class, for the desired computers to inherit the options defined for the new class, you need to set the class ID of appropriate client computers to match the ID you have defined for that class at the DHCP server.
You can do this by executing the Ipconfig/setclassid command at a command prompt at each client computer.
the client will inherit the options defined for the class in addition to the options defined for the default user class. If the two options conflict , such as with the definition of a default gateway, the option defined for the more specific class takes precedence over the setting defined for the Default User Class.
Even though this command installs the DHCP Server service, it dose not automatically start.
To start the service for the first time, use the following command: net start dhcpserver To configure the DHCP Service to start automatically, type the following command: sc config dhcpserver start= auto
To add scopes and configure the server, you can simply connect to the server from the DHCP console on a computer running a full installation of Windows Server 2008.
If you want to configure a Server Core installation as a DHCP client for IPv4,type the following command where local area connection is the name of the connection on the network:
To configure the server to obtain a DNS server address through DHCP, type the following command:
When you configure DHCP options for the Default User class, which clients are assigned these options? Quick Check Answer:
All clients, except when a client is assigned a
class-specific option that conflicts with an option defined for the Default User class. In this case the class-specific options takes precedence.
Practice 3
on Dcsrv1 for the address range 192.168.0.200192.168.0.210. 1. Log on to Nwtraders from Dcsrv1 as a domain administrator. 2. Open the DHCP console by clicking Start, pointing to Administrative Tools, and then choosing DHCP. 3. In the DHCP console tree, navigate to DHCP\dcsrv1. nwtraders.msft \ IPv4 \ Scope [191.168.0.0]Nwtraders.msft\ Address Pool.
192.168.0.200 and 192.168.0.210 in the start IP Address and End IP Address boxes, respectively. 6. Click Add, and then click Close.
In the details pane you can see that the address range you have configured is now listed . The icon next to the range includes a red X, and the description associated with the range is IP Addresses excluded from distribution.