I'm trying to setup my VM based on CentOS 7 with more than one internal IP address, but it doesn't seem to be as straightforward as Amazon AWS.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can add internal IP for VM using routes. (https://cloud.google.com/compute/docs/reference/beta/routes)
Here an example of setting another static internal IP to VM: https://cloud.google.com/compute/docs/networking#staticnetworkaddress