How to manage multiple subnets from one DHCP,TFTP,DNS smart proxy?

I would like a single foreman instance to act as foreman, puppet master,
dhcp, dns, tftp for the three subnets connected to the three NICs on the
foreman server machine.

I ran the interactive installer to successfully configure foreman, puppet,
and the smart proxy for dhcp, dns, tftp for the first of the three subnets.

But, I do not see any syntax in the installer configuration to specify the
other two subnets.
After the install, I used the web interface to add two more subnets and two
more domains and associated the subnets with the foreman host.
However, the ISC DHCP configuration in "/etc/dhcp/dhcpd.conf" never gets
updated to include the other two DHCP subnets or DNS domains.
I do not want to edit the "/etc/dhcp/dhcpd.conf" directly.

By what mechanism (gui, installer, hammer, rest api, …) is it recommended
to add the other two domains in such a way that puppet will update the
supporting ISC configuration files to add the other two subnets?
I have machines in all three subnets which need to be provisioned via PXE
boot.

Thanks.

I've got a similar setup and after the initial setup I hand edited the
dhcp and dns config files. If you configure dns correctly than
provisioning to all subnets should work.

Problem I ran into is one of default gateways on the foreman server.
Servers on the two (172.16.0.x and 172.17.0.x) have problems with the ip
of foreman on 172.18.0.1. Pinging any address from 172.16|17.0.X to
172.18.0.X is OK aslong as it isn't .1 :frowning:
Foreman isn't the gateway in this system that is a firewall at
x.x.x.254. In a different setup I have Foreman as a gateway and that
works without problems.

Any help on the above is appreciated,

Joop

··· On 29-7-2014 14:04, Arnold Itterate wrote: > > I would like a single foreman instance to act as foreman, puppet > master, dhcp, dns, tftp for the three subnets connected to the three > NICs on the foreman server machine. > > I ran the interactive installer to successfully configure foreman, > puppet, and the smart proxy for dhcp, dns, tftp for the first of the > three subnets. > > But, I do not see any syntax in the installer configuration to specify > the other two subnets. > After the install, I used the web interface to add two more subnets > and two more domains and associated the subnets with the foreman host. > However, the ISC DHCP configuration in "/etc/dhcp/dhcpd.conf" never > gets updated to include the other two DHCP subnets or DNS domains. > I do not want to edit the "/etc/dhcp/dhcpd.conf" directly. > > By what mechanism (gui, installer, hammer, rest api, ...) is it > recommended to add the other two domains in such a way that puppet > will update the supporting ISC configuration files to add the other > two subnets? > I have machines in all three subnets which need to be provisioned via > PXE boot. >