Ask Your Question

Access a server with floating ip through another project

asked 2018-11-01 13:46:39 -0600

sivadmp gravatar image

Hello, I have two PA and PB projects with their respective network

proy PA 
net: netPA 
subnet: subnet-pa:

Proy PB 
net: netPB 
subnet: subnet-pb:

Within each project I have 1 VM created with its floating IP

IP int:
floating IP:
open ports: 22,80,443

IP int:
floating IP:
open ports: 22,80,443

When I want to access the VM2 website from VM1 using the floating IP it does not allow me

I execute the traceroute

$ traceroute
traceroute to (, 30 hops max, 60 byte packets
 1 (  0.470 ms  0.449 ms  0.437 ms
 2  vm2 (  0.525 ms  0.503 ms  0.498 ms

I think I have a problem with the subnet???

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-11-14 12:50:42 -0600

reynoni gravatar image

Do you have static routes set up between the subnets? I think it will be very difficult for your subnets to communicate especially if they share IP addresses.

For example, if VM1 IP was in it's subnet, and VM2 was the same however in it's own subnet, how would the router ever know which one you are trying to route to?

So first off, I'd change one of the subnets to a slightly different value, if it's available.

Through the openstack network interface, share the network and create a port on the subnet. After the port has been created, find the IP of the port and add a static route to the that signals for the traffic intended for the .12. network goes through the port created and found above.

This is how we allow inter-project access through openstack. You will also probably have to set up security groups to allow access unless you have your instances wide open.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-11-01 13:46:39 -0600

Seen: 197 times

Last updated: Nov 14 '18