external IP doesn't work properly

asked 2019-04-23 01:00:50 -0500

Ehsan gravatar image

we have an issue in our open stack. it's about when we assign both internal and external ip to instances, external interface can't get IP. On Horizon we can see instance has IP but when we ssh into the instance, the external interface doesn't have any IP. anyone can help?

edit retag flag offensive close merge delete

Comments

What do you mean by external interface of an instance?

Do you mean the instance does not get the floating IP via DHCP? This is so by design. The router uses DNAT to translate the floating IP to the instance’s static IP; the instance is not aware of the floating IP.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-23 08:54:15 -0500 )edit

There is no issue with the floating IP. it can get floating. I mean when an instance has 2 interfaces (Internal, External) then we have 2 different pools for each network. In this case, the only internal interface can get IP from DHCP and external interface can't get IP.

Ehsan gravatar imageEhsan ( 2019-04-23 09:13:14 -0500 )edit

Your instance has two interfaces connected to different networks? Can you share the network topology?

Also, are you sure that the instance is configured to obtain an IP address for two interfaces?

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-23 10:15:59 -0500 )edit

Internal pool ->192.168.100.0/24 External pool -> 80.90.100.0/24 I can create an instance and assign Internal network and there is no problem with IP address and floating IP. same for external. but when I want to create an instance with 2 interfaces (Internal&External) then only internal can get IP

Ehsan gravatar imageEhsan ( 2019-04-23 12:44:10 -0500 )edit

Does the instance perform DHCP on both interfaces?

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-23 16:07:28 -0500 )edit