On Wed, Apr 19, 2017 at 09:32:56AM -0400, Eike Lantzsch wrote: > On Wednesday, 19 April 2017 14:22:32 -04 Peter N. M. Hansteen wrote: > > On Wed, Apr 19, 2017 at 11:16:44AM +0200, Harald Dunkel wrote: > > > > Give a try to ifconfig as regarde privacy policy lifetime : pltime & > > > > vltime if i'm still right. You can also preset this two counters using > > > > the same command.> > > > ??? Sorry, but I don't understand this first sentence. > > > > > > I would like to see the address lifetime, which address is preferred, > > > which is deprecated, etc. On Linux a simple command like "ip a s" shows. > > As quoted above, ifconfig is your friend: > > > > [Wed Apr 19 14:19:35] peter@elke:~$ ifconfig iwm0 > > iwm0: flags=208943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,AUTOCONF6> > > mtu 1500 lladdr a0:a8:cd:63:ab:b9 > > index 1 priority 4 llprio 3 > > groups: wlan egress > > media: IEEE802.11 autoselect (HT-MCS4 mode 11n) > > status: active > > ieee80211: nwid we_collect_all_your_nasty-bits5 chan 36 bssid > > e0:3f:49:23:bb:2c 29% wpakey <not displayed> wpaprotos wpa2 wpaakms psk > > wpaciphers ccmp wpagroupcipher ccmp inet6 fe80::a2a8:cdff:fe63:abb9%iwm0 > > prefixlen 64 scopeid 0x1 inet 192.168.103.126 netmask 0xffffff00 broadcast > > 192.168.103.255 inet6 2001:470:28:658:a2a8:cdff:fe63:abb9 prefixlen 64 > > autoconf pltime 604759 vltime 2591959 inet6 > > 2001:470:28:658:54c6:1b6f:ee43:32b9 prefixlen 64 deprecated autoconf > > autoconfprivacy pltime 0 vltime 444443 inet6 > > 2001:470:28:658:9039:71e4:30e2:a37e prefixlen 64 autoconf autoconfprivacy > > pltime 11955 vltime 530703 > > > > That's output from my laptop just now, with autoconfigured inet6 addresses. > > I believe the pltime and vltime values are given in seconds. > > can it be that ifconfig outputs pltime and vltime only if the values are set > but not in the case that they are forever? Or are the values not shown or in > case of using virtual interfaces? The man page does not say. > I'm asking because : > > $ doas ifconfig > [snip re0 and re1] > vether0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 > lladdr fe:e1:ba:d0:52:8d > index 8 priority 0 llprio 3 > groups: vether > media: Ethernet autoselect > status: active > inet 192.168.12.1 netmask 0xffffff00 broadcast 192.168.12.255 > inet6 fe80::fce1:baff:fed0:528d%vether0 prefixlen 64 scopeid 0x8 > inet6 2001:470:1f0b:ca9::1 prefixlen 64
You don't seem to have any autoconfigured addresses. Try ifconfig vether0 inet6 autoconf first.