[CentOS] CentOS 6 and pxeboot

Tue Apr 11 16:21:12 UTC 2017
m.roth at 5-cent.us <m.roth at 5-cent.us>

Hi, folks,

   We've been using pxeboot to pull up a menu, to build or rebuild
machines for years. We have this new server, and it fails. Times out.
What's happening is that it tries in this order
        .../pxelinux.cfg/b8945908-d6a6-41a9-611d-74a6ab80b83d
 	.../pxelinux.cfg/01-88-99-aa-bb-cc-dd
 	.../pxelinux.cfg/C0A8025B
 	.../pxelinux.cfg/C0A8025
 	.../pxelinux.cfg/C0A802
 	.../pxelinux.cfg/C0A80
 	.../pxelinux.cfg/C0A8
 	.../pxelinux.cfg/C0A
 	.../pxelinux.cfg/C0
 	.../pxelinux.cfg/C
 	.../pxelinux.cfg/default

The first are MAC addresses, etc. I want it to pull default. It takes
*minutes* to time out each option, so after a dozen or 15 min, when it
gets to defaul, tftp has timed it out.

Now, our dhcpd config has this for pxeboot:
group
{
        allow booting;
        allow bootp;
        filename "gpxelinux.0";
        option-209 =  "pxelinux.cfg/default";
        option subnet-mask 255.255.254.0;
        option routers  <our router>;
        default-lease-time 172800; # 2 days.
        max-lease-time 432000; # 5 days.

I added that option-209, but it didn't take. I've been looking at the
docs, but if someone's can tell me off the top of their head what I need
to do, I'd appreciate it. This has become a high priority today....

   mark