dhclient reusing old leases when it shouldn't

Daniel O'Connor doconnor at gsoft.com.au
Mon Sep 12 23:37:26 PDT 2005

I have a bfe0 and an ath0 interface and I have
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050913/a62ce280/attachment.bin

More information about the freebsd-current mailing list