Samba or ksmbd and HDD invisible in windows network environment

As in the tittle:

With samba or ksmbd , HDD is invisible in Windows network environment

Remark:

If i use manually IP addrers as \192.168.1.xxx in explorer no problems

Solution ?

install wsdd2
this is broken with DHCP from 21.x on
but ok with static assigned address