Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
eigilo@access:~$ openstack floating ip create extntnu-netinternal
+---------------------+--------------------------------------+
| Field               | Value                                |
+---------------------+--------------------------------------+
| created_at          | 2017-02-02T14:52:46Z                 |
| description         |                                      |
| fixed_ip_address    | None                                 |
| floating_ip_address | 17210.16212.1136.61  24                        |
| floating_network_id | 22a507fa-ca51-4b57-bf84-784213917662 |
| headers             |                                      |
| id                  | 1a90e802-5bc4-4997-b255-b2c942cfaa94 |
| port_id             | None                                 |
| project_id          | 2a4b680765554d728aa2f4d8aadab653     |
| project_id          | 2a4b680765554d728aa2f4d8aadab653     |
| revision_number     | 1                                    |
| router_id           | None                                 |
| status              | DOWN                                 |
| updated_at          | 2017-02-02T14:52:46Z                 |
+---------------------+--------------------------------------+

...

Code Block
 eigilo@access:~$ openstack floating ip list
+------------------------+-----------------------+------------------+-------------------------+
| ID                     | Floating IP Address   | Fixed IP Address | Port                    |
+------------------------+-----------------------+------------------+-------------------------+
| 1a90e802-5bc4-4997-b25 | 17210.16212.1136.6121         | None             | None                    |
| 5-b2c942cfaa94         |                       |                  |                         |
| 5736b7eb-7934-4629     | 17210.16212.1136.4420         | 10.14.1.105      | 635637c2-b1ca-4759      |
| -921c-8d9cbda9c0af     |                       |                  | -8c5b-e7711c667138      |
+------------------------+-----------------------+------------------+-------------------------+

...

Code Block
eigilo@access:~$ openstack server add floating ip MySecondServer 17210.16212.1136.6121

At this point you should be able to ping the server:

Code Block
eigilo@access:~$ ping 17210.16212.1136.6121
PING 17210.16212.1136.6121 (17210.16212.1136.6121) 56(84) bytes of data.
64 bytes from 17210.16212.1136.6121: icmp_seq=1 ttl=62 time=3.23 ms
64 bytes from 17210.16212.1136.6121: icmp_seq=2 ttl=62 time=1.03 ms
^C
--- 17210.16212.1136.6121 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 1.032/2.135/3.238/1.103 ms

...

Code Block
eigilo@access:~$ ssh debian@172debian@10.16212.1136.6121 -i .ssh/id_rsa
The authenticity of host '17210.16212.1136.6121 (17210.16212.1136.6121)' can't be established.
ECDSA key fingerprint is SHA256:PIR85mFU0TiOZ0mXHz1ExMvds1D1YO1eF+/TTniAYfo.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '17210.16212.1136.6121' (ECDSA) to the list of known hosts.
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian@mysecondserver:~$