Kenneth Westerback was kind enough to give detailed explanation but
forgot to CC misc@, with his permission here it is:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Date: Thu, 4 Feb 2016 10:18:39 -0500
From: Kenneth Westerback <kwesterb...@gmail.com>
Subject: re: dhclient iwn0 *and* run0 -> lease duration confusion

That message does not report the lease time, it reports the real time
left before the lease expires after the bind completes.. Configuring
the interface can take finite time after receiving the lease and
starting the binding.

If you want to see what the actual lease durations are you must look
in the /var/db/dhclient.<if? files. If you are interested in the
unedited information in the lease you must use the -L option to
capture the offered as well as the effective lease.

.... Ken
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Bye, Marcus

mcmer-open...@tor.at (Marcus MERIGHI), 2016.02.02 (Tue) 10:21 (CET):
> Hello,
>
> it seems dhclient gets confused about lease durations when getting
> leases for two (wlan) interfaces from the same dhcp server.
>
> I'm not sure this is a bug or done that way intentionally.
>
> While working on the ds47d issue (bugs@) I had left an additional WLAN
> stick connected to the machine, both hostname.ifs contain
> nwid XXXXXX                  # <- same on both
> wpakey YYYYYYYYYYYYYYYYYY    # <- same on both
> dhcp                         # <- well yes same on both
>
> When booting I get these messages:
>
> First run, when I noticed:
>
> DHCPREQUEST on iwn0 to 255.255.255.255
> DHCPACK from 192.168.188.189 (80:1f:02:c1:fd:86)
> bound to 192.168.188.104 -- renewal in 900 seconds.
>                                        ^^^
> DHCPREQUEST on run0 to 255.255.255.255
> DHCPACK from 192.168.188.189 (80:1f:02:c1:fd:86)
> bound to 192.168.188.105 -- renewal in 898 seconds.
>                                        ^^^
>
> Second run, to make sure:
>
> DHCPREQUEST on iwn0 to 255.255.255.255
> DHCPACK from 192.168.188.189 (80:1f:02:c1:fd:86)
> bound to 192.168.188.104 -- renewal in 900 seconds.
>                                        ^^^
> DHCPREQUEST on run0 to 255.255.255.255
> DHCPACK from 192.168.188.189 (80:1f:02:c1:fd:86)
> bound to 192.168.188.105 -- renewal in 899 seconds.
>                                        ^^^
> Bye, Marcus

Reply via email to