cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3872
Views
0
Helpful
5
Replies

MAC Reserver in DHCP in Cisco Routers

Rupesh Kashyap
Level 1
Level 1

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 5

francisco_1
Level 7
Level 7

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

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.

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card