Cisco DHCP Configuration

Lets start on DHCP. I want to create a network using the 10.0.89.XXX address space, with the first 50 addresses reserved for any static device, and the rest given out by the DHCP server. The router address is Of course, you may choose to use any network address space, as long as it's whithin the allowed IP ranges , as set by the relevant RFC documents.

Off we go, let's first enable the DHCP server on the router:

Router# conf t
Router(config)# service dhcp

Next, exclude the addresses you don't want to be handed out ( from ip – to ip range )

Router(config)# ip dhcp excluded-address

Now, define a new DHCP pool to use – note that LAN is just a name, you can name yours Bob if you want

Router(config)# ip dhcp pool LAN
Router(dhcp-config)# network

Then pass some optionsm like gateway ( or router ), primary & secondary DNS, domain and lease time ( in days ).

Router(dhcp-config)# default-router
Router(dhcp-config)# dns-server
Router(dhcp-config)# domain-name mydomain.local
Router(dhcp-config)# lease 7

It should be fairly obvious, but I'll say it anyway : and should be your ISP's DNS servers :P

And all's done with DHCP :) I started fooling around with wireless and DDNS, but until my ISP sends me some info with which to connect to the internet from home, I cannot check on much :( fingers crossed for next week!