Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
purging old provider-assigned IPv6 prefixes?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
palettentreter
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2006
Posts: 100

PostPosted: Wed Jan 07, 2015 4:32 pm    Post subject: purging old provider-assigned IPv6 prefixes? Reply with quote

Hello everyone,

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?

Code:

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...
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5927

PostPosted: Fri Jan 09, 2015 3:09 am    Post subject: Reply with quote

IPv6 addresses become stale and get deleted automatically (two separate things) after a delay set by the router. `ip addr show` would have shown the timeouts but you're using ifconfig.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum