dhcp: allocate private IP addr if dhcp failed.