Project

General

Profile

Actions

Bug #11149

open

DHCP relay won't start with DHCP server behind gateway

Added by Mark Lavrijsen about 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DHCP Relay
Target version:
-
Start date:
12/10/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.5.0
Affected Architecture:
All

Description

This is the case current 2.5.0 development snapshot as of today.

Configuration:
em0 --> LAN2 --> DHCP relay should listen here
em1 --> LAN1 --> has default gateway, DHCP server is on another subnet behind gateway
(note, it may have something to do with the "gateway" in on "old" LAN interface?)

The error thrown is: /services_dhcp_relay.php: No suitable upstream interfaces found for running dhcrelay!
As if it's unable to determine that it must use em1 as the upstream interface. But that interface is the only active interface with a gateway.

This from the command line does work as expected:
/usr/local/sbin/dhcrelay –i em0 –iu em1 <ip of dhcp server>.

The relay then works.

When adding a third interface directly in the same network of the DHCP server, the relay then starts without issues and works from the GUI.

Actions

Also available in: Atom PDF