Project

General

Profile

Actions

Bug #10282

closed

DHCP Relay Listening On ALL Interfaces!

Added by Chris Knebb about 4 years ago. Updated about 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
DHCP Relay
Target version:
-
Start date:
02/23/2020
Due date:
% Done:

0%

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

Description

Hi,

I have configured DHCP Relay to listen on dedicated interfaces only (see pic).
The "GRUEN" interface is dedicated to a physical nic (192.168.1.254/24) and the other three are sharing a physical nic through VLAN configuration. VLAN configuration is fine and works like a charm.

So DHCP relay should NOT do anything on GRUEN interface because the dedicated DHCP server (192.168.1.10) is running in this LAN, too.

Unfortunately DHCP relay ignores the configuration on pfSense and reacts on queries on the GRUEN interface despite of its configuration. See the log entries from the (ICS) DHCP server:

Feb 22 08:29:05 praxis dhcpd8092: DHCPDISCOVER from 54:04:a6:a4:75:05 via eth0
Feb 22 08:29:05 praxis dhcpd8092: DHCPOFFER on 192.168.1.54 to 54:04:a6:a4:75:05 via eth0
Feb 22 08:29:05 praxis dhcpd8092: DHCPDISCOVER from 54:04:a6:a4:75:05 via 192.168.1.254
Feb 22 08:29:05 praxis dhcpd8092: DHCPOFFER on 192.168.1.54 to 54:04:a6:a4:75:05 via 192.168.1.254
Feb 22 08:29:05 praxis dhcpd8092: DHCPREQUEST for 192.168.1.54 (192.168.1.10) from 54:04:a6:a4:75:05 via eth0
Feb 22 08:29:05 praxis dhcpd8092: DHCPACK on 192.168.1.54 to 54:04:a6:a4:75:05 via eth0
Feb 22 08:29:05 praxis dhcpd8092: DHCPREQUEST for 192.168.1.54 (192.168.1.10) from 54:04:a6:a4:75:05 via 192.168.1.254
Feb 22 08:29:05 praxis dhcpd8092: DHCPACK on 192.168.1.54 to 54:04:a6:a4:75:05 via 192.168.1.254
Feb 22 08:29:08 praxis dhcpd8092: DHCPINFORM from 192.168.1.54 via eth0
Feb 22 08:29:08 praxis dhcpd8092: DHCPACK to 192.168.1.54 (54:04:a6:a4:75:05) via eth0
Feb 22 08:29:08 praxis dhcpd8092: DHCPINFORM from 192.168.1.54 via 192.168.1.254
Feb 22 08:29:08 praxis dhcpd8092: DHCPACK to 192.168.1.54 (54:04:a6:a4:75:05) via eth0

So you see the clients sends DHCPDISCOVER which is forwarded by the pfSense (192.168.1.254). Even though the DHCP server already has the original request. So in the end the cleint is re-requesting the IP addresse very frequently (configuread lease time is eight hours but the client rerequests the lease aproximaltey ever 4 mintues).

Especially some older devices can not deal whith thei and refuse to accept the lease.

So this is obviously a bug as the DHCP relay act on interfaces it should not to.


Files

dhcp.png (20.1 KB) dhcp.png DHCP Relay configured interfaces Chris Knebb, 02/23/2020 04:57 AM
Actions #1

Updated by Jim Pingle about 4 years ago

  • Status changed from New to Duplicate

Most likely a duplicate of #9466 -- re-test on 2.4.5.

Actions

Also available in: Atom PDF