dhclient reusing old leases when it shouldn't

From: Daniel O'Connor <doconnor_at_gsoft.com.au>
Date: Tue, 13 Sep 2005 16:07:04 +0930
Hi,
I have a bfe0 and an ath0 interface and I have
ifconfig_bfe0="DHCP"
ifconfig_ath0="WPA DHCP"

in rc.conf. I use ath0 at home and bfe0 at work.

I find that when I come to work I end up getting a lease on bfe0 but shortly 
afterwards I find my resolv.conf is stomped with an old lease from ath0 and 
stuff stops working.

It would be nice if there was some higher level which decided what information 
to use, but I'd settle for dhclient not touching per-machine stuff 
(resolv.conf, routing etc) unless there is actually a link active on the 
given interface :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Received on Tue Sep 13 2005 - 04:37:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:43 UTC