Setting DNS and routers for DHCP in warewulf.conf file

Skip to first unread message

Rick Bernard

Apr 6, 2023, 11:33:05 AMApr 6

Is it possible to set DNS and Router IP's in the DHCP section of the
warewulf.conf file?  My goal is to have compute nodes reach the rest of
a campus network, through the head node of a cluster, and be able to
resolve names.  This is all to allow licensed software, such as
Mathematica, to talk to our campus license server when ran on an
internal node.

If I were to manually setup my DHCP server outside of Warewulf, I would
put in options for the subnet in dhcp.conf such as:

    option broadcast-address;
    option routers;
    option domain-name-servers,;

Is there an equivalent that could be set in the warewulf.conf file so
that Warewulf can generate the Overlay for dhcp and subsequently, the
dhcp.conf file on the head node?

Is this perhaps configured somewhere else such as using 'wwctl node' set
of commands to configure node profiles?

Currently, my nodes do have the correct name servers set in their
/etc/resolv.conf but are unable to route through the head node to the
rest of the campus network.  Pinging the DNS IP's from an internal node
gets no response.

Thank you for any help with this.

Rick Bernard, Assistant Manager, Computing Operations, Research.
University of Delaware
Department of Physics & Astronomy
UD Phone: 302-831-8117

Reply all
Reply to author
0 new messages