more fixes for dynamic IP address assignment.