[英]Is there any way I can allocate PrivateIP from my Host's Machine network subnet to an Openstack instance
Consider I am currently residing in an organization X which has its own network and subnet(172.16.0.0/16) from which it assigns a privateIP to each machine in organization.考虑到我目前居住在一个组织 X 中,该组织拥有自己的网络和子网 (172.16.0.0/16),它从中为组织中的每台机器分配一个私有 IP。 I have an instance(Ubuntu) assigned to me and on that I am running open-stack and my machine private IP is 172.16.34.56/32.我有一个实例(Ubuntu)分配给我,我正在运行开放堆栈,我的机器私有 IP 是 172.16.34.56/32。
On my instance I have installed open-stack and through that have launched some VMS.在我的实例上,我安装了开放堆栈,并通过它启动了一些 VMS。
My Question is can i assign my organization one of private IP to VMs running on open-stack, so that it can be accessed from any where with in organization.我的问题是我可以为我的组织分配一个私有 IP 给在开放堆栈上运行的虚拟机,以便可以从组织内的任何地方访问它。
yes, it is possible to assign your machine private n/w (172.16.34.56/32) to the openstack VMs, in that case, it would be a provider n/w for your openstack VMs.是的,可以将您的机器私有 n/w (172.16.34.56/32) 分配给 openstack VM,在这种情况下,它将成为您的 openstack VM 的供应商 n/w。
To accomplish this, you have to add your machine private n/w interface to the below configuration while installing neutron.为此,您必须在安装 neutron 时将您的机器私有 n/w 接口添加到以下配置中。 File Name: /etc/neutron/plugins/ml2/linuxbridge_agent.ini Add that interface here, [linux_bridge] physical_interface_mappings = provider:PROVIDER_INTERFACE_NAME文件名:/etc/neutron/plugins/ml2/linuxbridge_agent.ini 在这里添加那个接口,[linux_bridge] physical_interface_mappings = provider:PROVIDER_INTERFACE_NAME
Be Cautions while adding a provider n/w subnet.添加提供商 n/w 子网时要注意。 It should not overlap with any existing used IP addresses or subnet.它不应与任何现有使用的 IP 地址或子网重叠。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.