On Thu, 16 Jun 2011 11:28:48 +0200 Stephan Seitz <stse+deb...@fsing.rootsland.net> wrote:
> On Wed, Jun 15, 2011 at 06:52:54PM +0200, Christian Hammers wrote: > >As a workaround you can already add the following to > >/etc/network/interfaces to change your "fixed address": > > > > # Mark this address as still reachable but deprecated as source > > # address for new outgoing connections: > > up ip addr change 2001:f00::1234/64 dev eth0 preferred_lft 0 > > Thanks for your answer. > So how do you do the auto configuration? Do you have radvd running or > a DHCPv6 server? If I understand correctly, radvd won’t give you DNS > servers. How would an interface configuration look like? I use /etc/network/interfaces for the static IP and tell the kernel via sysctl to accept Router-Advertisements for additional prefixes (autoconf=1 and accept_ra=1) under which it should generate random addresses (use_tempaddr=2). New IPv6 Adresses then appear magically with scope "global temporary dynamic". My DNS servers are configured fixed in /etc/resolv.conf. There is no radvd or dhcp6d running. iface eth0 inet6 static address 2001:4dd0:0:xxx:yyy:: netmask 64 gateway fe80::1 pre-up sysctl net.ipv6.conf.eth0.autoconf=1 pre-up sysctl net.ipv6.conf.eth0.use_tempaddr=2 pre-up sysctl net.ipv6.conf.eth0.accept_ra=1 bye, -christian- -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110616114649.3a617...@sys-251.netcologne.de