Hi,
I’m using Incus with an un-managed bridge. The bridge (lxContBBR0) is configured on the host via NetPlan, where it gets IP details for the host via a DHCP server on the LAN.
That all works fine. I’m now trying to get Debian 13 LXC instances to pick up IPv4 and IPv6 off an existing server on the LAN. Unfortunately, they don’t seem to get an address, and I’m not sure if it’s a firewall issue, Incus host confg issue, or the config of the networking in the instances themselves.
I’ve passed the linux bridge (lxContBBR0) through to the default profile:
description: Default Incus profile
devices:
eth0:
nictype: bridged
parent: lxContBBR0
type: nic
The profile appears to have correctly associated it to the profile and instance that is using it:
incus network list
+------------+----------+---------+------+------+-------------+---------+-------+
| NAME | TYPE | MANAGED | IPV4 | IPV6 | DESCRIPTION | USED BY | STATE |
+------------+----------+---------+------+------+-------------+---------+-------+
| docker0 | bridge | NO | | | | 0 | |
+------------+----------+---------+------+------+-------------+---------+-------+
| eno1 | physical | NO | | | | 0 | |
+------------+----------+---------+------+------+-------------+---------+-------+
| enp5s0 | physical | NO | | | | 0 | |
+------------+----------+---------+------+------+-------------+---------+-------+
| lo | loopback | NO | | | | 0 | |
+------------+----------+---------+------+------+-------------+---------+-------+
| lxContBBR0 | bridge | NO | | | | 2 | |
+------------+----------+---------+------+------+-------------+---------+-------+
| wlp6s0 | physical | NO | | | | 0 | |
+------------+----------+---------+------+------+-------------+---------+-------+
(At this point in time there is just one other test instance running for me to work with: third)
incus network show lxContBBR0
config: {}
description: ""
name: lxContBBR0
type: bridge
used_by:
- /1.0/instances/third
- /1.0/profiles/default
managed: false
status: ""
locations: []
project: default
Config for ‘third’:
incus config show third
architecture: x86_64
config:
image.architecture: amd64
image.description: Debian trixie amd64 (20260222_05:24)
image.os: Debian
image.release: trixie
image.serial: "20260222_05:24"
image.type: squashfs
image.variant: default
volatile.base_image: 818654532564845dbd056522a3fd953f094fdd4f9877facc9b84441e0768e2a7
volatile.cloud-init.instance-id: b341474a-85ae-4fc7-9425-f835a2c6618e
volatile.eth0.host_name: veth9e473f8b
volatile.eth0.hwaddr: 10:66:6a:c6:b3:91
volatile.eth0.name: eth0
volatile.idmap.base: "0"
volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
volatile.last_state.idmap: '[]'
volatile.last_state.power: RUNNING
volatile.last_state.ready: "false"
volatile.uuid: c7f89dd3-52b9-4d21-8c32-c9053bf89d77
volatile.uuid.generation: c7f89dd3-52b9-4d21-8c32-c9053bf89d77
devices: {}
ephemeral: false
profiles:
- default
stateful: false
description: ""
Here’s the networkd config from inside the Deb 13 LXC instance called ‘third’:
[Match]
Name=eth0
[Network]
DHCP=true
[DHCPv4]
UseDomains=true
UseMTU=true
[DHCP]
ClientIdentifier=mac
Anyone able to suggest what might be going wrong?
Thanks