The final step in moving off services from my server was to transfer the DHCP service.  In the past I had a DHCP server running on Windows 2008R2, however as I am now going to be using this server primarily for labs I needed to separate this function so our various devices and computers would continue to have DHCP available to them.

I figured the best option for the time would be to just setup DHCP on the Cisco 2611 router.  The setup is fairly simple to use, and can be setup as such:

conf t
service dhcp
ip dhcp pool 192.168.1.0/24
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 208.67.222.222 208.67.220.220
exit
ip dhcp excluded-address 192.168.1.1 192.168.1.30
^z

This setup gives a basic DHCP configuration for the 192.168.1.0/24 network with a default gateway set to 192.168.1.1, with an IP exclude range from 192.168.1.1 to 192.168.1.30.  This allows clients to obtain IPs from 192.168.1.31 192.168.1.255.  I will move this feature back to a server at a later date, until then, my trusty Cisco router will help me out with one more task.  You can view the connected clients by using the command sh ip dhcp binding.

The server I have been moving functions off in the mean time has now been shut down to ensure I did not forget anything.  Later today I will install VMWare on the server and start my various labs.

One Response to “DHCP on Cisco Router”

  1. Jaye Roberts says:

    This was very helpful!

Leave a Reply to Jaye Roberts Cancel reply

Your email address will not be published. Required fields are marked *

5 × 1 =