I tried, did it wrong, but i found my error.
These settings are in a gui (wlan icon -> advanced options....) And I put in my IPv4 address, mask and gateway. But I overlooked that the default method is "Automatic (DHCP)" And the self assigned static ip only works if the method is set to manual.
thx for the help