<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="en-DK" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hi Stephen,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> This client appears to be directly connected with the server’s eth0 interface.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Is </span><span lang="en-DK">192.168.100.100</span><span lang="EN-GB"> an appropriate address for this interface and is
</span><span lang="en-DK">dhcp-socket-type “raw”</span><span lang="EN-GB">?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Kind Regard Peter</span><span lang="en-DK"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><b><span lang="en-DK">From: </span>
</b><span lang="en-DK"><a href="mailto:kea-users@lists.isc.org">Stephen Berg, Code 7309 via Kea-users</a><br>
<b>Sent: </b>Saturday, 26 February 2022 14.21<br>
<b>To: </b><a href="mailto:kea-users@lists.isc.org">kea-users@lists.isc.org</a><br>
<b>Subject: </b>Re: [Kea-users] KEA and pxeboot<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="en-DK"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="en-DK">Can someone weigh in on why this host reservation is not working? Basic
<br>
dhcp works but when I add the next-server and boot-file-name to pxeboot <br>
it fails. I get the two errors in the log that I'm running in debug <br>
level currently.<br>
{<br>
"ip-address": "192.168.100.100",<br>
"hostname": "server1",<br>
"hw-address": "aa:bb:cc:dd:ee:ff",<br>
"next-server": "192.168.100.1",<br>
"boot-file-name": "pxelinux.0"<br>
},<br>
<br>
2022-02-26 07:09:26.875 DEBUG [kea-dhcp4.packets/13158.140019375193408] <br>
DHCP4_SUBNET_SELECTION_FAILED [hwtype=1 aa:bb:cc:dd:ee:ff], <br>
cid=[01:aa:bb:cc:dd:ee:ff], tid=0x396c44b0: failed to select subnet for <br>
the client<br>
2022-02-26 07:09:26.875 DEBUG <br>
[kea-dhcp4.bad-packets/13158.140019375193408] DHCP4_PACKET_DROP_0002 <br>
[hwtype=1 aa:bb:cc:dd:ee:ff], cid=[01:aa:bb:cc:dd:ee:ff], <br>
tid=0x396c44b0, from interface eth0: no suitable subnet configured for a <br>
direct client<br>
<br>
The client system never gets an IP and of course never starts into the <br>
pxeboot process.<br>
<br>
On 2/23/2022 9:17 AM, Stephen Berg, Code 7309 via Kea-users wrote:<br>
> Where can I find documentation on setting up pxebooting to do linux <br>
> installs? I'm running kea-1.8.0-2 on Rocky Linux 8.5. I want to be <br>
> able to pxeboot different OS's like centos 7.x, rocky 8.x and future <br>
> releases. The tftp-server is installed and setup, syslinux packages <br>
> are installed. I've got just a couple clients defined in dhcp as <br>
> reserved leases and added next-server and filename options for one but <br>
> when I boot the network from that client it never seems to get to the <br>
> pxelinux.0 or the defined kernel in the "pxelinux.cfg/01-macaddress" <br>
> file.<br>
><br>
> I figure I'm probably missing some setup in the kea-dhcp4.conf file <br>
> but can't find what the missing parts might be.<br>
><br>
> My old setup is centos 6, dhcp-4.1.1. I'd add the next-server and <br>
> filename lines for a particular host reservation then use pxeboot to <br>
> setup the pxelinux.cfg file and that would have kernel parameters to <br>
> boot the installer and read a kickstart file. Right now I can get the <br>
> new system to boot from the network, it gets an IP from kea but then <br>
> fails to find the tftp file to boot from.<br>
><br>
><br>
<br>
-- <br>
Stephen Berg, IT Specialist, Ocean Sciences Division, Code 7309<br>
Naval Research Laboratory<br>
W: (228) 688-5738<br>
DSN: (312) 823-5738<br>
C: (228) 365-0162<br>
Email: stephen.berg@nrlssc.navy.mil <- (Preferred contact)<br>
Flank Speed: stephen.p.berg.civ@us.navy.mil<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK"><o:p> </o:p></span></p>
</div>
</body>
</html>