Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I'm writing here since comment would be too short.

Now I'm able to get my IP to Fedora instance. I did the following

PUBLIC(10.20.0.0/24) <----> ROUTER (public interface: 10.20.0.100) <-------> PRIVATE (10.0.30.0/24)

Now when I booted machine I've got IP of 10.0.30.57. I assigned Floating IP from PUBLIC POOL 10.20.0.108

What now seems to be problem, is that I cannot reach from my workstation (where everything is installed) that IP - 10.20.0.108. Neither via PING and when I try to SSH it says: No Route to Host

I can PING 10.20.0.100 which is public interface on router.

Router config: [root@osaio log]# neutron router-show deee80db-215b-4480-b1b0-de4014fdfb67

| admin_state_up | True
| distributed | False
| external_gateway_info | {"network_id": "6a98ab75-7b18-458a-b992-e627cc15b48b", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "e66599db-a8fe-40e9-a185-62460955179d", "ip_address": "10.20.0.100"}]} | ha | False
| id | deee80db-215b-4480-b1b0-de4014fdfb67
| name | extrouter
| routes |
| status | ACTIVE
| tenant_id | 4d45f655b0ad4b7db998f80d957629f8

Do I need to add some routes somewhere? But shouldn't this already be done by Neutron automatically?

Thank you...

I'm writing here since comment would be too short.

Now I'm able to get my IP to Fedora instance. I did the following

PUBLIC(10.20.0.0/24) <----> ROUTER (public interface: 10.20.0.100) <-------> PRIVATE (10.0.30.0/24)

Now when I booted machine I've got IP of 10.0.30.57. I assigned Floating IP from PUBLIC POOL 10.20.0.108

What now seems to be problem, is that I cannot reach from my workstation (where everything is installed) that IP - 10.20.0.108. Neither via PING and when I try to SSH it says: No Route to Host

I can PING 10.20.0.100 which is public interface on router.

Router config: [root@osaio log]# neutron router-show deee80db-215b-4480-b1b0-de4014fdfb67

| admin_state_up | True
| distributed | False
| external_gateway_info | {"network_id": "6a98ab75-7b18-458a-b992-e627cc15b48b", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "e66599db-a8fe-40e9-a185-62460955179d", "ip_address": "10.20.0.100"}]} | ha | False
| id | deee80db-215b-4480-b1b0-de4014fdfb67
| name | extrouter
| routes |
| status | ACTIVE
| tenant_id | 4d45f655b0ad4b7db998f80d957629f8

Do I need to add some routes somewhere? But shouldn't this already be done by Neutron automatically?

UPDATE:

The Thing is resolved by very "stupid" Action... And that is RESTART of neutron-l3-agent.

So the symptoms were following: - Everything seemd to be alright from perspective of configuration - From Router Namespace I was able to ping outside world, as well as, private IP of running VM instance - From Router Namespace I wasn't able to ping Floating IP address, but was able to ping public gateway - From Host where OpenStack was installed I wasn't able to ping Floating IP, but was able to ping public gateway

In short, everything seemd to be alright...

Thank you...

you once more, Nenchy