Project

General

Profile

Actions

Feature #9266

open

Manage DHCP server configured subnets

Added by Nux Ro over 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DHCP
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello,

Where we want to use Foreman each server gets its own VLAN and subnet and we do DHCP relay on the switch port to foreman-proxy.
The problem we encounter is that subnets we add (so new hosts can use them) do not appear in the dhcpd.conf. If I create entries for these subnets manually then it all seems to work smoothly.

I know Dominic is trying to work on a fix1, but either I did not apply it correctly, or it doesn't work, in the end dhcpd.conf was still untouched.
It would be fairly simple to create a bash script and dump foreman.subnets into dhcpd.conf, but it would be quite ugly.

Suggestions?

I'm on CentOS 7 and Foreman 1.7.2 installed via foreman-installer.

[1] https://github.com/theforeman/puppet-dhcp/pull/31


Related issues 3 (2 open1 closed)

Related to Installer - Feature #4994: create a subnet in foreman once a dhcp server is configuredNew04/01/2014Actions
Related to Foreman - Feature #23180: Add info box on New Subnet page about config changeNewIdo Kanner04/09/2018Actions
Has duplicate Foreman - Feature #11151: have Foreman web ui edit dhcpd.conf automatically when adding a subnetDuplicate07/19/2015Actions
Actions

Also available in: Atom PDF