Google Cloud Compute 上的多个 IP 地址 [英] Multiple IP addresses on Google Cloud Compute

查看:43
本文介绍了Google Cloud Compute 上的多个 IP 地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用多个内部 IP 地址基于 CentOS 7 设置我的 VM,但它似乎不像 Amazon AWS 那样简单.

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.

推荐答案

您可以使用路由为虚拟机添加内部 IP.(https://cloud.google.com/compute/docs/reference/beta/路线)

You can add internal IP for VM using routes. (https://cloud.google.com/compute/docs/reference/beta/routes)

这里是为 VM 设置另一个静态内部 IP 的示例:https://cloud.google.com/compute/docs/networking#staticnetworkaddress

Here an example of setting another static internal IP to VM: https://cloud.google.com/compute/docs/networking#staticnetworkaddress

这篇关于Google Cloud Compute 上的多个 IP 地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆