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)