Become superuser on the system where you want to enable IPv6.
Type the following for each interface.
# touch /etc/hostname6.interface |
Interface |
Interface name, such as le0, le1. |
Reboot the node
The reboot process sends router discovery packets. The router responds with a prefix. The response enables the node to configure the interfaces with an IPv6 address. Rebooting also restarts key network daemons in IPv6 mode.
Display the IPv6 addresses of all interfaces.
# ifconfig -a6 |
To show both IPv4 and IPv6 addresses, just use the -a option.
Add the IPv6 address to the appropriate name service as follows:
For NIS and NIS+, see How to Add IPv6 Addresses to NIS and NIS+.
For DNS, see How to Add IPv6 Addresses to DNS.