Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #247995
| From | Kamil Jońca <kjonca@o2.pl> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Alternatives to ISC dhcp-client ? |
| Date | 2022-05-08 19:00 +0200 |
| Message-ID | <EkSqd-e7Zm-1@gated-at.bofh.it> (permalink) |
| References | <EkSqd-e7Zm-3@gated-at.bofh.it> <EkSqd-e7Zm-5@gated-at.bofh.it> <EkSqd-e7Zm-7@gated-at.bofh.it> <EkSqd-e7Zm-9@gated-at.bofh.it> <EkSqd-e7Zm-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
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
csiph-web