Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Setting static leases through DHCP (1841)

Interested in how to set up static leases through my DHCP pool on a Cisco 1841.

The DHCP pool is currently set as 14.18.16.0, sharing 14.18.16.20-120 with the submask of 255.255.255.0.

I'd like to have x clients with specific IPs (based on their MAC?), the leases should never expire.

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Setting static leases through DHCP (1841)

You need to capture user MAC address to configure STATIC DHCP Mapping. IMO this is provided for users who want to get the same IP Address but too lazy to hardcode (manually configure in their PC interface) it in their PC :)

Here is the link how to do it http://www.cisco.com/en/US/docs/ios/12_3t/12_3t11/feature/guide/gtdhcpsm.html

Watch out when user change PC, some users (though with NO disability) expect the IP Address to follow them when they change PC :)

3 REPLIES

Re: Setting static leases through DHCP (1841)

Davies ,

Better way u can excluded this ip addresses from DHCP pool ,

ip dhcp excluded-address 14.18.16.20 14.18.16.120 and assign statically towards client .

New Member

Re: Setting static leases through DHCP (1841)

Thanks for the reply sanvaishu.

Out of curiousity, why would this be a better choice over letting the router set the leases? I'm thinking purely of clients automatically getting the info from the DHCP.

Re: Setting static leases through DHCP (1841)

You need to capture user MAC address to configure STATIC DHCP Mapping. IMO this is provided for users who want to get the same IP Address but too lazy to hardcode (manually configure in their PC interface) it in their PC :)

Here is the link how to do it http://www.cisco.com/en/US/docs/ios/12_3t/12_3t11/feature/guide/gtdhcpsm.html

Watch out when user change PC, some users (though with NO disability) expect the IP Address to follow them when they change PC :)

1146
Views
3
Helpful
3
Replies
CreatePlease to create content