Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

MAC Reserver in DHCP in Cisco Routers

Hi,

I want to reserve IP address assignment Based on MAC in DHCP configuration in Cisco Router. I am unable to do it, please help.

5 REPLIES
Silver

Re: MAC Reserver in DHCP in Cisco Routers

Re: MAC Reserver in DHCP in Cisco Routers

router(config)#ip dhcp pool room12

router(dhcp-config)#network 172.16.1.0 255.255.255.0

router(dhcp-config)#exit

router(config-if)#ip dhcp excluded-address 172.16.1.1 172.16.1.10

or based on static mapping from MAC

ip dhcp pool room12

host 1.1.1.1

hardware-address aaaa.aaaa.aaaa

The ip dhcp excluded-address command configures the router to exclude 172.16.1.1 through 172.16.1.10 when assigning addresses to clients. The ip dhcp excluded-address command may be used to reserve addresses that are statically assigned to key hosts.

please rate

New Member

Re: MAC Reserver in DHCP in Cisco Routers

You are not getting my question. I have configurd Pool, exclusiona and other setting.

My requirement is for MAC-00.0E.0A should get a fix IP address from Pool. I mean I am looking for IP address reservation based on MAC.

Silver

Re: MAC Reserver in DHCP in Cisco Routers

3. ip dhcp pool pool-name

4. host address [mask | /prefix-length]

5. client-identifier unique-identifier

6. hardware-address hardware-address type

7. client-name name

Its in the url I posted...best have a look..

HTH

LR

Re: MAC Reserver in DHCP in Cisco Routers

sorry i was typing the second part of the config based on static mapping from MAC when you replied.

give it a go and let us know the outcome.

3533
Views
0
Helpful
5
Replies