[Update: May 23, 2019]
You can use global IPv6 address for the network constructed on SAKURA Cloud by enabling the IPv6 address assignment function for Router + switch . You can use the IPv6 address assignment function free of charge (separate fees for using [Router + Switch] are required).
Click [Switch] in the menu on the left side of the control panel to display the switch list. Double-click [Router + Switch] for which you want to enable the IPv6 address assignment.
For the procedures to create [Router + Switch], please refer to the :doc: Creation/deletion of switch and router + switch </network/switch/router-switch> page.
When you click [Router] tab, the [Enable IPv6] button will appear in the bottom right. Click it.
When an IPv6 address is added, the information will appear in the [Router] tab.
If you want to delete and disable the assigned IPv6, click the [IPv6 Address] tab and click the [Disable IPv6] button on the bottom right. The IPv6 function for router + switch will be disabled and the assigned block will be deleted.
Please note that the same assigned IPv6 address block cannot be used when assignment is enabled again.
Here, we will briefly introduce the procedure for IPv6 address assignment taking a CentOS6 server as an example.
Enter the following settings in the /etc/sysconfig/network file and enable the IPv6 function.
Since it does not support the IPv6 automatic configuration, please set “no” for the IPV6_AUTOCONF variable.
Add IPv6 network settings based on the information displayed on the [Router] tab in the network configuration file (e.g. /etc/sysconfig/network-scripts/ifcfg- eth0) of the interface to which you want to assign an IPv6 address.
IPV6INIT=yes IPV6ADDR=2401:2500:xxxx:xxxx:xxxx:100/64 IPV6_DEFAULTGW=fe80::1%eth0
*The IPv6 addresses that can be used per [Router + Switch] are with the last 64 bits of the assigned IPv6 address block from 0: 0: 0: 4 to ffff: ffff: ffff: ffff.
Restart the network service and update the setting.
# service network restart
Confirm that the IPv6 address setting is done for the device that is set with ifconfig.
# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 9C:A3:BA:XX:XX:XX inet addr:133.242.xxx.xxx Bcast:133.242.xxx.255 Mask:255.255.255.240 inet6 addr: fe80::9ea3:xxxx:xxxx:xxxx/64 Scope:Link inet6 addr: 2401:2500:xxxx:xxxx:xxxx:100/64 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:909 errors:0 dropped:0 overruns:0 frame:0 TX packets:767 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:80485 (78.5 KiB) TX bytes:134574 (131.4 KiB)
Also, send a ping to the external host with the IPv6 address and confirm the communication.
# ping6 research.sakura.ad.jp PING research.sakura.ad.jp(2001:e40:100:406::100) 56 data bytes 64 bytes from 2001:e40:100:406::100: icmp_seq=1 ttl=57 time=22.2 ms 64 bytes from 2001:e40:100:406::100: icmp_seq=2 ttl=57 time=22.1 ms 64 bytes from 2001:e40:100:406::100: icmp_seq=3 ttl=57 time=21.3 ms ...
*For detailed setting method, please refer to technical books, etc.
Reverse DNS lookup registration is possible for the IPv6 addresses assigned to [Router + Switch] just like the IPv4 addresses. Up to 200 pairs can be registered per [Router + Switch].
When you click the [IPv6 Address] tab at the top of the switch details screen, the IPv6 reverse DNS lookup registration list will appear on the screen. Click the [Add IPv6 Reverse Lookup] button at the bottom of the list to add a new one.
As a dialog box appears, enter the IPv6 address for reverse lookup and reverse lookup host name, and click the [Add] button. The IPv6 address and host name to be set must be registered for lookup in advance.
When the setting is completed, it is added to the reverse DNS lookup registration list.
*From the icons on the right of the list, you can delete the registration and edit the registered contents respectively.