Lab 2.8.1 Easy IP -- Easy IP/ DHCP

Objective:

Demonstrate how easy IP can be used to provide dynamic IP addressing

Background:

You administer a small network for your company. You need a quick and easy DHCP server to give the computers on your network IP addresses. You are running a peer-to-peer network and do not have the funds for a new server. You do however have access to the network router. Your job is to make a DHCP server for your network.

Equipment Requirements:

  • One Router (needs to be running a T version of IOS for example 12.0(5)T)
  • One Switch
  • One workstation

Step 1

  • Decide on the address pool that you will be using in the lab.

Address Pool:

Step 2

Configure e0 with the first usable address in the pool Address of e0:

Step 3

  • Configure the dhcp pool on the router
  • router(config)#ip dhcp pool WORD
  • router(dhcp-config)#network A.B.C.D/nn
  • router(dhcp-config)#default-router A.B.C.D

Default router address:

Step 4

  • Connect the workstation and the router to the switch
  • Set the workstation to automatically obtain an IP address
  • Depending on your OS verify that the workstation received an IP address.

For example with Windows 95 it is winipcfg and for Windows NT its ipconfig.

Release and renew the IP address. Is the address from the pool defined in step 3?

What is the default Gateway?

Does the default Gateway match the default router address from step 3?

Step 5

Your network administrator has decided he needs five servers to have static addresses and those addresses have to come from the pool.

  • Configure the router so it will not give out the first five usable addresses in your network
  • router(config)#ip dhcp excluded-address A.B.C.D (low address) A.B.C.D (high address)
  • Release renew your clients IP address

What is the address now?

Did it get a new address?