omshell error - 9216 exceeds max (255) for precision

Bill Shirley bill at c3po.polymerindustries.biz
Tue Mar 31 21:51:54 UTC 2020


You're giving it an IPv4 address but the routers and domain-name-servers options are IPv6 addresses.  You're
using a semi-colon as the separator instead of a dot.

Generally, MTU is 1,500 or less.

Bill

On 3/31/2020 10:02 AM, prasanth ns wrote:
> Hi dhcp-users,
>
> 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?
>
> "dhcpd: network client line 1: *9216 exceeds max (255) for precision*.
>  dhcpd: option routers=1:0:1:2; option*interface-mtu=9216;*"
>
> Also my lease file shows incorrect MTU of 16 instead of 9216.
>
> # cat /tmp/dhcpd.leases
>
> host some-host {
>   dynamic;
>   hardware ethernet 00:82:67:85:b1:94;
>   fixed-address 192.168.4.40;
>         supersede routers = 01:00:01:02;
> *supersede interface-mtu = 16;  <<<<<<*
>         supersede domain-name-servers = 02:01:00:05;
> }
>
> # dhcpd --version
> isc-dhcpd-4.4.2
>
> Here are the commands I enter at omshell:
>
> new host
> set name= "some-host"
> set hardware-address = 00:82:67:85:b1:94
> set hardware-type = 1
> set ip-address = 192.168.4.40
> set statements = "option routers=1:0:1:2; option interface-mtu=9216; option domain-name-servers = 02:01:00:05; "
> create
>
> Thanks in advance,
> Prashanth.
>
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20200331/de974c4c/attachment.htm>


More information about the dhcp-users mailing list