# ****************************************************************** # Cobbler managed dhcpd.conf file # # generated from cobbler dhcp.conf template ($date) # # ****************************************************************** ######################################## # when you change this, you need to run # cobbler sync # /etc/init.d/dhcpd restart # - rasputnik, July 2008 ######################################## ddns-update-style interim; allow booting; allow bootp; #if $omapi_enabled omapi-port $omapi_port; #end if ignore client-updates; set vendorclass = option vendor-class-identifier; subnet 192.168.21.0 netmask 255.255.255.0 { # stolen from vmwares dhcpd.conf option routers 192.168.21.2; option subnet-mask 255.255.255.0; option domain-name-servers 192.168.21.2; # set this to the whole of the subnet if you like range dynamic-bootp 192.168.21.200 192.168.21.240; # hoodoo. makes default host-name == "node.pixie" option host-name=concat("node",substring(binary-to-ascii(10,8,".",leased-address),11,3)); option domain-name "pixie"; # the rest is stock filename "/pxelinux.0"; default-lease-time 21600; max-lease-time 43200; next-server $next_server; } # cobbler will put static entries here $insert_cobbler_system_definitions