How to access the floating IP in different systems in open stack?

asked 2019-06-11 00:06:03 -0600

Viston gravatar image

updated 2019-07-04 03:22:35 -0600

Installed the openstack in the server. The Host IP given is 192.168.1.2. Created the instance using ubuntu_14 image and also associated the floating IP 192.168.1.234. Enabled TCP and ICMP rules in security group. Installed Apache2 in the instance. I can only access the instance in the browser of server that is 192.168.1.2 and not able to access the floating IP in other devices using the same network. I can access the floating IP through SSH. Can anyone please help me in accessing the IP in other devices?


[ml2]
tenant_network_types = vxlan
mechanism_drivers = openvswitch,linuxbridge

I created the external network on the horizon dashboard which is private network 192.168.0.0/24. Also listed the floating IP range in local.conf file that is 192.168.1.224/27.

The default gateway for the router of the internal server is 192.168.1.1. We have assigned the public IP to the server 43.x.x.x. The instance is connecting to my internal server through gateway 192.168.1.225 which is br-ex.

If I do traceroute from the instance to my system(192.168.1.134) I get:

traceroute 192.168.1.134
traceroute to 192.168.1.134 (192.168.1.134), 30 hops max, 60 byte packets
 1  192.168.0.1 (192.168.0.1)  0.960 ms  0.745 ms  0.513 ms
 2  192.168.1.225 (192.168.1.225)  0.589 ms  0.414 ms  0.400 ms
 3  192.168.1.134 (192.168.1.134)  1.029 ms  1.375 ms  0.776 ms
edit retag flag offensive close merge delete

Comments

1

There are many ways of installing and configuring OpenStack. This question can only be answered if one knows how you map Neutron’s external network to your existing physical network. Picture how traffic from the other devices is routed to the instance, and you are on the way to an answer.

Bernd Bausch gravatar imageBernd Bausch ( 2019-06-11 00:42:57 -0600 )edit

Now I can ping and ssh other devices in my internal network from the instance but I cannot ping or ssh instance from other devices within my internal network.

Viston gravatar imageViston ( 2019-06-28 06:26:21 -0600 )edit

I can't say more without additional information.

Bernd Bausch gravatar imageBernd Bausch ( 2019-06-28 09:17:04 -0600 )edit

May I know what are the additional information that you require?

Viston gravatar imageViston ( 2019-07-03 07:56:51 -0600 )edit

Your Neutron configuration. Which core plugin; if the core plugin is ML2, which type and mechanism drivers; to which network(s) are the instances connected; how are these networks routed to the world outside of the cloud; how did you create the external network.

Bernd Bausch gravatar imageBernd Bausch ( 2019-07-03 09:41:29 -0600 )edit