14th Jul, 2008

6. Installing DHCP

NOTE:

1. Before you perform these labs, Make sure that you have installed VPC in your PC.

2. Make sure that you already have concept of DNS and Active Directory. i.e. you have installed AD and DNS in your server.

3. Make sure that you have an extra Windows 2003 server installed named as Windows Server 2003 B with two ethernet cards installed into it in order to perform these labs.

Installing DHCP

 

Exercise 1 – Installing DHCP

 

  1. At Windows Server 2003 B: Login as an administrator.
  2. Insert your product CD.
  3. Open Control Panel, choose Add/Remove Programs and select Add/Remove Windows Components.
  4. Locate networking services and click <details>
  5. Click the ‘Dynamic …(DHCP)’ and click <OK> and then <next>
  6. Files copy. If you are prompted, specify an appropriate source file location.
  7. When prompted, click <finish>

 

Exercise 2 – Creating a Scope and Assigning Options

 

  1. At Windows Server 2003 B: Open the DHCP tool from Administrative tools.
  2. Right click your server and choose new scope.
  3. A wizard starts. Click <next>
  4. Enter a name and description for your scope to allow you to identify it later.
  5.  Click <next> to continue.
  6. Enter the following start and end addresses : 10.2.0.10 through to 10.2.0.254
  7. In the length box, type 24, and notice how the subnet mask updates.
  8. Click <next>
  9. There are no exclusions to enter, so click <next>
  10. Enter a lese duration of 3 days and click <next>
  11. Choose ‘yes’ and click <next>
  12. Enter the gateway address for your subnet (10.2.0.1) and click <add> And then <next>
  13. Type ‘dewendra.com.np’ in the parent domain box, and click <next>
  14. Don’t enter any WINS information. Click <next>
  15. Say <yes> to scope activation and click <next>
  16. Click <finish>

 

Exercise 3 – Creating a Reservation

 

  1. At Windows Server 2003 B: Expand your server, and expand your scope.
  2. Locate the ‘reservations’ folder, and right click it and choose new reservation.
  3. Enter your Windows Server 2003 computer name in the reservation name box.
  4. Enter an IP address from the scope (e.g. 10.2.0.11) and enter your Windows Server 2003 server’s 12 digit MAC address (with no hyphens). If you don’t know this, ping your Windows Server 2003  server interface (by IP address) now and view your arp cache (arp -g).
  5. Enter the description of ‘my server reserved address.
  6. Click <add>
  7. Click <close>
  8. Locate the address leases folder and observe the reservations.
  9. Close all open dialogs

 

Exercise 4 – Testing DHCP

 

  1. At Windows Server 2003: Open the TCP/IP property sheet for the Local Area Connection network interface, and configure it to obtain an IP address automatically.
  2. Open a command prompt and verify the address you have obtained.
  3. At Windows Server 2003 B: From the DHCP tool, locate the address leases folder and observe the reservations.
  4. If the Windows Server 2003  serve doesn’t obtain the leased address at first, release the address, then renew the address.

 

Exercise 5 – Adding the DHCP Relay Agent

 

  1. At Windows Server 2003 B: Open Admin Tools/Services and stop the DHCP server service on your computer. Ensure startup is set to disabled.
  2. Open the Routing and Remote Access tool.
  3. Right click the server in the hierarchy and choose Configure and enable.
  4. Click <next>
  5. Choose custom and click <next>
  6. Choose LAN routing and click <next>
  7. Click <finish>
  8. Click <yes>
  9. Click in the general folder in IP routing and then right click the folder choosing new routing protocol.
  10. Choose DHCP Relay agent and click <OK>
  11. Right click the agent and choose properties.
  12. Enter IP address 10.0.0.1 and click <add> and <OK>
  13. Right click the DHCP Relay Agent and choose new interface.
  14. Choose public and click <OK>
  15. Click <OK> again.
  16. We cannot test the DHCP relay function.

Leave a response

Your response:

Categories