Add -i option to register with interface IP.