Combining Dynamic & Static DHCP

Unanswered Question
Jul 19th, 2010

Hi guys,

I have a DHCP setup on my Cisco 877W that acts as a DHCP server.

I would like to add an option to statically assign IP addresses for a chosen number of hosts.

My current DHCP configuration is:

ip dhcp excluded-address 192.168.1.1 192.168.1.20
!
ip dhcp pool DHCP_POOL
   network 192.168.1.0 255.255.255.0
   default-router 192.168.1.1
   dns-server 192.168.1.1

The router's interface that is connected to the LAN is BVI1 with IP address of: 192.168.1.1/24.

I tried creating a second pool for static DHCP:

ip dhcp pool DHCP_STATIC

  host 192.168.1.2 255.255.255.0

  hardware-address ###MY MAC###

The MAC address was taken from the show arp table.

But could not get the static lease to be assinged to my computer (I did see it under show ip dhcp bindings).

I also tried using the client-identifier option (And took the client-id from the binding table) but once I renew the lease on my computer the client-identifier is deleted from the running-config.

I also tried removing the excluded list but it didn't help. Also I used clear ip dhcp binidngs * after every change I did but my computer kept getting the same 192.168.1.23 IP.

Basically what I want is the DHCP to assign address between 192.168.1.20-192.168.1.254 leaving the first 19 addresses for me to issue static DHCP leases.

I do not want to assign static IP addresses on each computer but have it managed from the router itself.

Thank you very much for the help!

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)

Actions

Login or Register to take actions

This Discussion

Posted July 19, 2010 at 12:24 AM
Stats:
Replies:0 Avg. Rating:
Views:1419 Votes:0
Shares:0

Related Content

Discussions Leaderboard

Rank Username Points
1 15,007
2 8,150
3 7,730
4 7,083
5 6,742
Rank Username Points
155
77
70
69
50