You are not logged in.

#1 2021-05-09 10:16:17

kovac
Member
Registered: 2020-03-14
Posts: 41

[Solved] Not getting an ipv6 address

When I try the command `ip -6 addr`, I get an empty result. Then I tried the command `sysctl -a | grep ipv6 | grep disable` and I see the following result:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.all.disable_policy = 0
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.default.disable_policy = 0
net.ipv6.conf.enp0s31f6.disable_ipv6 = 1
net.ipv6.conf.enp0s31f6.disable_policy = 0
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.lo.disable_policy = 0
net.ipv6.conf.tun0.disable_ipv6 = 1
net.ipv6.conf.tun0.disable_policy = 0
net.ipv6.conf.wlp0s20f3.disable_ipv6 = 1
net.ipv6.conf.wlp0s20f3.disable_policy = 0

So, I can see that the ipv6 is disabled somewhere, but I can't figure out where the configuration is. I do not have a file `/etc/sysctl.d/40-ipv6.conf`.

Last edited by kovac (2021-05-09 12:25:22)

Offline

#2 2021-05-09 11:01:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: [Solved] Not getting an ipv6 address

What are you using for setting up the network connection? That will be the primary determinator on whether a ipv6 address is allocated.

Offline

#3 2021-05-09 11:05:49

kovac
Member
Registered: 2020-03-14
Posts: 41

Re: [Solved] Not getting an ipv6 address

I use netctl.

Offline

#4 2021-05-09 11:13:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: [Solved] Not getting an ipv6 address

And did you set IP6= to some value in your profile that would lead to an ipv6 address being allocated? From

man netctl.profile wrote:

IP6= [mandatory for IPv6]
           One of ‘static’, ‘stateless’, ‘dhcp-noaddr’, ‘dhcp’, ‘no’ or left out (empty) altogether. The difference between
           not specifying and setting to ‘no’ is in the handling of router advertisement packages, which is blocked by
           ‘no’.

Last edited by V1del (2021-05-09 11:13:42)

Offline

#5 2021-05-09 12:24:52

kovac
Member
Registered: 2020-03-14
Posts: 41

Re: [Solved] Not getting an ipv6 address

That worked! I set

IP6=stateless

and reenabled my profile with `netctl reenable my_profile_name` and rebooted.

Thanks!

Offline

Board footer

Powered by FluxBB