Subscribe via RSS Feed Connect on Google Plus Connect on LinkedIn
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...Loading...

Erros comuns de configuração IPv6 no Linux (CENTOS)

8 de dezembro de 2014 0 Comments
ShareTweet about this on TwitterShare on TumblrShare on LinkedInShare on Google+Share on FacebookPin on PinterestEmail this to someonePrint this page

ERRO1

[root@vm1-gt network-scripts]# ifconfig eth1 inet6 add 2004:45b:3403:2503::5/64
No support for INET6 on this system.

 

Remover linhas que estão desabilitando IPv6

[root@vm1-gt modprobe.d]# grep ipv6 *
modprobe.conf:options ipv6 disable=1
modprobe.conf:alias ipv6 off

Corrigido!

[root@vm1-gt ~]# cd /etc/modprobe.d/
[root@vm1-gt modprobe.d]# grep ipv6 *

 

Restartar (no pior caso bootar!)

/etc/init.d/network restart

 

ERRO 2

ifconfig eth1 inet6 add 2004:45b:3403:2503::51/64 up
SIOCSIFADDR: Permission denied

Corrigir SYSCTL

[root@vm1-gt modprobe.d]# sysctl -a | grep ipv6 | grep disa
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth1.disable_ipv6 = 1

Corrigido!

[root@vm1-gt modprobe.d]# sysctl -a | grep ipv6 | grep disa
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
net.ipv6.conf.eth1.disable_ipv6 = 0
[root@vm1-gt modprobe.d]#

 

Restartar (no pior caso bootar!)

/etc/init.d/network restart

 

 

 

Seu ip é:
54.162.76.55

ShareTweet about this on TwitterShare on TumblrShare on LinkedInShare on Google+Share on FacebookPin on PinterestEmail this to someonePrint this page
Filed in: IPv6, Linux

About the Author:

O autor trabalha com tecnologia de redes há 13 anos, participa de congressos no Brasil e no mundo, e contribui para melhoria de protocolos e sistemas com fabricantes de equipamentos de rede.