Step 3. Setting up IPv6 to be configured on hosts at every restart
The IPv6 hosts settings configured in Step 1. Setting up hosts for IPv6 are deleted when you restart the machine. To enable IPv6 hosts functionality every time you restart the machine, follow this procedure.
- Open the /etc/rc.tcpip file in a text editor.
- Uncomment the following line in the /etc/rc.tcpip file:
# Start up autoconf6 process start /usr/sbin/autoconf6 ""Note: If the preceding line is not present in the /etc/rc.tcpip file, add it in the file. - Add the -A flag to start /usr/sbin/autoconf6 "".
start /usr/sbin/autoconf6 "" –A - Add the following line in the /etc/rc.tcpip file
after the line you uncommented (or added):
chdev –l en0 –a netaddr6=’2001:2:3:4:206:29ff:fe04:55ec’ –a prefixlen=64 - Delete any previously existing prefix routes, by entering the
following command:
chdev -l inet0 –a delrout6=’–net, 2001:2:3:4::/64’ - Set up a route, by entering the following command:
chdev -l inet0 –a rout6=’–net, 2001:2:3:4::/64 ,fe80::206:29ff:fe04:66e,–static’
When you restart the machine, your IPv6 configuration is set.
Note: You
must repeat this procedure for each host.