Dhcpd Example

From GoFacts

(Redirected from Dhcpdexample)
Jump to: navigation, search
  • /etc/dhcpd.conf example

This example shows save use of DHCP-server,unknown clients will be ignored, only explicitly defined hosts with known MAC-address will get an IP address and the bootfile placed in the tftpboot directory. There is no way to pass any other boot arguments through DHCP to OpenFirmware except the filename. On SUSE you can use mkzimage_cmdline tool to hardcode boot arguments in the boot kernel.

  • Note: if you are using dhcp, do not set installation server address in IPL settings in SMS. Do a broadcast bootp request instead!
option domain-name "www.domain.net";
option domain-name-servers 192.168.1.10;
option routers 192.168.1.254;
option ntp-servers 192.168.1.11;
ddns-update-style none;
ignore unknown-clients;
not authoritative;
log-facility local7;
allow bootp;
allow booting;
 subnet 192.168.1.0 netmask 255.255.255.0 {
 range 192.168.1.110 192.168.1.120;
}
host lpar1.domain.net {
  hardware ethernet 2E:D7:90:00:60:B4;
  filename "/tftpboot/install";
  # for redhat tftp: filename install
  fixed-address 192.168.1.111;
  next-server 192.168.1.1;
}
Personal tools