Package: linux-image-2.6.26-1-686
Version: 2.6.26-13
Severity: normal

Documentation for temp_prefered_lft states that:
#v+
temp_prefered_lft - INTEGER
        Preferred lifetime (in seconds) for temporary addresses.
        Default: 86400 (1 day)
#v-

But this setting seems to be ignored:
#v+
# dev="wire"
# ip link set $dev down
# sysctl -w net.ipv6.conf.$dev.use_tempaddr=2
net.ipv6.conf.wire.use_tempaddr = 2
# sysctl -w net.ipv6.conf.$dev.max_desync_factor=0
net.ipv6.conf.wire.max_desync_factor = 0
# sysctl -w net.ipv6.conf.$dev.temp_valid_lft=10
net.ipv6.conf.wire.temp_valid_lft = 10
# sysctl -w net.ipv6.conf.$dev.temp_prefered_lft=6
net.ipv6.conf.wire.temp_prefered_lft = 6
# ip address flush dev $dev
# ip link set $dev up
# sleep 5 # waiting for RA
# ip -6 a sh dev $dev secondary
4: wire: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 2001:6a0:12c:1100:1c54:33cb:4198:e058/64 scope global secondary 
tentative dynamic
       valid_lft 10sec preferred_lft 604800sec
#v-

Meanwhile, temp_valid_lft seems to be respected.

-- Package-specific info:
** Version:
Linux version 2.6.26-1-686 (Debian 2.6.26-13) (wa...@debian.org) (gcc version 
4.1.3 20080704 (prerelease) (Debian 4.1.2-24)) #1 SMP Sat Jan 10 18:29:31 UTC 
2009

** Not tainted

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.26-1-686 depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  initramfs-tools [linux-initra 0.92o      tools for generating an initramfs
ii  module-init-tools             3.4-1      tools for managing Linux kernel mo

Versions of packages linux-image-2.6.26-1-686 recommends:
ii  libc6-i686                    2.9-0exp2  GNU C Library: Shared libraries [i

Versions of packages linux-image-2.6.26-1-686 suggests:
ii  lilo                          1:22.8-7   LInux LOader - The Classic OS load
pn  linux-doc-2.6.26              <none>     (no description available)

-- debconf information excluded

--
Piotr Lewandowski



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to