In order for you to become a good networking administrator and be able to efficiently manage a network you will need to have a solid foundation on how DHCP works. DHCP is also an important topic that will show up on the CCENT Exam and on the CCNA Exam.
There are a few things that you will need to know about DHCP in order to be able to use it to your advantage. You will need to know how to configure a computer to receive an ip address automatically, you will need to need to know how to configure cisco routers and switches to receive an ip address automatically, and you will also need to know how to configure a cisco router to act as a DHCP server. I will cover these steps in this article.
To configure your computer to use DHCP is actually pretty straight forward. In Windows XP right-click on your network interface and select properties. Then select tcp / ip inside of the window that pops up. Then select properties. Then check the box that says obtain an ip address automatically.
In some instances you may want your interface on a Cisco router to receive an ip address automatically. Such as a WAN interface connected to a dsl modem. To do this use the 'ip address dhcp' command when configuring the interface.
To configure a cisco router to have as a DHCP server use the following commands:
router (config) # ip dhcp pool pool-name
router (dhcp-config) # network 192.168.1.0 255.255.255.0
router (dhcp-config) # default-router 192.168.1.1
router (dhcp-config) # dns-server 126.96.36.199 188.8.131.52
router (dhcp-config) # domain-name domain.net
router (dhcp-config) # lease infinite
router (config) # ip dhcp excluded-address 192.168.1.1 192.168.1.10
router # config t
router (config) #service dhcp