MAC Reserver in DHCP in Cisco Routers

Unanswered Question
Jul 22nd, 2008

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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
francisco_1 Tue, 07/22/2008 - 03:08

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

Rupesh Kashyap Tue, 07/22/2008 - 03:13

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.

lee.reade Tue, 07/22/2008 - 03:18

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

francisco_1 Tue, 07/22/2008 - 03:52

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.

Actions

This Discussion