>> http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp...
> А не подскажите ли вы в чем разница между командами Router(config)# ip
> dhcp database от Router(dhcp-config)# origin file? Потому что в некоторых источниках
> настраивают именно так. Хотя у меня не получалось ни origin ни
> database использовать В официальных доках все разжевано, только надо внимательно читать:
origin file - делается руками, загружается 1 раз при загрузке сервиса DHCP (The static mapping text files are read when a router reloads or the DHCP service restarts. These files are read-only.)
dhcp database - генерит сам роутер и обновляет его в процессе работы.
(Perform this task to configure a DHCP database agent. A DHCP database agent is any host (for example, an FTP, TFTP, or rcp server) or storage media on the DHCP server (for example, disk0) that stores the DHCP bindings database. You can configure multiple DHCP database agents, and you can configure the interval between database updates and transfers for each agent.
Automatic bindings are IP addresses that have been automatically mapped to the MAC addresses of hosts that are found in the DHCP database. Automatic binding information (such as lease expiration date and time, interface index, and VPN routing and forwarding [VRF] name) is stored on a database agent. The bindings are saved as text records for easy maintenance.
An address conflict occurs when two hosts use the same IP address. During address assignment, DHCP checks for conflicts using ping and gratuitous Address Resolution Protocol (ARP). If a conflict is detected, the address is removed from the pool. The address will not be assigned until the administrator resolves the conflict.)