I created another profile with correct device name:
incus profile show bridgeprofile2
config: {}
description: Bridged networking LXD profile
devices:
eth0:
name: eth0
nictype: bridged
parent: br0
type: nic
name: bridgeprofile2
used_by: []
➜ ~ incus -p default -p bridgeprofile2 launch images:alpine/3.20 alpine
Launching alpine
➜ ~ incus -p default -p bridgeprofile2 launch images:ubuntu/noble ubuntu
Launching ubuntu
➜ ~ incus list
+--------+---------+------+------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+--------+---------+------+------+-----------+-----------+
| alpine | RUNNING | | | CONTAINER | 0 |
+--------+---------+------+------+-----------+-----------+
| ubuntu | RUNNING | | | CONTAINER | 0 |
+--------+---------+------+------+-----------+-----------+
They cant get IP address and they can’t access network.
root@ubuntu:~# ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
22: eth0@if23: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:16:3e:00:d3:70 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fe80::216:3eff:fe00:d370/64 scope link
valid_lft forever preferred_lft forever