IP DHCP Database Errors when logging to a Remote Server

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2017 01:10 PM - edited 03-05-2019 09:12 AM
All,
Per company policy, we are required to log all DHCP request/leases into a database for specific VLANs. Our core switch [Cisco 3850] has been configured as the DHCP server for those specific VLANs. I’ve configured a Synology to act as an TFTP server for the log files and added the configuration to our switch.
The issues we are running into is logging to the database. I’ve created all the appropriate folders in our Synology for database log files, but I keep getting the following: %DHCPD-3-WRITE_ERROR: DHCP could not write bindings to tftp://10.0.0.4/network_syslog/CISCO_DHCP_LOG.
From the switch:
MDF-CORE.254#sh ip dhcp database
URL : tftp://10.0.0.4/network_syslog/CISCO_DHCP_LOG
Read : Never
Written : Never
Status : Last write failed because of a protocol error.
Delay : 60 seconds
Timeout : 60 seconds
Failures : 75
Successes: 0
Researching online, I found that I’ve needed to add the following command: ip tftp source-interface.
However, since the switch itself is issuing the DHCP, I needed to add the management VLAN ID of the switch.
MDF-CORE.254(config)#ip tftp source-interface vlan 1
In doing so, nothing has changed and I’m still getting the same errors.
Has anyone experienced the same issue? Have you found a solution to the problem?
- Labels:
-
Other Routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2017 04:08 PM
Hi,
As per the error message, sounds like some permission problem.
You can try store on nvram as well.
ip dhcp database nvram:dhcp-binding
