Project

General

Profile

Actions

Bug #9669

closed

dhcrelay stops working after certain time

Added by Luki TJ over 4 years ago. Updated over 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
DHCP Relay
Target version:
-
Start date:
08/05/2019
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4-p3
Affected Architecture:
amd64

Description

dhcrelay service stops working after a few days runtime of the process.
I have one host connected to igb5.8 (opt1) which gets restarted pretty rare. If the dhcrelay service is up for more then about 48hours, dhcp discover messages get relayed to the dhcp server, the dhcp Server sends dhcp offers back, but theses offers never arrive at the client. The client keeps sending dhcp discover messages. If I do a simple restart of the dhcrelay service, the offers gets immediately to the client and the address assignment process finishes by a dhcp request- and acknowledge message. See attached log file from dhcp server.
I did another restart of the Server on 3rd August, about 24 hours after dhcrelay was started and everything worked finde. Today I had to restart the Service again.

my config:


        <dhcrelay>
                <enable></enable>
                <interface>opt1</interface>
                <server>172.16.xx.3,172.16.xx.4</server>
        </dhcrelay>

proccess output:

/usr/local/sbin/dhcrelay -i igb5.8 -i igb0 172.16.xx.3 172.16.xx.4

pfsense dhcp log:

Aug 5 12:37:35     dhcrelay         Sending on Socket/fallback
Aug 5 12:37:35     dhcrelay         Sending on BPF/igb5.8/0c:c4:<mac-igb5.8>
Aug 5 12:37:35     dhcrelay         Listening on BPF/igb5.8/0c:c4:<mac-igb5.8>
Aug 5 12:37:35     dhcrelay         Sending on BPF/igb0/0c:c4:<mac-igb0>
Aug 5 12:37:35     dhcrelay         Listening on BPF/igb0/0c:c4:<mac-igb0>
Aug 5 12:37:35     dhcrelay         For info, please visit https://www.isc.org/software/dhcp/
Aug 5 12:37:35     dhcrelay         All rights reserved.
Aug 5 12:37:35     dhcrelay         Copyright 2004-2018 Internet Systems Consortium.
Aug 5 12:37:35     dhcrelay         Internet Systems Consortium DHCP Relay Agent 4.3.6-P1
Aug 2 13:34:01     dhcrelay         Sending on Socket/fallback
Aug 2 13:34:01     dhcrelay         Sending on BPF/igb5.8/0c:c4:<mac-igb5.8>
Aug 2 13:34:01     dhcrelay         Listening on BPF/igb5.8/0c:c4:<mac-igb5.8>
Aug 2 13:34:01     dhcrelay         Sending on BPF/igb0/0c:c4:<mac-igb0>
Aug 2 13:34:01     dhcrelay         Listening on BPF/igb0/0c:c4:<mac-igb0>
Aug 2 13:34:01     dhcrelay         For info, please visit https://www.isc.org/software/dhcp/
Aug 2 13:34:01     dhcrelay         All rights reserved.
Aug 2 13:34:01     dhcrelay         Copyright 2004-2018 Internet Systems Consortium.
Aug 2 13:34:01     dhcrelay         Internet Systems Consortium DHCP Relay Agent 4.3.6-P1

Files

dhcpd.log (14.2 KB) dhcpd.log dhcpd log Luki TJ, 08/05/2019 06:05 AM
Actions

Also available in: Atom PDF