<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=utf-8">
<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:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
        {font-family:Menlo;
        panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
p.p1, li.p1, div.p1
        {mso-style-name:p1;
        margin:0in;
        font-size:8.5pt;
        font-family:Menlo;
        color:black;}
span.s2
        {mso-style-name:s2;
        color:#CA3323;}
span.s1
        {mso-style-name:s1;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="p1"><span class="s1">Hi Peter, <o:p></o:p></span></p>
<p class="p1"><span class="s1">Yes, it selects the correct subnet starting with subnet id.
<o:p></o:p></span></p>
<p class="p1"><span class="s1"><o:p> </o:p></span></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: DHCP4_PACKET_RECEIVED [hwtype=1 </span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: DHCPDISCOVER (type 1) received from 10.150.136.2 to 128.239.10.233 on interface
 ens32</span><o:p></o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: DHCP4_QUERY_DATA [hwtype=1 </span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78, packet details: local_address=128.239.10.233:67, remote_address=10.150.136.2:67, msg_type=DHCPDISCOVER
 (1), transid=0xe36dbc78,#012options:#012</span><span class="apple-converted-space"> 
</span><span class="s1">type=012, len=015: "XRX9C934EA07417" (string)#012</span><span class="apple-converted-space"> 
</span><span class="s1">type=051, len=004: 4294967295 (uint32)#012</span><span class="apple-converted-space"> 
</span><span class="s1">type=053, len=001: 1 (uint8)#012</span><span class="apple-converted-space"> 
</span><span class="s1">type=055, len=023: 116(uint8) 252(uint8) 67(uint8) 28(uint8) 59(uint8) 58(uint8) 15(uint8) 6(uint8) 119(uint8) 81(uint8) 12(uint8) 44(uint8) 46(uint8) 47(uint8) 42(uint8) 70(uint8) 3(uint8) 78(uint8) 79(uint8) 69(uint8) 1(uint8) 66(uint8)
 2(uint8)#012</span><span class="apple-converted-space">  </span><span class="s1">type=060, len=104: "Mfg=Xerox;Typ=MFP;Mod=Xerox AltaLink B8170 Multifunction Printer;Ser=HHZ763011;Loc=Mathematics Jones 100" (string)#012</span><span class="apple-converted-space"> 
</span><span class="s1">type=061, len=007: 019c934ea074:17#012</span><span class="apple-converted-space"> 
</span><span class="s1">type=077, len=105: 684d66673d58:65726f783b54:79703d4d4650:3b4d6f643d58:65726f782041:6c74614c696e:6b2042383137:30204d756c74:6966756e6374:696f6e205072:696e7465723b:5365723d4848:5a3736333031:313b4c6f633d:4d617468656d:617469637320:4a6f6e657320:31:30:30#012</span><span class="apple-converted-space"> 
</span><span class="s1">type=81 (CLIENT_FQDN), flags: (N=0, E=0, O=0, S=1), domain-name='xrx</span><span class="s2"><b>9c934ea07417</b></span><span class="s1">.wm.edu.' (full)#012</span><span class="apple-converted-space"> 
</span><span class="s1">type=082, len=024:,#012options:#012</span><span class="apple-converted-space">   
</span><span class="s1">type=001, len=022: 6972622e3130:31352678652d:312f302f312e:31:35:30:00</span><o:p></o:p></p>
<p class="p1"><span class="s1"><o:p> </o:p></span></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: DHCP4_SUBNET_SELECTED [hwtype=1 </span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: the subnet with ID 150136 was selected for client assignments</span><o:p></o:p></p>
<p class="p1"><span class="s1"><o:p> </o:p></span></p>
<p class="p1"><span class="s1">*Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: DHCP4_SUBNET_DATA [hwtype=1 </span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: the selected subnet details: 10.150.136.0/24*<o:p></o:p></span></p>
<p class="p1"><o:p> </o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: hwaddr=</span><span class="s2"><b>9c934ea07417</b></span><o:p></o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier hwaddr=</span><span class="s2"><b>9c934ea07417</b></span><span class="s1">, found 0 host(s)<o:p></o:p></span></p>
<p class="p1"><o:p> </o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: DHCP4_CLASS_ASSIGNED [hwtype=1 </span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: client packet has been assigned to the following class(es): UNKNOWN</span><o:p></o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: DHCP4_CLASS_ASSIGNED [hwtype=1 </span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: client packet has been assigned to the following class(es): ALL, HA_is-kea-03,
 VENDOR_CLASS_Mfg=Xerox;Typ=MFP;Mod=Xerox AltaLink B8170 Multifunction Printer;Ser=HHZ763011;Loc=Mathematics Jones 100, UNKNOWN</span><o:p></o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: DHCP4_CLIENT_FQDN_PROCESS [hwtype=1 </span>
<span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: processing Client FQDN option</span><o:p></o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: DHCP4_CLIENT_FQDN_DATA [hwtype=1 </span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: Client sent FQDN option: type=81 (CLIENT_FQDN), flags: (N=0, E=0, O=0, S=1),
 domain-name='xrx</span><span class="s2"><b>9c934ea07417</b></span><span class="s1">.wm.edu.' (full)</span><o:p></o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: DHCP4_RESPONSE_FQDN_DATA [hwtype=1 </span>
<span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: including FQDN option in the server's response: type=81 (CLIENT_FQDN), flags: (N=1, E=0, O=1, S=0), domain-name='xrx</span><span class="s2"><b>9c934ea07417</b></span><span class="s1">.wm.edu.'
 (full)</span><o:p></o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: ALLOC_ENGINE_V4_OFFER_NEW_LEASE allocation engine will try to offer new lease to the client [hwtype=1
</span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78</span><o:p></o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: ALLOC_ENGINE_V4_ALLOC_FAIL_SHARED_NETWORK [hwtype=1
</span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: failed to allocate an IPv4 address in the shared network printers-network: 0 subnets have no available addresses, 55 subnets have no matching pools</span><o:p></o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: ALLOC_ENGINE_V4_ALLOC_FAIL_NO_POOLS [hwtype=1
</span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: no pools were available for the address allocation</span><o:p></o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: ALLOC_ENGINE_V4_ALLOC_FAIL_CLASSES [hwtype=1
</span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: Failed to allocate an IPv4 address for client with classes: ALL, HA_is-kea-03, VENDOR_CLASS_Mfg=Xerox;Typ=MFP;Mod=Xerox AltaLink B8170 Multifunction
 Printer;Ser=HHZ763011;Loc=Mathematics Jones 100, UNKNOWN</span><o:p></o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: DHCP4_SUBNET_DYNAMICALLY_CHANGED [hwtype=1
</span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: changed selected subnet 10.150.136.0/24 to subnet 10.150.135.0/24 from shared network printers-network for client assignments</span><o:p></o:p></p>
<p class="p1"><span class="s1">Jul</span><span class="apple-converted-space">  </span>
<span class="s1">1 23:44:00 is-kea-03: DHCP4_PACKET_NAK_0003 [hwtype=1 </span><span class="s2"><b>9c934ea07417</b></span><span class="s1">], cid=[019c934ea074:17], tid=0xe36dbc78: failed to advertise a lease, client sent ciaddr 0.0.0.0, requested-ip-address
 (no address)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">Kea-users <kea-users-bounces@lists.isc.org> on behalf of kea-users-request@lists.isc.org <kea-users-request@lists.isc.org><br>
<b>Date: </b>Tuesday, July 2, 2024 at 8:00</span><span style="font-family:"Arial",sans-serif;color:black"> </span><span style="color:black">AM<br>
<b>To: </b>kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Subject: </b>Kea-users Digest, Vol 121, Issue 2<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Send Kea-users mailing list submissions to<br>
        kea-users@lists.isc.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.isc.org/mailman/listinfo/kea-users">https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cmbull%40wm.edu%7C0c3fb53d51ad4b3b2fe508dc9a8e8181%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555184068830981%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=e25tlcd1c55Hbe8YDl7x43smYchRElic8VGQCD1OftY%3D&reserved=0</a><br>
or, via email, send a message with subject or body 'help' to<br>
        kea-users-request@lists.isc.org<br>
<br>
You can reach the person managing the list at<br>
        kea-users-owner@lists.isc.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Kea-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Reservation lookup fails (Peter Davies)<br>
   2. Re: Force subnet selection for specific interface (Darren Ankney)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 2 Jul 2024 07:25:11 +0200<br>
From: Peter Davies <peterd@isc.org><br>
To: kea-users@lists.isc.org<br>
Subject: Re: [Kea-users] Reservation lookup fails<br>
Message-ID: <29ddca54-95c8-4d8b-8923-fa0b823f3509@isc.org><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
Hi Mary,<br>
 ?? Is the correct subnet being selected (150136)?<br>
<br>
Please share the complete Kea logging for this client.<br>
<br>
Kind Regard Peter<br>
<br>
On 02/07/2024 05.58, Bull, Mary wrote:<br>
><br>
> I?ve set up host reservations with lookup specified by hw-address; <br>
> however, the log is showing that devices are failing to find the <br>
> reservation in the mysql backend.<br>
><br>
> Log:<br>
><br>
> *HOSTS_CFG_GET_ALL_IDENTIFIER*get all hosts with reservations using <br>
> identifier: hwaddr=9c934ea07417<br>
><br>
> *HOSTS_CFG_GET_ALL_IDENTIFIER*_COUNT using identifier <br>
> hwaddr=9c934ea07417, found 0 host(s)<br>
><br>
> However, I can search and find this same host in the hosts table in <br>
> the database:<br>
><br>
> MariaDB [kea]> select * from hosts where dhcp_identifier LIKE <br>
> '9c934ea07417';<br>
><br>
> +---------+-----------------+----------------------+-----------------+-----------------+--------------+----------+----------------------+----------------------+-------------------+-----------------------+----------------------+--------------+----------+<br>
><br>
> | host_id | dhcp_identifier | dhcp_identifier_type | dhcp4_subnet_id | <br>
> ipv4_address |<br>
><br>
> +---------+-----------------+----------------------+-----------------+-----------------+--------------+----------+----------------------+----------------------+-------------------+-----------------------+----------------------+--------------+----------+<br>
><br>
> | ? 34177 | 9c934ea07417? ? |? ? ? ? ? ? ? ? ? ? 0 | 150136 ? ? ?? ? <br>
> 177637420<br>
><br>
> I have the host database configured. There are no dynamic addresses <br>
> given out for this subnet, only reserved addresses identified in hosts <br>
> table.<br>
><br>
> "hosts-database": {<br>
><br>
> ??????? "type": "mysql",<br>
><br>
> ??????? "name": "kea",<br>
><br>
> ??????? "user": "kea",<br>
><br>
> ??????? "host": "",<br>
><br>
> }<br>
><br>
> "host-reservation-identifiers": ["hw-address"],<br>
><br>
> ??????? "reservations-global": false,<br>
><br>
> ??????? "reservations-in-subnet": true,<br>
><br>
> ??????? "reservations-out-of-pool": true,<br>
><br>
><br>
-- <br>
Peter Davies<br>
Support Engineer<br>
Internet Systems Corporation<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://lists.isc.org/pipermail/kea-users/attachments/20240702/c1fd13dc/attachment-0001.htm">https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fpipermail%2Fkea-users%2Fattachments%2F20240702%2Fc1fd13dc%2Fattachment-0001.htm&data=05%7C02%7Cmbull%40wm.edu%7C0c3fb53d51ad4b3b2fe508dc9a8e8181%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555184068840523%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=h6GCMhM40lBj%2Fe9MSQNYMsl3ykeUTUC%2B%2BFO9LNGd1Os%3D&reserved=0</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 2 Jul 2024 05:30:34 -0400<br>
From: Darren Ankney <darren.ankney@gmail.com><br>
To: "kea-users@lists.isc.org" <kea-users@lists.isc.org><br>
Subject: Re: [Kea-users] Force subnet selection for specific interface<br>
Message-ID:<br>
        <CAKabWHi8PQLiZJrk84=FiS6pOg4d-1Jtsk3mu8p7G3N-H985fw@mail.gmail.com><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
Hi Branimir,<br>
<br>
> Yes, the traffic is relayed.<br>
<br>
In that case, have a look at:<br>
<a href="https://kea.readthedocs.io/en/kea-2.4.1/arm/dhcp4-srv.html#using-a-specific-relay-agent-for-a-subnet">https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkea.readthedocs.io%2Fen%2Fkea-2.4.1%2Farm%2Fdhcp4-srv.html%23using-a-specific-relay-agent-for-a-subnet&data=05%7C02%7Cmbull%40wm.edu%7C0c3fb53d51ad4b3b2fe508dc9a8e8181%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555184068845401%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=YTPiMP%2Bbk7Mv3HA6m8t4onf6pyySQBD5jnuZEuCWXbs%3D&reserved=0</a><br>
which allows you to give a directive to Kea that a relay agent should<br>
be served by a certain subnet.  This can also be done at the<br>
shared-network level if you are using that concept.<br>
<br>
Thank you,<br>
Darren Ankney<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
<br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/">https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&data=05%7C02%7Cmbull%40wm.edu%7C0c3fb53d51ad4b3b2fe508dc9a8e8181%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555184068850405%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=fMSA%2BoxFu5jwm4RXNQkPc5JfmL3iHpKVUbxegq4acJU%3D&reserved=0</a>
 for more information.<br>
<br>
Kea-users mailing list<br>
Kea-users@lists.isc.org<br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users">https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cmbull%40wm.edu%7C0c3fb53d51ad4b3b2fe508dc9a8e8181%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555184068854969%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=LNavX8LBEwlp3UgCrIuYY1U9KVcFHcncpz0w%2FXlCTcE%3D&reserved=0</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Kea-users Digest, Vol 121, Issue 2<br>
*****************************************<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>