• Re: default network management tools

    From Matthias Urlichs@21:1/5 to All on Thu Jul 11 12:00:01 2024
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------psfSSTFFdZQy9EN3wDOGwV0A
    Content-Type: multipart/alternative;
    boundary="------------ni0AsW475tybggkjT400r0CL"

    --------------ni0AsW475tybggkjT400r0CL
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gMTEuMDcuMjQgMDg6MTMsIE1hcmMgSGFiZXIgd3JvdGU6DQo+IFRoZXJlZm9yZSwgeW91 IGNvdWxkIGNoYW5nZQ0KPiBjb25maWd1cmF0aW9uIHdoaWxlIHRoZSBJbnRlcmZhY2NlIHdh cyB1cCBhbmQgdGhlbiBqdXN0IHNheSAiaWZkb3duIDsNCj4gaWZ1cCIgYW5kIGJlIGZpbmUu IE5vIG5ldHdvcmsgY29uZmlndXJhdGlvbiBzb2Z0d2FyZSB1cCB0byB0b2RheSBoYXMNCj4g VEhBVCBmZWF0dXJlLg0KDQpTaG91bGRuJ3QgInN5c3RlbWN0bCByZWxvYWQgc3lzdGVtZC1u ZXR3b3JrZCIgZG8gZXhhY3RseSB0aGF0Pw0KDQotLSANCi0tIHJlZ2FyZHMNCi0tIA0KLS0g TWF0dGhpYXMgVXJsaWNocw0KDQo=
    --------------ni0AsW475tybggkjT400r0CL
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <div class="moz-cite-prefix">On 11.07.24 08:13, Marc Haber wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:E1sRn3d-00000001Syk-0Hem@swivel">
    <pre>Therefore, you could change
    configuration while the Interfacce was up and then just say "ifdown ;
    ifup" and be fine. No network configuration software up to today has
    THAT feature.</pre>
    </blockquote>
    <p>Shouldn't "systemctl reload systemd-networkd" do exactly that?</p>
    <pre class="moz-signature" cols="72">--
    -- regards
    --
    -- Matthias Urlichs</pre>
    </body>
    </html>

    --------------ni0AsW475tybggkjT400r0CL--

    --------------psfSSTFFdZQy9EN3wDOGwV0A--

    -----BEGIN PGP SIGNATURE-----

    wsF5BAABCAAjFiEEr9eXgvO67AILKKGfcs+OXiW0wpMFAmaPqY0FAwAAAAAACgkQcs+OXiW0wpMc gw/+LCDrB3z3tnMlEtVNEZH9P70+J5HV6l3PS1S6MRbbfHd3sTmaei4DyNwVyfai7Uq6M9BRPxbf YXgp6dOkjHyUKwuqKmTu7lYM0KhAihyi59quctUJQ2wK3oMHLt7rnyXdBBr6oe7A8dG768aNCj8g ehIPi4hVYII/Oymii6rhuRV/NTbVKurC9XdFoGZ8mLF/4fBY929C//a2WstJDG3P57MfQmTMFK+v 7YiR/aFy97K+t67GcX+Rm91eXSRdFRzTwftnMHsckOdFue10AVjGoqzp3QAs7F1PBJdxdh8cXdQV rP0uKRhtYVPhWUiazYk7VPBMeKWVjfAVr8upkC2nOxgk9Ys5N9u9VOi2S0CKhhLtCb5ADo0KCE8p evgSdzeR+xrODwOQXNb6tcvLBMJOpBIavJqOFQ8B/gF4eqHT4qbnPrimGb8Qb2n5yeurBkTYku9R o1oVqbTCLSXkVRqGXZ8stHE8QbJLNaEuNU73v/blM9NHML0JQ6RhT/alnAMvCDkTpyVS9eBOn8Rq doVkJQOSwybhmuGMGYuJWabAx/5lQGMBnHAnlXEWRYNszzjznBTDwTsWjWTX4vn5Y/MmpPFKHEDy kkhH2bw2k/6p714x0JLZHYD9tLqia8xY36MFWm6Jwhb2x6PQ2tlI5Piwf9Lj3MpZBWjUvWWSax6a IJY=
    =R8xz
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
  • From =?UTF-8?Q?Lukas_M=C3=A4rdian?=@21:1/5 to Thomas Goirand on Thu Jul 11 11:20:01 2024
    On 11.07.24 02:18, Thomas Goirand wrote:
    On 7/10/24 20:03, Michael Biebl wrote:
    Since there is a lot of support for this idea, the next logical step as smcv said, would be to make d-i/netcfg networkd aware. At the beginning, this could be opt-in (for testing purposes) and we could make it the default later on.

    Any takers?

    If someone were to add that support in d-i for Trixie, that'd be great. Even better IMO, if it had support for Netplan. Then we could switch the default for Forky?

    We're actually pretty close in getting D-I support for Netplan merged [d-i/netcfg !9], which would enable Netplan+systemd-networkd for new installations by default. In addition to that it supports Netplan+NetworkManager backend for Desktop installations,
    as it is today.

    That way, we will be able to rely on the two most popular, well tested and well maintained networking daemons (systemd-networkd & NetworkManager), while also being able to use the common Netplan configuration language, controlling both (optionally!).
    Everybody is still free to write their own custom sd-networkd .network or N-M .nmconnection in /etc/ or configure the daemon through corresponding D-Bus APIs or GUI/TUI applications, by just not putting any configuration for a given interface into /etc/
    netplan/.

    Netplan should be considered a unification layer on top of those networking daemons, which allows Debian as a project to use common language around networking, e.g. in Debian-Installer [d-i/netcfg !9], [cloud] deployments or [documentation], independent
    of the chosen backend daemon (sd-networkd on Cloud & Server, NetworkManager on Desktop).

    Additional benefits of Netplan:
    * Already used on Debian Bookworm [cloud] images by default
    * Well tested (big autopkgtest suite) and supported by a company
    * Lots of knowledge, Q/A & tutorials on the internet, as its being used by millions of people since many years
    * Proven track record, being the default for several Ubuntu LTS releases
    * Python dependency considered optional, base installations only need the "netplan-generator" package
    * Solid documentation and a stable API for libnetplan, as of [Netplan 1.0]

    This would allow us to combine the best of two worlds, while leaving everybody with full flexibility for custom configurations.
    In addition to that, I'd propose to keep ifupdown in maintenance mode for a transitional period (Trixie at least), to keep backwards compatibility for existing systems and give people some time in transitioning to new networking tools.

    Cheers,
    Lukas

    PS: If you happen to be at Debconf in Korea in a few weeks, please join my [networking BoF].


    [d-i/netcfg !9] https://salsa.debian.org/installer-team/netcfg/-/merge_requests/9
    [cloud] https://blog.slyon.de/2023/07/10/netplan-and-systemd-networkd-on-debian-bookworm/
    [documentation] https://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_modern_network_configuration_for_cloud
    [Netplan 1.0] https://blog.slyon.de/2024/04/04/netplan-v1-0-paves-the-way-to-stable-declarative-network-management/
    [networking BoF] https://debconf24.debconf.org/talks/10-past-present-and-future-of-networking-in-debian/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco d'Itri@21:1/5 to Matthias Urlichs on Thu Jul 11 13:50:01 2024
    On Jul 11, Matthias Urlichs <matthias@urlichs.de> wrote:

    On 11.07.24 08:13, Marc Haber wrote:
    Therefore, you could change
    configuration while the Interfacce was up and then just say "ifdown ;
    ifup" and be fine. No network configuration software up to today has
    THAT feature.
    Shouldn't "systemctl reload systemd-networkd" do exactly that?
    Indeed, it does.

    --
    ciao,
    Marco

    -----BEGIN PGP SIGNATURE-----

    iHUEABYIAB0WIQQnKUXNg20437dCfobLPsM64d7XgQUCZo/GdgAKCRDLPsM64d7X gcItAQCKExTbfJKp/F9UNoUBHbqygm0VSMNF11Y973mD1dJGEAD8CoLvf5sYDmFp fHCHSUVMwbcvbSKNb3tccKIaahFwRAQ=
    =wBmt
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Haber@21:1/5 to Marco d'Itri on Thu Jul 11 14:20:01 2024
    On Thu, 11 Jul 2024 13:48:06 +0200, Marco d'Itri <md@Linux.IT> wrote:
    On Jul 11, Matthias Urlichs <matthias@urlichs.de> wrote:

    On 11.07.24 08:13, Marc Haber wrote:
    Therefore, you could change
    configuration while the Interfacce was up and then just say "ifdown ;
    ifup" and be fine. No network configuration software up to today has
    THAT feature.
    Shouldn't "systemctl reload systemd-networkd" do exactly that?
    Indeed, it does.

    When I tried it last time, it didnt remove changed addresses, just
    added the new ones. Maybe it grew that functionality in the mean time
    and I didnt notice.

    Greetings
    Marc
    --
    ---------------------------------------------------------------------------- Marc Haber | " Questions are the | Mailadresse im Header Rhein-Neckar, DE | Beginning of Wisdom " |
    Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 6224 1600402

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)