Create LXC container with static IP on Debian 11

Hello,

I use a Debian 11 distribution on which I have installed LXC.
I can’t assign static ip like with the old version of debian.

sudo nano /etc/lxc/dhcp.conf
dhcp-host=lxc1,10.0.3.11

sudo nano /etc/default/lxc-net
USE_LXC_BRIDGE=“true”
LXC_DHCP_CONFILE=/etc/lxc/dhcp.conf

I don’t have 10.0.3.11 but 10.0.3.98 instead.

Is there a simple way to restore static ip’s as before ?

thanks