cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1056
Views
0
Helpful
1
Replies

IP DHCP Database Errors when logging to a Remote Server

gerald_phan
Level 1
Level 1

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?

1 Reply 1

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

Review Cisco Networking for a $25 gift card