• Re: Bridge without bridge-utils does not work

    From Frank Guthausen@21:1/5 to [email protected] on Mon Jan 13 11:10:01 2025
    On Sun, 12 Jan 2025 23:35:53 -0300
    Luís Felipe <[email protected]> wrote:

    If I create a
    bridge directly using "ip link add name br0 type bridge" it works
    normally, but I want to leave it in etc/network/interface so that it
    is a persistent and automatic configuration. Please, I need some help
    with this because I don't believe that Debian forces us to install a deprecated package.

    You can add a line like
    ``pre-up ip link add name br0 type bridge''
    to your config. This might help. Bridge will be removed similarly with ``post-down [...]''.
    --
    kind regards
    Frank

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

    iQGzBAEBCgAdFiEE86z15c6qwvuAkhy+zDIN/uu9BloFAmeE5DIACgkQzDIN/uu9 BloGJwv/edSmXsVCmySsp5+Ah7Nq6BrG/uYxPVxcQYcQF6vStP/Ifpw93i+Y63rY Pfo8wkBMXQOkcSdxMhT/k89ZpC7vmNHJfHfp3uy0Wtfwg5L4QDGlqUDGRZjXNAqB MIm7Ei2OxC6S6HO1p2bGLwT0wGGq/XZ29MI8AN6H0ip/SfXuxq8wfIRNEerR9NlP a4EYO1bPFHnR2KXbbAJvXS5nCVZB8x0euZC4qEgLyHrzhsRychzvqIYyfhTDEgXd MnnviW1XEVKv4mxJJP6GtMoWzkkFEDzTHJHHwidVyLp+ut5GXaZ4jq/L45uvJTHn xelhm9R8mEBClbXLz+iZLSEeZigD5RI2LHlqEHlp5uhpGxqJUbdzgDeKzqFxr+BO DunptNcXXcGADUQa2Cothvhl2vaLkBPceeDM+lv7ZP3RYuOXRPnyCd1qGf7OtlNv LCOvWpgwubqhPCCKCtKFUnre1RnrCKyCt+PICYKC0wBYrb5XjiszmmMRoQA3VDjp
    a19HpXy1
    =knaH
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to All on Mon Jan 13 14:40:01 2025
    Hi,

    On Sun, Jan 12, 2025 at 11:35:53PM -0300, Lu�s Felipe wrote:
    If I create a bridge directly using "ip link add name br0 type bridge"
    it works normally, but I want to leave it in etc/network/interface so
    that it is a persistent and automatic configuration. Please, I need
    some help with this because I don't believe that Debian forces us to
    install a deprecated package.

    Debian doesn't, ifupdown does, which is perfectly believable since
    ifupdown is quite an old package with not many people working on it. It
    simply hasn't been updated to stop using brctl. There are a lot of
    things like that with ifupdown.

    You may have more luck using systemd-networkd or network-manager or just
    your own scripts to configure networking. There is nothing special about "ifupdown" (/etc/network/interfaces) in Debian; it's just one of several
    ways to manage your networking and for many people not even the best
    way.

    A workaround has already been suggested fopr ifupdown using pre-up /
    post-down hooks which is half way to using your own scripts.

    Thanks,
    Andy

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Stone@21:1/5 to Andy Smith on Mon Jan 13 16:20:02 2025
    On Mon, Jan 13, 2025 at 01:31:30PM +0000, Andy Smith wrote:
    Debian doesn't, ifupdown does, which is perfectly believable since
    ifupdown is quite an old package with not many people working on it. It >simply hasn't been updated to stop using brctl.

    More importantly, who cares? It gets the job done.

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