Step 4. Setting up IPv6 to be configured on the router at every restart
The IPv6 router settings configured in Step 2. Setting up the router for IPv6 are deleted when you restart the machine. To enable IPv6 router 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 /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 lines after the line that you uncommented (or
added) in step 2 to configure Global IP on the router and to configure
the prefix route.
In this scenario, the network has only one subnet, en0. You must add a line to this file for every subnet to which the router sends packets.chdev –l en0 –a netaddr6=’2001:4:5:6:207:30ff:fe05:66ec’ –a prefixlen=64 chdev -l inet0 –a rout6=’–net,2001:2:3:4::/64,fe80::3ca6:70ff:fe00:3004,–static’
When you restart the machine, IPv6 is automatically started on the machine.
Note: When you use static configurations simultaneously with ndpd-host make
sure various flags in ndpd-host are explored to
retain static IPs and routes, if needed.