Initialize ip address on network interface.