Versions Compared

Key

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

Openstack allows you to create networks addressed with IPv6. SkyHiGh is configured with global routable IPv6 prefixes, and this article is about to explain how you can create a virtual network with global routable IPv6 addresses.

Table of Contents
outlinetrue

Using the web interface

Unfortunatley this is currently only possible using the command line clients.

...

Code Block
languagebash
titleAdd external routing to IPv6 subnetVerify the configuration
linenumberstrue
 eigilo@access:~$ openstack subnet show DemoNet-v6
+-------------------+--------------------------------------------------------------+
| Field             | Value                                                        |
+-------------------+--------------------------------------------------------------+
| allocation_pools  | 2001:700:1d00:e88a::2-2001:700:1d00:e88a:ffff:ffff:ffff:ffff |
| cidr              | 2001:700:1d00:e88a::/64                                      |
   ...
| gateway_ip        | 2001:700:1d00:e88a::1                                        |
| host_routes       |                                                              |
| id                | 7b242c30-40e2-4727-83d7-18e5bbe18a8a                         |
| ip_version        | 6                                                            |
| ipv6_address_mode | slaac                                                        |
| ipv6_ra_mode      | slaac                                                        |
| name              | DemoNet-v6                                                   |
   ...
+-------------------+--------------------------------------------------------------+

Configuring incoming access over IPv6

After an IPv6 subnet is created it is important to update the access groups if one wants to allow external access to the virtual machines over IPv6.

Allow incoming SSH

To allow any host at NTNU in Gjøvik to log in to your virtual machines over SSH you would need to add the following rule to the security-group assigned to the VM:

Code Block
languagebash
titleAllow incoming SSH
linenumberstrue