The post describes what files to remove or edit to disable IP Version 6 on Solaris 8,9,10 on systems that only require IPv4 (IPv6 configuration is no longer needed).
Procedure
1. Normally all that is needed to disable IPv6 on Solaris, is to check for and remove the /etc/hostname6.”interface#” files.
For example:
# ls /etc/hostname6.* /etc/hostname6.eri0 # rm /etc/hostname6.eri0
2. Other optional files to check:
If a 6to4 router was configured, remove file /etc/hostname6.ip.6to4tun0.
# rm /etc/hostname6.ip.6to4tun0
3. If desired, the IPv6 hosts entries can be removed from file /etc/ipnodes.
4. If Solaris IPv6 Router was setup, /etc/inet/ndpd.conf can be modified to comment out variables that was set for in.ndpd .
5. You can also specify IPv4 only in /etc/default/inet_type to prevent “ifconfig” and “netstat” from loading ipv6 modules and display IPv6 statistics.
DEFAULT_IP=IP_VERSION4
6. For Solaris 10, insure that the following service is also disabled:
svc:/network/routing/legacy-routing:ipv6 svc:/network/ipv6-forwarding:default