简体   繁体   中英

How to map VM to internal network?

I have a Dell's Machine with High on Resources like (32 GB RAM, 24 cores of CPU and 5 TB of Disk Space).

I have installed Openstack(devstack) on this Machine which has Ubuntu installed on it and has IP address 10.10.1.3.

This machine is in our local network , means i can ssh directly to this big machine from my laptop if i am in same network.

Now i have created a virtual machine instance using openstack and it has Ubuntu on it and it has IP address 10.10.0.3.

Now i want to access this virtual machine directly from my laptop like i access the big machine.

Any solution for this?

If your vm (let's call it "instance") is on a internal network (tenant/project network) what you need is a FIP (floating IP) from your external network so you can assign that FIP to your openstack instance. Also ensure your security groups allow ssh to your vm !.

I have some questions here so I can help you a better way:

  • Do you have an external network already created (flat or vlan based) ?.

  • The vm is using a tenant/project internal (gre/vxlan) network ?

  • Did you create a router in your tenant, which is using the external network for external access ?.

  • The aforementioned router is already connected to your internal network ?.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM