Project

General

Profile

Actions

Feature #9169

closed

Option for DHCP proxy to not override next-server

Added by Tim Rudolph almost 10 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
DHCP
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

The scenario is a DHCP server & TFTP server that is multihomed and listens on multiple networks for DHCP requests. For a build outside of Foreman, requests coming in on interface result in the server being built connecting to the TFTP server on that interface. For example, a request coming received on 10.0.10.50 (eth0), the TFTP server returned is 10.0.10.50. If the request comes in on 10.0.20.100 (eth1), the TFTP server used is 10.0.20.100.

Foreman and the smart-proxy are setting a "supersede next-server" option in DHCP that overrides this behavior and points all builds to 10.0.10.50. The relevant code is in : app/models/concerns/orchestration/dhcp.rb. The boot_server method uses the tftp_bootserver value in settings.yml or does a host lookup of the proxy server's hostname. The ability to have a third option, no "supersede next-server", would be helpful.

Another scenario where this would be an issue is if the next-server option was explicitly set in the dhcpd config for a subnet block.


Related issues 1 (1 open0 closed)

Related to Foreman - Bug #12619: multiple interfaces on on tftp smarthostNew11/26/2015Actions
Actions

Also available in: Atom PDF