Procedimiento de como deshabilitar IPV6 en AIX
1. Quitar las rutas IPv6 de la ODM:
2. # odmdelete -o CuAt -q "name=inet0 and attribute=rout6"
Utilizando SMIT:
# smitty configtcp6
---> IPV6 static routes
---> Flush routing table
Asegurarse que las opciones queden de la siguiente forma:
Flush Routing Table in the Current Running System no
Flush IPV4 Routes in the Configuration Data Base no
Flush IPV6 Routes in the Configuration Data Base yes
IMPORTANTE: no activar la opción "Flush Routing Table in the Current Running System" si no queremos perder conectividad con el host.
2. Deshabilitar la configuración automática de IPv6 en el próximo reinicio:
# chrctcp -d autoconf6
Utilizando SMIT:
# smitty configtcp6
---> IPV6 Daemon/Process Configuration
---> Autoconf6 Process
---> Stop using the autoconf6 process at next system RESTART
3- Deshabilitar el dæmon NDP (host) ahora y también en el próximo reinicio:
# chrctcp -S -d ndpd-host
Utilizando SMIT:
# smitty configtcp6
---> IPV6 Daemon/Process Configuration
---> Ndpd-host subsystem -> Stop using the Ndpd-host subsystem
---> Next System RESTART
4- Deshabilitar el dæmon NDP (router) ahora y también en el próximo reinicio:
# chrctcp -S -d ndpd-router
Utilizando SMIT:
# smitty configtcp6
---> IPV6 Daemon/Process Configuration
---> Ndpd-host subsystem -> Stop using the Ndpd-Router subsystem
---> Next System RESTART
5- Deshabilitar soporte para IPv6 en inetd
# chrctcp -S -c inetd -f "ipv6=no"
Utilizando SMIT:
# smitty configtcp6
---> IPV6 Daemon/Process Configuration
---> inetd subsystem
---> Change/show characteristics of inetd Subsystem
Asegurarse de que la opción "Start the inetd subsystem with IPV6 on?" esté seteada en "no" como se ve a continuación.
Start the inetd subsystem with IPV6 on? no
6- Asegurarse de que las siguientes líneas del archivo /etc/rc.tcpip estén comentadas.
# Start up autoconf6 process
#start /usr/sbin/autoconf6 ""
# Start up ndpd-host daemon
#start /usr/sbin/ndpd-host "$src_running"
# Start up the ndpd-router daemon
#start /usr/sbin/ndpd-router "$src_running"
7- Editar el archivo /etc/netsvc.conf de la siguiente forma:
Buscar:
hosts=local,bind
Reemplazar por lo siguiente:
hosts=local4,bind4
8- Reiniciar la LPAR.
9- Si la lista de tablas de ruteo continúa indicando soporte para IPv6 en la interfaz de loopback lo0:
Ej:
# netstat -rn
Routing tables
Destination Gateway Flags Refs Use If Exp Groups
[.....]
[.....]
Route tree for Protocol Family 24 (Internet v6):
::1 ::1 UH 0 46 lo0 - -
Deshabilitarlo con:
# lsattr -El lo0
# chdev -l lo0 -a netaddr6=''
# lsattr -El lo0
# ifconfig -a
# ifconfig lo0 inet6 ::1/0 delete
# ifconfig -a
10. Muchas suertes! :)