- Newbie: Cisco 800-series - DHCP reservation?
- Posted by Jim Willsher on May 4th, 2006
Hi all,
I've a newbie to Cisco, but somehow I've got my 837 ADSL router
working - mostly!
Can anyone help me to setup a DHCP reserveration for a client PC? My
837 is the DHCP server, but I want to force a specific MAC address to
always be assigned a specific IP address.
Many thanks!
Jim
- Posted by Hans on May 4th, 2006
Jim Willsher <nospam@nospam.com> wrote:
!
ip dhcp pool DHCP-LAN
network x.x.x.16 255.255.255.240
dns-server 193.67.79.39 193.79.237.39
default-router x.x.x.17
!
ip dhcp pool DHCP-WIFI
host x.x.x.x.23 255.255.255.240
client-identifier 0100.13ce.c307.92
default-router x.x.x.17
dns-server 193.67.79.39 193.79.237.39
That's how it works for me. Make sure to add the 0100. in front of the mac-address, I think this is written down on
several Cisco pages as well but it took some time for me to find it out 
Hans
- Posted by Jim Willsher on May 4th, 2006
On 04 May 2006 15:05:31 GMT, Hans <fcufans-nospam@xs4all.nl> wrote:
Many thanks Hans, much aappreciated. I see where the 0100 comes from -
it's 01 plus the MAC address.
I tried what you suggested, but I got a bit lost! My current DHCP pool
is 192.168.1.201 to 192.168.1.250, though in reality it doesn't need
to be that big (20 addresses would be fine). Looking at your example I
need to create TWO pools. Are you able to advise me on what the
network and host settings could be? I tried entering
192.168.1.200 255.255.255.255
for host, but it said it was invalid.
Many thanks!
Jim
- Posted by Jim Willsher on May 4th, 2006
On Thu, 04 May 2006 17:07:29 +0100, Jim Willsher <nospam@nospam.com>
wrote:
No worries, sorted it. My file is now:
ip subnet-zero
ip dhcp binding cleanup interval 10
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.1 192.168.1.200
ip dhcp excluded-address 192.168.1.251 192.168.1.254
ip dhcp excluded-address 192.168.1.150
!
ip dhcp pool CLIENT
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server XXX.104.130.XX XXX.104.130.XX
lease 0 12
!
ip dhcp pool JIMDESKTOP
host 192.168.1.200 255.255.255.0
client-identifier 0100.e018.XXXX.XX
dns-server XXX.104.130.XX XXX.104.130.XX
default-router 192.168.1.1
lease 0 12
Cheers,
Jim