Cisco Router Static DHCP Bindings

Cisco Router Static DHCP Bindings

When using a Cisco router to serve DHCP Requests, it’s not immediately obvious how-to create reservations for a DHCP Pool. If the device has already picked up an IP Address via DHCP you will need to first remove the DHCP Binding by running the follow command:

clear ip dhcp binding 192.168.0.x (IP Address of the device)

This is the configuration which I have used on a Cisco 1841 Router:

ip dhcp pool name-pool
import all
network 192.168.0.0 255.255.255.0
default-router 192.168.0.254
dns-server 192.168.0.1 192.168.0.2
lease 0 2
!
ip dhcp pool name-pool-static
host 192.168.0.253 255.255.255.0
client-identifier 0100.xxxx.xxxx.xx (MAC Address of the device)

To verify this, use the follow command from exec mode:

Router# show ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Hardware address/ User name   Lease expiration    Type
192.168.113.249 0100.xxxx.xxxx.xx                   Infinite            Manual

Комментарии

Популярные сообщения из этого блога

Настройка TIME ZONE для Asterisk.

Макросы объединения ячеек в EXEL.