Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Windows Server 2003 : Configuring the DHCP Server (part 3)

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
3/16/2011 5:49:10 PM

Assigning DHCP Options

DHCP options provide clients with additional configuration data, such as specific server addresses, along with an address lease. For example, when the Transmission Control Protocol/Internet Protocol (TCP/IP) properties of a client computer have been configured to obtain a DNS server address automatically, that computer is relying on DHCP options configured at the DHCP server to acquire a DNS server address (or set of addresses).

You can configure options at the reservation level, scope level, or server level. Options set at the reservation level override all others, and scope-level options override server-level options.

To configure options for a reservation, select the particular reservation’s icon in the DHCP console tree, and then from the Action or shortcut menu, select Configure Options. To configure options for a scope (after completing the New Scope Wizard), select the Scope Options folder in the DHCP console tree, and then from the Action or shortcut menu, select Configure Options. To configure options for a server, select the Server Options folder in the DHCP console tree, and then from the Action or shortcut menu, select Configure Options. The dialog box that opens after each of these procedures is virtually the same. The Scope Options dialog box is shown as an example in Figure 5.

Figure 5. Configuring DHCP options


More than 60 standard DHCP options are available. The most common of these include the following:

  • 003 Router A preferred list of IP addresses for routers on the same subnet as DHCP clients. The client can then contact these routers as needed to forward IP packets destined for remote hosts.

  • 006 DNS Servers The IP addresses for DNS name servers that DHCP clients can contact and use to resolve a domain host name query.

  • 015 DNS Domain Name An option that specifies the domain name that DHCP clients should use when resolving unqualified names during DNS domain name resolution. This option also allows clients to perform dynamic DNS updates.

  • 044 WINS/NBNS Servers The IP addresses of primary and secondary WINS servers for the DHCP client to use.

  • 046 WINS/NBT Node Type A preferred NetBIOS name resolution method for the DHCP client to use—such as b-node (0x1) for broadcast only or h-node (0x8) for a hybrid of point-to-point and broadcast methods.

  • 051 Lease An option that assigns a special lease duration only to remote access clients. This option relies on user class information advertised by this client type.

Activating a Scope

After you define and configure a scope, the scope must be activated before the DHCP server can begin providing service to clients. However, you should not activate a new scope until you have specified the DHCP options for it.

To activate a scope, complete the following steps:

1.
Open the DHCP console.

2.
In the console tree, select the applicable scope.

3.
From the Action menu, select Activate.

Note

The Action menu command changes to Deactivate when the selected scope is currently activated. In production environments, you should not deactivate a scope unless you are retiring it permanently from use on your network.


Tip

Expect to see a question in which DHCP is not functioning because either the scope has not been activated or the server has not been authorized.


Configuring the Client

To configure a client to receive its IP address information from a DHCP server, open the Internet Protocol (TCP/IP) Properties dialog box for the appropriate network connection. By selecting the Obtain An IP Address Automatically option, you enable the client to obtain from the DHCP server an IP address, subnet mask, and all DHCP options except for DNS options. To configure the client to receive DNS options from the DHCP server, select the Obtain DNS Server Address Automatically option.

If you are migrating the client from a statically assigned address, you can apply the new configuration simply by closing the open dialog boxes.

Migrating from APIPA or Alternate Configurations

If a client has already been configured to obtain an IP address and DNS server address automatically, and the network is not using ICS, you merely need to renew the IP configuration to apply the settings from the newly configured DHCP server.

To renew a configuration, enter the ipconfig /renew command at the command prompt. Alternatively, you can restart the client computer, and the new IP configuration is applied as the computer reboots.

Migrating from an ICS Connection

ICS is a shared dial-up connection on a server that provides Internet access to network clients and automatically configures client computers with an address in the 192.168.0.x subnet range. Because this service competes with the DHCP Server service, you should delete any shared (ICS-enabled) dial-up connections on the server and restart the server computer before installing the DHCP Windows component or adding the DHCP Server role.

Real World Migrating ICS Clients

ICS clients are already configured to obtain an IP address automatically, so in theory, they require no reconfiguration beyond a simple reboot if you want to migrate to DHCP. However, you might find that in practice, ICS clients stubbornly cling to their ICS addresses even after DHCP is deployed. To prevent such complications, you can first apply a manual (static) address to the client computers after the ICS connection is deleted; this procedure breaks the ICS connection. Then restart the client computers. After the clients restart, they will migrate cleanly to DHCP as soon as you reconfigure them to obtain an address automatically.


After the DHCP server is installed and configured, you can apply the new automatic configuration to the client as you would to any statically configured client—by selecting the Obtain An IP Address Automatically option and (optionally) the Obtain DNS Server Address Automatically option in the Internet Protocol (TCP/IP) Properties dialog box.

Verifying the Configuration

After you configure your DHCP server, and after you have authorized the server and activated the scope, you need to verify that the service is working on your client computers. Restart your DHCP client computers (or use Ipconfig /renew) and then enter the ipconfig /all command at the command prompt. With the /all switch, the Ipconfig command displays all of the parameters you have configured for the lease, including DHCP options.

Tip

You can assign users to the domain local security group DHCP Users if you want to allow them to read DHCP information without being able to manage or modify this data.

Other -----------------
- Windows Server 2008 R2 : Understanding the PowerShell Basics (part 7) - Profiles & Security
- Windows Server 2008 R2 : Understanding the PowerShell Basics (part 6) - Scopes & Providers and Drives
- Windows Server 2008 R2 : Understanding the PowerShell Basics (part 5) - PowerShell ISE, Variables & Aliases
- Windows Server 2008 R2 : Understanding the PowerShell Basics (part 4) - The Pipeline, Modules and Snap-Ins & Remoting
- Windows Server 2008 R2 : Understanding the PowerShell Basics (part 3) - .NET Framework Integration
- Windows Server 2008 R2 : Understanding the PowerShell Basics (part 2) - Command Types
- Windows Server 2008 R2 : Understanding the PowerShell Basics (part 1)
- Windows Server 2008 R2 : Using Windows PowerShell (part 5) - Using Remoting & Using the New-Object Cmdlet
- Windows Server 2008 R2 : Using Windows PowerShell (part 4) - Using Snap-Ins & Using Modules
- Windows Server 2008 R2 : Using Windows PowerShell (part 3) - Managing Processes
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server