Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi Bernd Bausch, thank you for the great response.

Your assumption is correct:

eth0   -  Internal API;
eth0:1 -  External API;
eth1   -  Internet access.

Configuration:

[root@controller ~]# grep physical_interface_mappings /etc/neutron/plugins/ml2/linuxbridge_agent.ini
physical_interface_mappings = provider:eth1
[root@controller ~]#
[root@controller ~]# grep local_ip /etc/neutron/plugins/ml2/linuxbridge_agent.ini
local_ip = 10.0.0.2
[root@controller ~]#

This configuration was performed on both nodes (computer and controller) and the eth1 interface is connected directly to the router that gives me access to the internet.

The connection is normally performed:

[root@controller ~]# ping google.com -I eth1
PING google.com (172.217.29.238) from MY-PUBLIC-IP-HERE eth1: 56(84) bytes of data.
64 bytes from gru06s28-in-f14.1e100.net (172.217.29.238): icmp_seq=1 ttl=55 time=55.8 ms
64 bytes from gru06s28-in-f14.1e100.net (172.217.29.238): icmp_seq=2 ttl=55 time=55.9 ms
64 bytes from gru06s28-in-f14.1e100.net (172.217.29.238): icmp_seq=3 ttl=55 time=55.7 ms
^C
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 55.782/55.881/55.979/0.080 ms
[root@controller ~]# 

I have created two instances and I can ping between the two, for example:

Instance 1 - 192.168.1.11
Instance 2 - 192.168.1.12

I can ping normally between the two internally, but when I assign a public IP, I can't ping to it nor can I ping from within the instance to the internet.

Do you think it would be some problem with my router that frees public IP or some problem with my configuration? Any tests I can carry out? Or any log I can check?

[root@controller ~]# neutron agent-list
+--------------------------------------+--------------------+--------------------------------+-------------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host                           | availability_zone | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+--------------------------------+-------------------+-------+----------------+---------------------------+
| 0f625580-9dcc-4dff-a531-3c09f70c3016 | Linux bridge agent | computer.hostname.com |                   | :-)   | True           | neutron-linuxbridge-agent |
| 11cdc8e8-b45a-4cba-aeb2-bbb7c7fc8670 | L3 agent           | controller.hostname.com    | nova              | :-)   | True           | neutron-l3-agent          |
| 73266726-3c62-4cd5-8e15-159d87afb613 | Linux bridge agent | controller.hostname.com    |                   | :-)   | True           | neutron-linuxbridge-agent |
| 8eea7cce-48ca-442b-b961-da2b9cc76886 | Metadata agent     | controller.hostname.com    |                   | :-)   | True           | neutron-metadata-agent    |
| b8b0e6b2-55d2-45b6-8d11-eb8283e83ddb | DHCP agent         | controller.hostname.com    | nova              | :-)   | True           | neutron-dhcp-agent        |
+--------------------------------------+--------------------+--------------------------------+-------------------+-------+----------------+---------------------------+
[root@controller ~]# 

All services work normally: https://pastebin.com/raw/VkNThXzT

Thanks again for your help.