I described it here more detailed:
https://forum.proxmox.com/threads/recommend-way-for-encryption.148614/post-704287
tl;dr;
It boots and prompts for decryption-passphrase
when i try to connect with ssh while this, there is "no route to host".
But the prompt on the machine says the ip is 192.168.1.4, gw is 192.168.1.254 netmask is 255.255.255.0, as i configured.
I can hit 3 times enter or write the passphrase for luks on the prompt, the it boots until login (this is only a testdrive for encryption, not the root-device).
I have on the same machine in dualboot a pure debian bookworm beside. initramfs is configured with dropbear-initramfs exactly the same.
There i have NO prompt for password on the local machine. I have to login via ssh to dropbear from remote, fill in the luks passphrase, then the boot-process continues.
It looks like dropbear does not start and/or the network configuration for initramfs does not work at all...
Alright, I will have a look into the linked thread (a bit later) and see if something comes to my mind. NB If you do not insist on the dropbear, you could be also using something like tang/clevis for your purpose. But will take it to there then.