Re: dhcpd.conf for kickstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The problem you're running into with the second file is that your dynamic range overlaps your static host entries. Dynamic is used as a fallback when your host doesn't match any of the static rules. If you shrink the dynamic range, your statically defined hosts should start getting static IPs and PXE booting.

--
Chandler Wilkerson
Research Computing
Rice University

On Aug 14, 2008, at 3:27 PM, Phillip Groven wrote:

When I use the first dhcpd.conf my kickstart works fine
When I use the 2nd one I get
 
PXE-E53: No boot filename received
I am trying to get the dhcp server to assign a specific IP address based on the mac address and download the exact ks.cfg for that server.
What am I doing wrong?
 
WORKING DHCPD.CONF
ddns-update-style int
erim;
ignore client-updates;
 
subnet 10.28.200.0 netmask 255.255.255.0 {
 
        allow booting;
        allow bootp;
        option routers  10.28.200.228;
        option subnet-mask      255.255.255.0;
        option domain-name-servers 10.28.200.250;
 
        range dynamic-bootp 10.28.200.10 10.28.200.20;
        default-lease-time 21600;
        max-lease-time 43200;
 
        # bootp server and filename
        next-server 10.28.200.250;
        filename "pxelinux.0";
}
 
 
NONWORKING DHDPD.CONF
 
ddns-update-style interim;
ignore client-updates;
 
subnet 10.28.200.0 netmask 255.255.255.0 {
 
        allow booting;
        allow bootp;
        option routers  10.28.200.228;
        option subnet-mask      255.255.255.0;
        option domain-name-servers 10.28.200.250;
 
        range dynamic-bootp 10.28.200.1 10.28.200.252;
        default-lease-time 21600;
        max-lease-time 43200;
        group {
          option vendor-encapsulated-options ff;
          next-server 10.28.200.250;
          filename "pxelinux.0";
          host prx53-1 {
                  hardware ethernet 00:17:A4:BB:BF:7C;
                  fixed-address 10.28.200.233;
                  option host-name "prx53-1.domain.com";
          }
          host w53-4 {
                  hardware ethernet 00:E0:CC:21:C1:22;
                  fixed-address 10.28.200.8;
                  option host-name "w53-4.domain.com";
         }
         host mon28-1 {
                  hardware ethernet 00:14:DD:EF:C0:7A;
                  fixed-address 10.28.200.245;
                  option host-name "mon28-1.c28.domain.com";
                  filename "pxelinux.0";
                  next-server 10.28.200.250;
          }
          host w28-1 {
                  hardware ethernet 00:14:FF:3D:3B:3A;
                  fixed-address 10.28.200.1;
                  option host-name "w28-1.domain.com";
          }
           host w28-5 {
                  hardware ethernet 00:14:DD:4b:3b:b2;
                  fixed-address 10.28.200.5;
                  filename "pxelinux.0";
                  option host-name "w28-5.domain.com";
                  next-server 10.28.200.250;
           }
           host w28-6 {
                  hardware ethernet 00:11:AB:C3:4F:93;
                  fixed-address 10.28.200.6;
                  filename "pxelinux.0";
                  option host-name "w28-6.domain.com";
                  next-server 10.28.200.250;
 
}
!DSPAM:3857,48a49561325032724218994! _______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

!DSPAM:3857,48a49561325032724218994!

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux