Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2005 16:07:04 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-current@freebsd.org
Subject:   dhclient reusing old leases when it shouldn't
Message-ID:  <200509131607.12415.doconnor@gsoft.com.au>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBDJnOY5ZPcIHs/zowRAvuDAKCN3EElRbX4rw9JfkJa3+TBtToMvwCglgd7
0l8N/OSLjNpjwvmphfpKJrE=
=z7RC
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509131607.12415.doconnor>