how can I enable ipv6 on aws lightsail centos7 OS

0

I create a lightsail which OS is centos7 . I have enabled the ipv6 on the aws console , but my lightsail still cant use the ipv6 ,although ifconfig shows the ipv6 address in the inet6 . Can you tell me how to enable ipv6 ?

image

tang lu
preguntada hace un año343 visualizaciones
2 Respuestas
0
Respuesta aceptada

Edit the file with the following command.

sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0

Put the following settings at the end of the file.

# IPv6 connect (blog.risupu.jp/?p=264)
IPV6_AUTOCONF=yes

After saving the file, restart the network service with the following command.

sudo systemctl restart network
profile picture
EXPERTO
respondido hace un año
profile picture
EXPERTO
revisado hace un año
profile picture
EXPERTO
revisado hace un año
0
tang lu
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas

Contenido relevante