DHCP server working when interface is down when vyos is started in rolling 1.5

When the lan cable is disconnected while vyos is starting, and later cable is connected the DHCP server is not working. After manually restarting dhcp server it start working.

This is from the log:
Aug 05 10:08:41 kea-dhcp4[2962]: 2024-08-05 10:08:41.271 WARN [kea-dhcp4.dhcpsrv/2962.140297578455552] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth1 is not running
Aug 05 10:08:46 kea-dhcp4[2962]: 2024-08-05 10:08:46.278 WARN [kea-dhcp4.dhcpsrv/2962.140297578455552] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth1 is not running
Aug 05 10:08:51 kea-dhcp4[2962]: 2024-08-05 10:08:51.291 WARN [kea-dhcp4.dhcpsrv/2962.140297578455552] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth1 is not running
Aug 05 10:08:56 kea-dhcp4[2962]: 2024-08-05 10:08:56.298 WARN [kea-dhcp4.dhcpsrv/2962.140297578455552] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth1 is not running
Aug 05 10:08:56 kea-dhcp4[2962]: 2024-08-05 10:08:56.298 INFO [kea-dhcp4.dhcp4/2962.140297578455552] DHCP4_OPEN_SOCKETS_FAILED maximum number of open service sockets attempts: 5, has been exhausted without success

It seems related to this issue with Kea server:

Any workarounds?

Lex

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.