Talk:IPv6 Static Addresses using Tokens
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using
~~~~
:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC) : A reply [[User:Sally|Sally]] 12:44, 21 December 2024 (UTC) :: Your reply ~~~~
Trouble?
This worked well for me on one machine - but another one refuses to assign the ::35 on boot - even with /etc/conf.d/net edited.
At first I thought it was because sysctl shows 'net.ipv6.conf.eno1.accept_ra = 0' (which I had to change to get it to work without a reboot) but even setting that manually in /etc/sysctl.d doesn't make it work - thought it comes up with ra set to 1 after boot.
A restart of the net.eno1 devices sets it back to 0.
I have to do
tank ~ # sysctl -w net.ipv6.conf.eno1.accept_ra=1 net.ipv6.conf.eno1.accept_ra = 1 tank ~ # ip token set ::158 dev eno1 tank ~ # rc-service net.eno1 restart
and then it works - until the next reboot. I can't figure out what is blocking it.
Well, it was working - now rc-service net.eno1 restart kills "accept_ra" and it doesn't work ....
Very annoying. — The preceding unsigned comment was added by Bombcar (talk • contribs) 2021-01-17
- Interesting. Did you take a look at your sysctl settings of
net.ipv6.conf.default.*
? Maybe accept_ra is set to 0 there and will be set to 0 on the interface on each (device-)restart? It's just a guess. Stefan00 (talk) 11:26, 19 January 2021 (UTC)
- Insane! I go to follow this and immediately ra gets turned off for enp4s0f1! "net.ipv6.conf.enp4s0f1.accept_ra = 1" before I do the ip token and rc-service restart, and "net.ipv6.conf.enp4s0f1.accept_ra = 0" after! Posted to the forums here: https://forums.gentoo.org/viewtopic-t-1128565.html --Bombcar (talk) 20:40, 20 January 2021 (UTC)