francisco_1 Tue, 07/22/2008 - 03:08
User Badges:
  • Gold, 750 points or more

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
User Badges:

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
User Badges:
  • Silver, 250 points or more

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
User Badges:
  • Gold, 750 points or more

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