Question : Problem: Cisco Router - Static DHCP Mappings with an Origin File

Hi,
Im testing the DHCP static mappings using an origin file instead of a pool per static IP. The pertinent parts of my config concerning DHCP is printed below along with my origin file:

Config:

!
ip dhcp pool 802.11g_WPA
 network 192.168.1.0 255.255.255.248
 dns-server 64.59.114.18 64.59.114.19
 default-router 192.168.1.6
 lease 0 5
 exit
!
ip dhcp pool 802.11g_WPA2
 network 192.168.2.0 255.255.255.248
 dns-server 64.59.114.18 64.59.114.19
 default-router 192.168.2.6
 lease 0 5
 exit
!
ip dhcp pool Static_Mappings
 origin file tftp://192.168.2.6/80211g_WPA2.txt
 exit
!

Origin File:

Dec 29 2008 08:30 PM
1
!IP Address -- Type -- MAC Address -- Lease expiration
192.168.1.3 /29 id 0100.1d72.503b.ca infinite
192.168.2.3 /29 id 0100.c09f.f958.ac infinite

Its not working. Can anyone point me in the right direction? Also I want the Origin file to reside in flash not on a tftp server. Ive read this Cisco document:
 http://www.cisco.com/en/US/docs/ios/12_3t/12_3t11/feature/guide/gtdhcpsm.html#wp1053415
Thanks.

Answer : Problem: Cisco Router - Static DHCP Mappings with an Origin File

Seems it won't work unless the origin file is in the root. Also in order to get it to work one must restart the DHCP service.
Random Solutions  
 
programming4us programming4us