After migrating from LXD to Incus and renaming the bridge network manually, instances have no internet access

Hi,

I just migrated my LXD installation to Incus with lxd-to-incus. I didn’t like that the bridge network was still called lxdbr0, so I tried to rename it with incus network rename. To make that work I did this:

$ incus network detach-profile lxdbr0 default
$ incus network rename lxdbr0 incusbr0
$ incus network attach-profile lxdbr0 default

But now, my containers can’t access the internet anymore.
Specifically, my Ubuntu 24.04 LTS containers fail resolving all hostnames:

ubuntu@swift:~$ curl https://example.org
curl: (6) Could not resolve host: example.org

incus list says the containers have IPv6 addresses, but not IPv4 addresses.

Does anybody know why this is the case and what I can do to resolve it?

I think I know why—I had a firewall rule for lxdbr0 that made it function but of course that firewall rule doesn’t apply to incusbr0

1 Like

Yes, it worked