You are not logged in.

#1 2018-03-07 12:15:55

mnd999
Member
Registered: 2018-03-07
Posts: 4

Did something change on IPv6 stateless autoconfig

I'm using netctl to configure my network on a desktop PC with a wired lan.

The profile is as follows and hasn't really changed forever:

Description='A basic dhcp ethernet connection'
Interface=enp11s0
Connection=ethernet
IP=dhcp
DHCPClient=dhcpcd -6
IP6=stateless

However, in recent weeks the IPv6 address seems to be getting lost. Right after rebooting the maching the stateless configuration works, but after a few minutes the IPv6 addresses all get lost and it's stuck on V4. Other stations on the LAN work fine, as does this PC when booted into FreeBSD. Have I missed a change in this area? Is there anything I can do to debug this further? I'm not sure how to force a router solicitation under Linux with netctl.

Thanks,

Mark

Offline

#2 2018-03-07 12:54:39

progandy
Member
Registered: 2012-05-17
Posts: 3,080

Re: Did something change on IPv6 stateless autoconfig

dhcpcd expects to be responsible for both IPv4 and IPv6. If you run it in v4-only mode, then it disables the kernel ipv6 handling. This decision has been reversed in git.
You can try to either

  • use dhclient for ip4,

  • set IP6=dhcp,

  • downgrade dhcpcd,

  • use the git version of dhcpcd.

By the way, for a time you were considered crazy for using the kernel implementation: https://github.com/rsmarples/dhcpcd/com … f9c0e3f0d9

DHCPClient=dhcpcd -6

that is useless, you can remove the -6 here.

Last edited by progandy (2018-03-07 19:50:59)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2018-03-07 19:13:22

mnd999
Member
Registered: 2018-03-07
Posts: 4

Re: Did something change on IPv6 stateless autoconfig

I prefer crazy and working to sane and broken any day.

Thanks for the pointers, I guess I need to tinker with it some more.

Offline

#4 2018-03-08 15:43:09

rsmarples
Member
Registered: 2009-05-12
Posts: 199

Re: Did something change on IPv6 stateless autoconfig

progandy wrote:

By the way, for a time you were considered crazy for using the kernel implementation: https://github.com/rsmarples/dhcpcd/com … f9c0e3f0d9

I still consider people that want that as crazy smile

Offline

Board footer

Powered by FluxBB