14.5. Creating a Scope

Problem

You want to create a scope. A scope is group of settings that define how the DHCP Server is supposed to handle requests for a given network.

Solution

Using a graphical user interface

  1. Open the DHCP snap-in.

  2. In the left pane, right-click on DHCP and select Add Server.

  3. Type in the name of the DHCP Server you want to target and click OK.

  4. Right-click the server in the left pane and select New Scope.

  5. Click Next to begin the New Scope Wizard .

  6. Enter a name and description for the scope and click Next.

  7. Enter the beginning and end of the IP address range, the subnet mask, and bit length, and click Next.

  8. In the next screen, you can enter any IP addresses you want to exclude. Click Next after you are done or if you don't need to add any exclusions.

  9. Enter the lease duration and click Next.

  10. You will now be presented with a choice to configure scope options. If you want to configure them, select Yes or No and click Next.

  11. If you selected to configure scope options, you will be presented with a screen to set the default gateway IP address for the scope. Click Next after you are done.

  12. On the next screen, you configure the default domain name and DNS servers to be used by clients of the scope. Click Next after you are done.

  13. Next, you can enter one or more WINS Servers. Click Next after you are done.

  14. The last screen allows you to activate the scope or leave it inactive. Click Next.

  15. Click Finish.

Using a command-line interface

It takes several commands to create and configure a scope. ...

Get Windows Server Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.