简体   繁体   English

有什么方法可以将 PrivateIP 从主机的机器网络子网分配给 Openstack 实例

[英]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.

相关问题 如何从外部网络访问本地计算机上的Openstack? - How to Access Openstack on my local machine from External network? 如何从VM访问外网的openstack vm实例 - How to access the openstack vm instance from external network from VM OpenStack中现有虚拟机的ovf - ovf from an existing virtual machine in OpenStack OpenStack的。 “除了cirrOS之外的任何图像都没有找到有效的主机” - Openstack. “No valid host was found” for any image other than cirrOS OpenStack + OpenContrail:在将OpenContrail与现有Openstack集成之前,是否需要确保OpenStack网络状态干净? - OpenStack+OpenContrail: Do I need to ensure OpenStack network state is clean before integrate OpenContrail with an existing Openstack? 我们可以通过 Internet 的中转网关访问私有子网中的 EC2 实例吗? - Can we reach an EC2 instance in private subnet through a transit gateway from internet? 我可以将 openstack 链接到其他服务器吗? - can i link openstack to other servers maybe? 如何从子域外部访问OpenStack VM实例的实例? - How to access the instance of OpenStack VM instance from outside the subnent? OpenStack上的多种网络类型 - Multiple network type on openstack 无法从外部网络 ping OpenStack 机器的实例 - Cannot ping instances of OpenStack machine from external net
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM