[LXD 4.1] lxd nat network for multiple container ip

Hello :wave:

I have a problem with my lxdbr0 nat network. It work nice and assign an ip to the container when i start it. But if i start another containers. Not ip are assigned to them .

Here is my network config:

:gem: ~ $ ❱❯❭ lxc network show lxdbr0
WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
ipv4.nat: “true”
ipv6.address: none
description: “”
name: lxdbr0
type: bridge

  • /1.0/instances/centos
  • /1.0/instances/d10
  • /1.0/instances/deb10-base
  • /1.0/instances/debian
  • /1.0/instances/test
  • /1.0/instances/test2
  • /1.0/instances/u20
  • /1.0/profiles/default
    managed: true
    status: Created
  • none

If someone have an idea about this problem :wink:

Your network’s subnet is /30 which only is going to allow a single usable IP.

Why not use a /24?

1 Like

Oh. Sorry about that. :smile_cat:
Thank you Thomas :+1: