How to make fixed ip available to public network?
In my development environment, the fixed ip pool is 10.0.0.0/24, while the floating ip pool is 20.100.106.224/27. An instance is created with fixed ip 10.0.0.2 and floating ip 20.100.106.225. There is a program running in the instance. The program need to register its ip address and listening port to a server. But the program can only recognize the computer's ip as 10.0.0.2, which is unavailable to the public network.
I know that the floating ip can be detected by the server side when the program connected to it through tcp socket. But the program is unchangeable. So I have to find a way to solve this problem.
If the instance can be bridged to the public network, the problem then can bed solved. BUT it seems like that OpenStack does not support bridged virtual network as VMWare and other virtual machines do. Is this a by-design result?
Another potential solution is to make the fixed ip available to the public network, while I do not know how to make it work.
Can anyone help me with this problem? I have tried my best to make the problem clear, though it still looks confusing.