Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #247984 > unrolled thread

Re: Alternatives to ISC dhcp-client ?

Started byKamil Jońca <kjonca@o2.pl>
First post2022-05-08 09:50 +0200
Last post2022-05-08 10:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Alternatives to ISC dhcp-client ? Kamil Jońca <kjonca@o2.pl> - 2022-05-08 09:50 +0200
    Re: Alternatives to ISC dhcp-client ? Jeremy Ardley <jeremy@ardley.org> - 2022-05-08 10:20 +0200

#247984 — Re: Alternatives to ISC dhcp-client ?

FromKamil Jońca <kjonca@o2.pl>
Date2022-05-08 09:50 +0200
SubjectRe: Alternatives to ISC dhcp-client ?
Message-ID<EkJPX-e2On-1@gated-at.bofh.it>
Jeremy Ardley <jeremy@ardley.org> 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/

[toc] | [next] | [standalone]


#247985

FromJeremy Ardley <jeremy@ardley.org>
Date2022-05-08 10:20 +0200
Message-ID<EkKiZ-e3dn-1@gated-at.bofh.it>
In reply to#247984

[Multipart message — attachments visible in raw view] — view raw

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.

https://unix.stackexchange.com/questions/469716/systemd-networkd-run-script-after-dhcp-client-aqcuires-new-address

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


> -- 
Jeremy

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web