Tux's lil' helper
Joined: 06 Feb 2006
|Posted: Wed Jan 07, 2015 4:32 pm Post subject: purging old provider-assigned IPv6 prefixes?
I've just been blessed with a new DS-Lite cable connection, which is pretty awesome because I can do real routing into my home network. My provider assigns /64 prefixes which change every 15 days or so. However my (home-)server seems to keep collecting the advertised IPv6 addresses on its interface. Shouldn't it throw out the previous global IPv6 when it's assigned a new one?
br0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500
inet 192.168.10.1 netmask 255.255.255.0 broadcast 192.168.10.255
inet6 2a02:908:f32a:b:1:1:1:1:1:1 prefixlen 64 scopeid 0x0<global>
inet6 2a02:908:f32b:c:1:1:1:1:1:1 prefixlen 64 scopeid 0x0<global>
inet6 2a02:908:f32c:d:1:1:1:1:1:1 prefixlen 64 scopeid 0x0<global>
inet6 fe80::219:99ff:fe7e:d60e prefixlen 64 scopeid 0x20<link>
ether 01:01:01:01:01:01 txqueuelen 0 (Ethernet)
(I changed the actual addresses)
Now how can I clean that out? I don't see any reasonable way to find out which of the global IPv6 addresses is the correct one. Two of the three are invalid and really shouldn't be there at all. Any ideas?
Update: Right now I'm trying out dhcpcd (instead of the kernel's IPv6 RA handler) to do the IPv6 config on the server. Maybe that will do the trick. But if it does, I'm still wondering why the kernel wouldn't clean up by itself...