Using the admin command line interface (CLI) `license-control` tool to register and license an Messaging Gateway system returns a "Bad IP address" error and the system remains unlicensed.
This issue has been resolved with the SMG 10.7.4 release. The license-control command now licenses new Messaging Gateway installations as expected.