Networking / Beginners

Installing and Configuring a DHCP Server

In this section, you install and configure a new DHCP server. Because the twocomputer configuration currently uses ICS, which uses its own version of DHCP, you must first delete the shared dial-up connection and restart both computers before proceeding with the DHCP server installation. This precaution prevents the two services from conflicting with one another.

Important This practice assumes that you have deployed ICS through a dial-up connection. If instead you are using another type of Internet connection, you will need to make whatever adjustments are required to deploy a DHCP server on your test network.

Deleting the ICS-Enabled Connection

ICS provides its own addressing service that conflicts with the addressing service provided by a DHCP server. In this section, you delete ICS to prepare for the installation of a DHCP server.

  1. From Computer1, log on to Domain1 as Administrator.
  2. Open the Network Connections window and disconnect the MyISP connection if it is not already disconnected.
  3. Right-click MyISP, and then select Delete.
    The Confirm Connection Delete message box opens, asking you to confirm the deletion.
  4. Click Yes.
  5. Restart Computer1.
  6. Switch to Computer2 and log on to Domain1 as Administrator.
  7. Open a command prompt and type the following command:
    netsh interface ip set address local static 192.168.0.2 255.255.255.0.
    This command sets the Local Area Connection to a static address of 192.168.0.2/24.
  8. After the command has executed, type the following command:
    netsh interface ip set dns local static 192.168.0.1.
    This command sets the preferred DNS server of the Local Area Connection to the address 192.168.0.1.
    The static address and preferred DNS server configuration is used temporarily until the new DHCP server is configured. This step is recommended only because you are switching from one dynamic addressing service (ICS) to another.
  9. After the command has executed, restart Computer2.
[Previous] [Contents] [Next]