<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>You're giving it an IPv4 address but the routers and
domain-name-servers options are IPv6 addresses. You're<br>
using a semi-colon as the separator instead of a dot.<br>
</p>
<p>Generally, MTU is 1,500 or less.<br>
</p>
<p>Bill<br>
</p>
<div class="moz-cite-prefix">On 3/31/2020 10:02 AM, prasanth ns
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1041535355.172968.1585663369709@mail.yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="yahoo-style-wrap" style="font-family:Helvetica Neue,
Helvetica, Arial, sans-serif;font-size:13px;">
<div dir="ltr" data-setdir="false">
<div>
<div dir="ltr" data-setdir="false">Hi dhcp-users,</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">I am trying to configure
a host reservation through omshell. For some reason dhcpd
doesn't accept mtu and I see this error in syslog. Any
idea what is going wrong?</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">
<div>
<div>"dhcpd: network client line 1: <b>9216 exceeds max
(255) for precision</b>.</div>
<div> dhcpd: option routers=1:0:1:2; option<b>
interface-mtu=9216;</b>"</div>
</div>
<div><br>
</div>
<div dir="ltr" data-setdir="false">Also my lease file
shows incorrect MTU of 16 instead of 9216.</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">
<div>
<div># cat /tmp/dhcpd.leases</div>
<div><br>
</div>
<div>host some-host {</div>
<div> dynamic;</div>
<div> hardware ethernet 00:82:67:85:b1:94;</div>
<div> fixed-address 192.168.4.40;</div>
<div> supersede routers = 01:00:01:02;</div>
<div> <b>supersede interface-mtu = 16;
<<<<<<</b></div>
<div> supersede domain-name-servers =
02:01:00:05;</div>
<div>}</div>
<div><br>
</div>
</div>
</div>
</div>
<div># dhcpd --version</div>
<div>isc-dhcpd-4.4.2</div>
<div><br>
</div>
</div>
Here are the commands I enter at omshell:</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">
<div><span style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px;">new host</span><br style="color: rgb(0,
0, 0); font-family: Helvetica; font-size: 12px;">
<span style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px;">set name</span><span style="color:
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;"> </span><span
style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px;">= "some-host"</span><br style="color:
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;">
<span style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px;">set hardware-address = 00:82:67:85:b1:94</span><br
style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px;">
<span style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px;">set </span><span style="color: rgb(0, 0,
0); font-family: Helvetica; font-size: 12px;">hardware</span><span
style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px;">-type = 1</span><br style="color: rgb(0,
0, 0); font-family: Helvetica; font-size: 12px;">
<span style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px;">set ip-address = 192.168.4.40</span><br
style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px;">
<span style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px;">set statements = "option
routers=1:0:1:2; option interface-mtu=9216; option
domain-name-servers = 02:01:00:05; "</span><br
style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px;">
<span style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px;">create</span></div>
<br>
</div>
<div dir="ltr" data-setdir="false">Thanks in advance,</div>
<div dir="ltr" data-setdir="false">Prashanth.</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false"><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
</blockquote>
</body>
</html>