Re: Alternatives to ISC dhcp-client ?

2022-06-03 Thread Kamil Jońca
john doe writes: [...] >> > > You might be better off asking this on the appropriate mailing list! :) I asked: https://lists.freedesktop.org/archives/systemd-devel/2022-May/047889.html My impressions: 1. Scripts called by dhcp client are "BAD THING" (according to systemd developers) - and

Re: Alternatives to ISC dhcp-client ?

2022-05-09 Thread Anssi Saari
Dan Ritter writes: > The package name is udhcpc. Yes, and it's very cool. Well, poorly documented so it was a little hard to understand. Mostly my problem was the script it wants to run for various events and how to fix that to do the stuff I need and not do stuff that messes up my network

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread Vincent Lefevre
On 2022-05-08 11:19:33 +0800, Jeremy Ardley wrote: > Of note: Using systemd-networkd you should not use NetworkManager or > networking services. I think both use the ISC dhcp client And what about NetworkManager users? Note: it has its own internal DHCP client, but it is not robust on buggy

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread john doe
On 5/8/2022 6:33 PM, Kamil Jońca wrote: Kamil Jońca writes: [...] But systemd-networkd also has a huge number of configuration options that may do what you want anyway https://www.freedesktop.org/software/systemd/man/systemd.network.html Hm. Can you create bridge without ports with

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread Kamil Jońca
Kamil Jońca writes: [...] >> >> But systemd-networkd also has a huge number of configuration options >> that may do what you want anyway >> >> https://www.freedesktop.org/software/systemd/man/systemd.network.html > > Hm. Can you create bridge without ports with systemd-networkd? > i.e. >

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread Michael Stone
On Sun, May 08, 2022 at 04:09:27PM +0200, Oliver Schoede wrote: Alternatively there's dhcpcd5, Be careful with this one unless you have a simple network configuration--by default it will attempt to get addresses on all interfaces that don't have them, not only ones you set to dhcp in

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread Oliver Schoede
On Sun, 8 May 2022 09:20:25 -0400 Dan Ritter wrote: > Stefan Monnier wrote: > > Rick Thomas [2022-05-07 19:47:57] wrote: > > > According to the ISC webpage: > > >> ISC has ended development on the ISC DHCP client as of early > > >> 2022. This client implementation is no longer maintained and >

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread Dan Ritter
Stefan Monnier wrote: > Rick Thomas [2022-05-07 19:47:57] wrote: > > According to the ISC webpage: > >> ISC has ended development on the ISC DHCP client as of early 2022. > >> This client implementation is no longer maintained and should not be > >> used in production any longer. > > Can anybody

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread The Wanderer
On 2022-05-08 at 07:06, Rick Thomas wrote: > On Sat, May 7, 2022, at 7:47 PM, Rick Thomas wrote: > >> According to the ISC webpage: >> >>> ISC has ended development on the ISC DHCP client as of early >>> 2022. This client implementation is no longer maintained and >>> should not be used in

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread Rick Thomas
On Sat, May 7, 2022, at 7:47 PM, Rick Thomas wrote: > According to the ISC webpage: > >> ISC has ended development on the ISC DHCP client as of early 2022. >> This client implementation is no longer maintained and should not be >> used in production any longer. > > Can anybody recommend a good

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread Kamil Jońca
Jeremy Ardley writes: > On 8/5/22 3:19 pm, Kamil Jońca wrote: >> I cannot see if systemd-networkd can run scripts[1] after change in >> lease. Am I missing something? >> > The top answer below is a partial answer to your question. > >

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread Jeremy Ardley
On 8/5/22 2:27 pm, Rick Thomas wrote: Thanks! Rick PS: I'll also do the IPv6 part, because I'm interested in that too. One word of caution moving away from ISC dhcp client is that any possibility of it being started by the networking daemon will result in very bad behaviour if you have

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread Jeremy Ardley
On 8/5/22 3:19 pm, Kamil Jońca wrote: I cannot see if systemd-networkd can run scripts[1] after change in lease. Am I missing something? The top answer below is a partial answer to your question.

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread Kamil Jońca
Jeremy Ardley writes: [...] > > You can just use systemd-networkd as an IPv4 dhcp client. I cannot see if systemd-networkd can run scripts[1] after change in lease. Am I missing something? KJ [1] similar to /etc/dhcp/dhclient*hooks.d -- http://wolnelektury.pl/wesprzyj/teraz/

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread john doe
On 5/8/2022 5:24 AM, Rick Thomas wrote: On Sat, May 7, 2022, at 8:14 PM, Jeremy Ardley wrote: On 8/5/22 10:47 am, Rick Thomas wrote: ISC has ended development on the ISC DHCP client as of early 2022. This client implementation is no longer maintained and should not be used in production any

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread Rick Thomas
On Sat, May 7, 2022, at 9:37 PM, Jeremy Ardley wrote: > On 8/5/22 11:27 am, Rick Thomas wrote: >> Thanks for the heads up! >> Can you describe in detail what one needs to do in order to switch over? >> I.e. what to remove, what to install? What to configure? > > This is a recent blogpost of

Re: Alternatives to ISC dhcp-client ?

2022-05-07 Thread Jeremy Ardley
On 8/5/22 11:27 am, Rick Thomas wrote: Thanks for the heads up! Can you describe in detail what one needs to do in order to switch over? I.e. what to remove, what to install? What to configure? This is a recent blogpost of mine showing a more complex installation including IPv6

Re: Alternatives to ISC dhcp-client ?

2022-05-07 Thread Rick Thomas
On Sat, May 7, 2022, at 8:19 PM, Jeremy Ardley wrote: > On 8/5/22 11:14 am, Jeremy Ardley wrote: >> >> >> You can just use systemd-networkd as an IPv4 dhcp client. >> >> > > Of note: Using systemd-networkd you should not use NetworkManager or > networking services. I think both use the ISC dhcp

Re: Alternatives to ISC dhcp-client ?

2022-05-07 Thread Rick Thomas
On Sat, May 7, 2022, at 8:14 PM, Jeremy Ardley wrote: > On 8/5/22 10:47 am, Rick Thomas wrote: >> ISC has ended development on the ISC DHCP client as of early 2022. >>> This client implementation is no longer maintained and should not be >>> used in production any longer. >> Can anybody recommend

Re: Alternatives to ISC dhcp-client ?

2022-05-07 Thread Jeremy Ardley
On 8/5/22 11:14 am, Jeremy Ardley wrote: You can just use systemd-networkd as an IPv4 dhcp client. Of note: Using systemd-networkd you should not use NetworkManager or networking services. I think both use the ISC dhcp client Of further note, I moved to systemd-networkd precisely

Re: Alternatives to ISC dhcp-client ?

2022-05-07 Thread Jeremy Ardley
On 8/5/22 10:47 am, Rick Thomas wrote: ISC has ended development on the ISC DHCP client as of early 2022. This client implementation is no longer maintained and should not be used in production any longer. Can anybody recommend a good replacement? I presently use systemd-networkd which

Alternatives to ISC dhcp-client ?

2022-05-07 Thread Rick Thomas
According to the ISC webpage: > ISC has ended development on the ISC DHCP client as of early 2022. > This client implementation is no longer maintained and should not be > used in production any longer. Can anybody recommend a good replacement? Does anybody know what the Debian PTBs are planning