How to configure the IPv6 network on a KVM slave?
Warning: The steps below includes reboot of the networking service that can cause remote connection. Make sure that there is an alternative option to access the server like IPMI
Note: IPv6 addresses pool along with gateway should be provided by Data Center
Connect to the Slave node over SSH.
/etc/sysconfig/networkwith a text editor and add the below lines:
where aaaa:bbbb:a01a::1 - the necessary IPv6 gateway.
/etc/sysconfig/network-scripts/ifcfg-br0file with a text editor and add the following content:
where aaaa:bbbb:cccc:0000:0100::1 - the necessary IPv6 address for the slave node.
/etc/sysctl.confwith a text editor and add the following content:
Note: the first line may be already present in the file, do not add it in that case
Execute the following commands to apply changes:
# sysctl -p
# service network restart
Check the IPv6 connection from the slave node:
# ping6 ipv6.google.com -c3