this happens each time there is a power cut.
the Pi comes back way faster than the router and when it tries to get an IP the router is not there yet
so I always need to power it off and on again.
it seems the DHCP client does not try to reget an IP when the router is back on.
there is a switch in between.
I am running ArchLinux