The nodes in my network are all configured with static IPs. The dhcp
(with fixed ip addresses) is only used for PXE boots.
In this case I can't see a reason to use cobbler for DHCP management -- the whole purpose of which is to do DHCP reservations (and to enable DNS assignment by knowing MAC->IP mappings). Just configure dhcp to provide a dynamic range.
We don't want to use dynamic ranges, because that requires the use of a separate network only for deployment. This separate network also needs to be provisioned on the switches and routers. We are happy with the current situation where we can configure a DHCP with static addresses that will also be configured static on the nodes.
Also for the objects you want to specify which networks will be
configured in the dhpcd.conf. That requires also a dhcp_enable flag.
No, it won't. This will be handled in the templates, basically like $NETWORK('foo')
I was more thinking in the same way of blending as with distro/profile/system. But with network/interface. In the interface you can specify the network (just like a profile in the system record) from which you want to inherit the settings (like subnet, gateway and static routes) from. But you can also override settings (like the IP address)
And in the dhcp.template I expected something like:
#for net in $networks #if $net.dhcp_enabled subnet $net.address netmask $net.subnet { #if $net.gateway option routers $net.gateway #end if #if $net.pool_start option range dynamic-bootp $net.pool_start $net.pool_end #end if} #end if #end for
A related question for this is, who is responsible for the dynamic allocation of the ip in the following command?
cobbler system edit --name=foo --interface=eth0 --network=oam -ip_address=auto
Will cobbler assign the IP address or will it be done by dhcpd pools? With cobbler doing it allows duplicate IP checks.
For the IP address assignment I expected the following three options: - fixed - auto - dynamic (dhcp pool)
Regards, Peter
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.