summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2018-07-23 17:25:53 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2018-07-23 17:25:53 +0000
commitefcc162e8375b5d1a56e133a6239cbcf0cce3c9b (patch)
tree664020ab3b4089350779af1e044ec44b26aa7792 /sys/arch
parent59b5de88e855863e0732e83b261e51f68fa0ac2d (diff)
When moving between networks slaacd configures new addresses but
leaves old ones behind. The IPv6 RFCs don't seem to offer guidance on what to do in this case. (RFC 5220 discusses related issues, but not exactly this.) It seems a bit harsh to just delete old addresses - a naive implementation can easily lead to flip-flopping between two prefixes. Instead set the preferred lifetime to 0 for all addresses on an interface when the link goes down, thus marking addresses as deprecated but still usable. When the link comes back send a router solicitation. If we are still on the old network and receive a router advertisement the preferred lifetime will increase and the addresses will no longer be deprecated. If we moved to a new network we will get new router advertisements and form new addresses. The old ones will stay deprecated and the address selection algorithm will prefer new addresses. Problem reported by many. testing & OK phessler
Diffstat (limited to 'sys/arch')
0 files changed, 0 insertions, 0 deletions