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: dhcp-users Digest, Vol 161, Issue 2 (Timothe Litt) 2. Re: isc-dhcp-server 4.4.1 (Joshua Stark) ---------------------------------------------------------------------- Message: 1 Date: Sun, 13 Mar 2022 08:39:54 -0400 From: Timothe Litt <l...@acm.org> To: dhcp-users@lists.isc.org Subject: Re: dhcp-users Digest, Vol 161, Issue 2 Message-ID: <326c486b-1aa3-0c9c-b313-a6879ad4f...@acm.org> Content-Type: text/plain; charset="utf-8"; Format="flowed" On 13-Mar-22 08:00, dhcp-users-requ...@lists.isc.org wrote: > Date: Sat, 12 Mar 2022 16:41:11 +0000 > From: Simon<dh...@thehobsons.co.uk> > To: Users of ISC DHCP<dhcp-users@lists.isc.org> > Subject: Re: Dhcp.leases manually edit > Message-ID:<ed93c8d4-a29c-4ec9-b0bd-3a9377df8...@thehobsons.co.uk> > Content-Type: text/plain; charset=utf-8 > > JT ISC<jtis...@gmail.com> wrote: > >> However, I have been wondering if you can stop dhcpd service and add in a >> new lease the very end of the dhcpd.leases file using the correct format for >> lease start and end times as well as the MAC address. Then start the dhcpd >> service again and the dhcpd server update the lease that you just manually >> created with any new updated information. > Yes, it?s something I?ve done when I?ve had special requirements - e.g. > creating a new reserved lease for a device. > > >From memory you might not even need times - it?s sufficient to create a > >skeleton entry with the IP address, the MAC address or Client-ID the device > >will use, and in my case, the ?reserved? flag. When the client contacts the > >server, the server will fill everything else in as required. > > Simon If you edit, it's best to script the process, including checking syntax, duplicates, etc, to avoid inducing most problems. See also omshell (1) / OMAPI, which avoids service interruptions (as does failover). -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20220313/11634449/attachment-0001.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 495 bytes Desc: OpenPGP digital signature URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20220313/11634449/attachment-0001.sig> ------------------------------ Message: 2 Date: Mon, 14 Mar 2022 10:05:18 +1100 From: Joshua Stark <star...@gmail.com> To: Users of ISC DHCP <dhcp-users@lists.isc.org>, Samuel Motta <sam...@apoiotatico.com.br> Subject: Re: isc-dhcp-server 4.4.1 Message-ID: <9e4109fb-411f-884a-69b0-ceedfb12e...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" Hi Samuel, Looking at the initial log, it looks like you are starting dhcp with the init.d script: 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 I would have thought that you should be using systemd and have: # grep pid /lib/systemd/system/isc* /lib/systemd/system/isc-dhcp-server.service:??? exec dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf $CONFIG_FILE $INTERFACESv4' /lib/systemd/system/isc-dhcp-server6.service:??? exec dhcpd -user dhcpd -group dhcpd -f -6 -pf /run/dhcp-server/dhcpd6.pid -cf $CONFIG_FILE $INTERFACESv6' See if it's running under systemd as: # systemctl status isc-dhcp-server Thanks Josh On 24/2/22 12:54, Samuel Motta wrote: > To be more clear, after I try start isc-dhcp-server the log shows that > dhcpd service already running but it?s not. The next log line show > debian-backup isc-dhcp-server[388784]: failed! > > regards. > > Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20220314/0a153c7a/attachment-0001.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4486 bytes Desc: S/MIME Cryptographic Signature URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20220314/0a153c7a/attachment-0001.bin> ------------------------------ 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 161, Issue 3 ******************************************