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


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

Re: Alternatives to ISC dhcp-client ?

Started byKamil Jońca <kjonca@o2.pl>
First post2022-05-08 19:00 +0200
Last post2022-05-08 19:00 +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 19:00 +0200
    Re: Alternatives to ISC dhcp-client ? john doe <johndoe65534@mail.com> - 2022-05-08 19:00 +0200

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

FromKamil Jońca <kjonca@o2.pl>
Date2022-05-08 19:00 +0200
SubjectRe: Alternatives to ISC dhcp-client ?
Message-ID<EkSqd-e7Zm-1@gated-at.bofh.it>
Kamil Jońca <kjonca@o2.pl> 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.
>

Another question. Can I pass option during interface up/down?
For example, in my if-up*/if-down* scripts I have code for replacing (or
not!) default route when needed.[1]

Then I can execute something like:

--8<---------------cut here---------------start------------->8---
ifup wlan0 -o replacedefaultroute=on
--8<---------------cut here---------------end--------------->8---

how I can achieve this with networkctl (or other systemd tool)?

Moreover https://gitlab.com/craftyguy/networkd-dispatcher/-/issues/61
So my migration probes are not very promising :/

I take into account that I have some habits and some thing should be
done completely different way[2]. But for now I even don't know if some
things can be achieved. 

KJ
[1]
in man systemd.network
I found
--8<---------------cut here---------------start------------->8---
[DHCPV4]
UseRoutes=
--8<---------------cut here---------------end--------------->8---
but I am not sure if this is about default routes or only classless
static routes

[2] - I had to spent some time to "properly" translate my iptables
rules/scripts to nftables ones (using sets and maps instead simple
iptables -I ... nad iptables -D ... command). 


-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html

[toc] | [next] | [standalone]


#247996

Fromjohn doe <johndoe65534@mail.com>
Date2022-05-08 19:00 +0200
Message-ID<EkSqd-e7Zm-17@gated-at.bofh.it>
In reply to#247995
On 5/8/2022 6:33 PM, Kamil Jońca wrote:
> Kamil Jońca <kjonca@o2.pl> 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.
>>
>
> Another question. Can I pass option during interface up/down?
> For example, in my if-up*/if-down* scripts I have code for replacing (or
> not!) default route when needed.[1]
>
> Then I can execute something like:
>
> --8<---------------cut here---------------start------------->8---
> ifup wlan0 -o replacedefaultroute=on
> --8<---------------cut here---------------end--------------->8---
>
> how I can achieve this with networkctl (or other systemd tool)?
>
> Moreover https://gitlab.com/craftyguy/networkd-dispatcher/-/issues/61
> So my migration probes are not very promising :/
>
> I take into account that I have some habits and some thing should be
> done completely different way[2]. But for now I even don't know if some
> things can be achieved.
>

You might be better off asking this on the appropriate mailing list! :)

--
John Doe

[toc] | [prev] | [standalone]


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


csiph-web