How to disable IPv6 in Soalris
APPLIES TO : Disable IPv6 in Solaris, Solaris Operating System - Version 8 6/00 U1 to 10 8/11 U10 [Release 8.0 to 10.0]
ISSUE : Currently no ISO images available with IPS repositories for Oracle Solaris Studio, nor with patches for Oracle Solaris Studio.
GOAL : This document describes what files to remove or edit to disable IP Version 6 on Solaris[TM] 8,9,10 on systems that only require IPv4 (IPv6 configuration is no longer needed)
SOLUTION : This document describes what files to remove or edit to disable IP Version 6 on Solaris[TM] 8,9,10 on systems that only require IPv4 (IPv6 configuration is no longer needed)
Prerequisites : It is not recommended to disable IPv6 on Solaris 11.
1. Make a backup of the IPv6 NDP daemon's configuration file, (if it exists),
by using;
# cp /etc/inet/ndpd.conf /etc/inet/ndpd.conf.`date +%Y%m%d`
2. Remove any lines from the IPv6 NDP Daemon's configuration file. Then
add these 2 lines;
StatefulAddrConf false
StatelessAddrConf false
These lines will prevent remote and automatic IPv6 address assignments.
3. Stop and restart the NDP Daemon;
svcadm restart ndp
4. Delete any IPv6 interfaces, for example using "net0/v6";
ipadm show-addr
ipadm delete-addr net0/v6
ipadm show-addr
5. Disable the following services;
# svcadm disable svc:/network/routing/legacy-routing:ipv6
# svcadm disable svc:/network/dhcp/server:ipv6
# svcadm disable svc:/network/dhcp/relay:ipv6
6. Reboot to verify IPv6 remains off
Oracle SupportDocument 1010562.1 How to disable IPv6
~Judi~
No comments:
Post a Comment