Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: dhcpd.conf fails to push options to fixed-address clients
      (Simon)
   2. isc-dhcp-server 4.4.1 (Samuel Motta)
   3. Re: isc-dhcp-server 4.4.1 (Robert Blayzor)
   4. Re: isc-dhcp-server 4.4.1 (Glenn Satchell)


----------------------------------------------------------------------

Message: 1
Date: Wed, 23 Feb 2022 12:53:55 +0000
From: Simon <dh...@thehobsons.co.uk>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: dhcpd.conf fails to push options to fixed-address clients
Message-ID: <45a9feaf-a1eb-4535-aa41-26cafa66a...@thehobsons.co.uk>
Content-Type: text/plain;       charset=utf-8

Kenneth Porter <sh...@sewingwitch.com> wrote:

> There seems to be an issue with the options not fitting in the packet, 
> because I had declared a filename for booting. I commented that out and now 
> I'm seeing more options packed into the packet, including the lease time, 
> netmask, gateway, and NTP server.

I?d never have thought of that, but yes it?s a problem I now recall having seen 
mentioned in the past.

> But the device is still repeatedly sending requests every 30 seconds, 
> ignoring the configured lease time. That's a bug for TP-Link to deal with.

It may be because it?s not getting what it wants - therefore keeps trying.
Vendors can do some ?interesting? things. Many years ago (at work) we got what 
was then a new-fangled digital copier with network printing - but I could never 
get it to take an address via DHCP so ended up manually configuring it. Quite 
by chance, some time later I read that it would refuse a lease of less than 2 
years ! I never actually tested it, but that?s what I found (in a 
technical/service manual IIRC).

Looking back again at your config, it doesn?t look like a lot of long options. 
Perhaps you might try trimming down other stuff (e.g. trim off the second 
address for NTP and DNS) until the response can hold all the requested options 
and see if that makes any difference. Also, IIRC there?s a config declaration 
to increase the max size of the response packet - though using that can cause 
its own problems (packet not fitting in buffers built for standard sized 
packets).

Simon

------------------------------

Message: 2
Date: Wed, 23 Feb 2022 13:40:24 -0300
From: Samuel Motta <sam...@apoiotatico.com.br>
To: dhcp-users@lists.isc.org
Subject: isc-dhcp-server 4.4.1
Message-ID:
        <cag7k_szzl1it8tbpuidbmiyqoq5-joealnugcjb_nxs_ucq...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi folks, I installed isc-dhcp-server 4.4.1 version on a Debian 11 and it
does not work here.

*here my ifconfig parse that show that I does not use ipv6*

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.3  netmask 255.255.255.0  broadcast 192.168.0.255
        ether fc:aa:14:f7:ae:45  txqueuelen 1000  (Ethernet)
        RX packets 242347683  bytes 334820398436 (311.8 GiB)
        RX errors 0  dropped 17209  overruns 0  frame 0
        TX packets 151899938  bytes 181862408834 (169.3 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Loopback Local)
        RX packets 3175  bytes 163958 (160.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3175  bytes 163958 (160.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I?m trying to force *isc-dhcp-server* to only start the v4 instance with
INTERFACESv4 option that is the new directive

if I try to use interfaces directive like older versions syslog show me to
use INTERFACESv4 OPTION but it migrate automatically for now.


Feb 23 13:30:25 debian-backup isc-dhcp-server[388886]: DHCPv4 interfaces
are no longer set by the INTERFACES variable in
Feb 23 13:30:25 debian-backup isc-dhcp-server[388886]:
/etc/default/isc-dhcp-server.  Please use INTERFACESv4 instead.
F

*here my /etc/default/isc-dhcp-server *
INTERFACESv4="enp2s0"


*here my dhcpd.conf*

ddns-update-style none;

#option definitions common to all supported networks...
#option domain-name "example.org";
#option domain-name-servers ns1.example.org, ns2.example.org;

default-lease-time 691200;
max-lease-time 691200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.

authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

failover peer "dhcp-failover" {
        secondary;
        address 192.168.0.3;
        port 647;
        peer address 192.168.0.2;
        peer port 648;
        max-response-delay 30;
        max-unacked-updates 10;
        load balance max seconds 5;
        mclt 3600;
       # split 255;   // split value somente no principal
}

subnet 192.168.0.0 netmask 255.255.255.0 {
  option domain-name-servers 192.168.0.5 ;
  option routers 192.168.0.254 ;
  option netbios-name-servers 192.168.0.5 ;
  option ntp-servers 192.168.0.5 ;
  option broadcast-address 192.168.0.255;
  pool {
        failover peer "dhcp-failover";
        default-lease-time 691200;
        max-lease-time 691200;
        range 192.168.0.11 192.168.0.200;
  }
}

*here my syslog (still trying load dhcpd6.conf but lauch IPv4 server only
that it is what I need.)*

Feb 23 13:19:01 debian-backup isc-dhcp-server[388778]:
/etc/init.d/isc-dhcp-server: 50: cannot open /etc/dhcp/dhcpd6.conf: No such
file
Feb 23 13:19:01 debian-backup isc-dhcp-server[388771]: Launching IPv4
server only.
Feb 23 13:19:01 debian-backup dhcpd[388780]: Internet Systems Consortium
DHCP Server 4.4.1
Feb 23 13:19:01 debian-backup dhcpd[388780]: Copyright 2004-2018 Internet
Systems Consortium.
Feb 23 13:19:01 debian-backup dhcpd[388780]: All rights reserved.
Feb 23 13:19:01 debian-backup dhcpd[388780]: For info, please visit
https://www.isc.org/software/dhcp/
Feb 23 13:19:01 debian-backup isc-dhcp-server[388771]: Starting ISC DHCPv4
server: dhcpddhcpd service already running (pid file /var/run/dhcpd.pid
currenty exists) ...
Feb 23 13:19:01 debian-backup isc-dhcp-server[388784]:  failed!
Feb 23 13:19:01 debian-backup systemd[1]: isc-dhcp-server.service: Control
process exited, code=exited, status=1/FAILURE
Feb 23 13:19:01 debian-backup systemd[1]: isc-dhcp-server.service: Failed
with result 'exit-code'.

*here my syntax check of dhcpd.conf with no errors*
root@debian-backup:/etc/dhcp# dhcpd -t -cf /etc/dhcp/dhcpd.conf
Internet Systems Consortium DHCP Server 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: /etc/dhcp/dhcpd.conf
Database file: /var/lib/dhcp/dhcpd.leases
PID file: /var/run/dhcpd.pid



I did find where is the problem. Any suggestion?

my best regards,

Samuel Motta
Brazil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20220223/e804524e/attachment-0001.htm>

------------------------------

Message: 3
Date: Wed, 23 Feb 2022 17:33:30 -0500
From: Robert Blayzor <rblayzor.b...@inoc.net>
To: dhcp-users@lists.isc.org
Subject: Re: isc-dhcp-server 4.4.1
Message-ID: <a4a8ceab-69a9-de8c-604d-c1a6f143c...@inoc.net>
Content-Type: text/plain; charset=UTF-8; format=flowed

On 2/23/22 11:40, Samuel Motta wrote:
> Feb 23 13:19:01 debian-backup isc-dhcp-server[388771]: Starting ISC 
> DHCPv4 server: dhcpddhcpd service already running (pid file 
> /var/run/dhcpd.pid currenty exists) ..


"service already running"


-- 
inoc.net!rblayzor
XMPP: rblayzor.AT.inoc.net
PGP:  https://pgp.inoc.net/rblayzor/


------------------------------

Message: 4
Date: Thu, 24 Feb 2022 09:38:20 +1100
From: Glenn Satchell <glenn.satch...@uniq.com.au>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: isc-dhcp-server 4.4.1
Message-ID: <ccfcbccf-fa5f-4bfb-97d6-c99b0e006...@email.android.com>
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20220224/e2a74f16/attachment.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 160, Issue 6
******************************************

Reply via email to