问题
I have a problem with a a particular licensed software that I have installed on a VM, and the software license should be tie to a public IP address on the NIC of the VM.
The software checks the IP address of the server where the application is installed and verifies against the public license server of the application manufacturer, and if the IP address doesn't match, the software stops working.
The software company has issue temporary license to my VM using private IP address, since I wasn't able to have a public static IP on my NIC, but I have to change that license every month, since is not safe for the software company to issue a license with a private IP.
I read on several discussion groups that is not possible to assign an public IP address to NIC, but is there anyway to circumvent this obstacle and for some means make the VM verify the public IP address is configured on the NIC?
The way I have it working today, with the hassle of renewing the license for my private ip address every month, is with the VM NIC with the private ip address and the VM assigned a public static IP address. The application works, but in terms of licensing it's been a pain and I am at the mercy of the software company.
Any help will be greatly appreciated.
Thank you!
回答1:
In most clouds, IBM Cloud is an exception, the VM NIC does not actually have a public IP address bound to it nor can you do so. The public IP address is bound to the public side of a one-to-one NAT which translates from the public Internet to the internal VPC.
This is my option: the software vendor needs to update its licensing strategy, which uses a simple, immature and problematic licensing strategy. Most companies are not able to assign public IP addresses to computer systems except for necessary external facing systems. For enterprise systems, inline firewalls will prevent even external systems from having public IP addresses. A licensing strategy based upon a system's NIC address (IP or MAC) is a technical support nightmare.
来源:https://stackoverflow.com/questions/58269432/gcp-static-public-ip-on-vm-nic