<html xmlns:v="urn:schemas-microsoft-com:vml" 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=us-ascii">
<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:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
p.msipfooter10100105, li.msipfooter10100105, div.msipfooter10100105
{mso-style-name:msipfooter10100105;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Here’s what worked for my Mitel phones (note that I used option 43):<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> "client-classes": [<o:p></o:p></p>
<p class="MsoNormal"> {<o:p></o:p></p>
<p class="MsoNormal"> "name": "mitel",<o:p></o:p></p>
<p class="MsoNormal"> "test": "substring(option[60].hex,0,17) == 'ipphone.mitel.com'",<o:p></o:p></p>
<p class="MsoNormal"> "option-def": [<o:p></o:p></p>
<p class="MsoNormal"> {<o:p></o:p></p>
<p class="MsoNormal"> "name": "vendor-encapsulated-options",<o:p></o:p></p>
<p class="MsoNormal"> "code": 43,<o:p></o:p></p>
<p class="MsoNormal"> "type": "string"<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"> ],<o:p></o:p></p>
<p class="MsoNormal"> "option-data": [<o:p></o:p></p>
<p class="MsoNormal"> {<o:p></o:p></p>
<p class="MsoNormal"> "name": "vendor-encapsulated-options",<o:p></o:p></p>
<p class="MsoNormal"> "data": "id:ipphone.mitel.com;sw_tftp=10.151.75.34;call_srv=10.151.75.32"<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"> ]<o:p></o:p></p>
<p class="MsoNormal"> },<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>From:</b> Kea-users <kea-users-bounces@lists.isc.org> <b>
On Behalf Of </b>Evan Carson<br>
<b>Sent:</b> Wednesday, November 6, 2019 4:00 PM<br>
<b>To:</b> kea-users@lists.isc.org<br>
<b>Subject:</b> [Kea-users] Vendor-Identifying option 125 vivso-suboptions<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hello,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">We are running Kea 1.4.0 and are having trouble getting the server to hand out option 125 to a Mitel phone. The Kea server is replying to the client with this data in the DHCP offer with an empty option 125 containing only the Mitel enterprise
option but no data.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">We have this option definition specified in the Dhcp4 config:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> "option-def": [<br>
{<br>
"array": false,<br>
"code": 130,<br>
"encapsulate": "",<br>
"name": "mitel-option",<br>
"record-types": "",<br>
"space": "vendor-1027",<br>
"type": "string"<br>
}<br>
],<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">We then placed this option in the subnet["pools"]["option-data"] for our phone subnet<o:p></o:p></p>
</div>
<p class="MsoNormal"> {<br>
"name": "vivso-suboptions",<br>
"data": "1027"<br>
},<br>
{<br>
"name": "mitel-option",<br>
"space": "vendor-1027",<br>
"data": "id:<a href="https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fipphone.mitel.com&data=02%7C01%7CRobert.B.Sutherland%40windstream.com%7Cfe63ef71459047eeb95b08d762fc465b%7C2567b4c1b0ed40f5aee358d7c5f3e2b2%7C1%7C1%7C637086707970887653&sdata=ybRRfpPu13cnOyzXLUV2ojFqrTIFjusuUu%2BijhCjs1s%3D&reserved=0">ipphone.mitel.com</a>;sw_tftp=10.78.182.2;call_srv=10.78.182.2;vlan=71;l2p=6;dscp=46;"<br>
}<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Here is the DHCP Offer pcap coming back from server:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Frame 15952: 332 bytes on wire (2656 bits), 332 bytes captured (2656 bits)<br>
Ethernet II, Src: RealtekU_e9:ea:63 (52:54:00:e9:ea:63), Dst: SmcStand_9c:c6:36 (08:00:0f:9c:c6:36)<br>
Internet Protocol Version 4, Src: 192.168.1.1, Dst: 255.255.255.255<br>
User Datagram Protocol, Src Port: 67, Dst Port: 68<br>
Bootstrap Protocol (Offer)<br>
Message type: Boot Reply (2)<br>
Hardware type: Ethernet (0x01)<br>
Hardware address length: 6<br>
Hops: 0<br>
Transaction ID: 0x99cc086f<br>
Seconds elapsed: 0<br>
Bootp flags: 0x8000, Broadcast flag (Broadcast)<br>
Client IP address: 0.0.0.0<br>
Your (client) IP address: 192.168.1.102<br>
Next server IP address: 0.0.0.0<br>
Relay agent IP address: 0.0.0.0<br>
Client MAC address: SmcStand_9c:c6:36 (08:00:0f:9c:c6:36)<br>
Client hardware address padding: 00000000000000000000<br>
Server host name: KVM_128T_Remote<br>
Boot file name not given<br>
Magic cookie: DHCP<br>
Option: (1) Subnet Mask<br>
Option: (3) Router<br>
Option: (6) Domain Name Server<br>
Option: (51) IP Address Lease Time<br>
Option: (53) DHCP Message Type (Offer)<br>
Option: (54) DHCP Server Identifier<br>
Option: (61) Client identifier<br>
Option: (125) V-I Vendor-specific Information<br>
Length: 5<br>
Enterprise: Mitel, Corp. (1027)<br>
Length: 0<br>
Option: (255) End<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">It looks like the configuration for the enterprise ID is working correctly however the custom "mitel-option" string doesn't seem to be contributing. Is there anything wrong with the way we have this configured?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">We aren't using any client-class configuration to restrict this option to only the clients requesting a given Vendor-Identifying Vendor Class option. Is it a requirement that the client-classification be used to specify the vendor class
option?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thank you for your help,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Evan Carson<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="msipfooter10100105" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:8.0pt;color:black">Sensitivity: Internal</span><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>