Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ipv6: how to reconfigure radvd after DSL reconnect?
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
dr.nil
n00b
n00b


Joined: 18 Jul 2007
Posts: 47

PostPosted: Mon Jul 30, 2012 5:16 am    Post subject: ipv6: how to reconfigure radvd after DSL reconnect? Reply with quote

Hi,

I'm trying to get started with ipv6. On my gentoo router box I can start a 6to4 tunnel and ping hosts on the ipv6 network - so far so good. Now I'd like the hosts on my home network (behind the gentoo router box) to use ipv6, too. On the Gentoo IPv6 Router Guide I read that I'd need to run radvd to advertize the routes to the internal network so that I can get a valid ipv6 address for the internal machines.

However, my DSL provider disconnects after 24 hours and upon reconnect I will get a new ipv4 address assigned. This will change the ipv6 address, too and from what I understand so far this requires changes in the radvd configuration.

I did not find any good tips on how to reconfigure radvd - can anyone shed some light, please?
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Mon Jul 30, 2012 10:16 am    Post subject: Reply with quote

I don't know for other 6to4 providers but with HE your /48 stays the same even if you change you're public IPv4 address. (but you still have to update your HE account with your new IPv4 -- which can be done via a script--)
_________________
The End of the Internet!
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Mon Jul 30, 2012 2:31 pm    Post subject: Reply with quote

If you run `/sbin/ip monitor address` it outputs lines every time an interface IP changes - you could use that as the basis to script something when your external IP resets.
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Mon Jul 30, 2012 5:53 pm    Post subject: Reply with quote

Ant P. wrote:
If you run `/sbin/ip monitor address` it outputs lines every time an interface IP changes - you could use that as the basis to script something when your external IP resets.


If you really need to restart radvd because your allocated IPv6 prefixes changes when your IPv4 address changes(which I doubt), then you'd better hook a script during the DHCP (re)negociation. (dhclient & dhcpcd, at least, supports that)
_________________
The End of the Internet!
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