Date: Tue, 9 Dec 2003 10:33:30 -0800 From: paul beard <paulbeard@mac.com> To: FreeBSD-questions <questions@Freebsd.org> Subject: how to make dhclient give up its lease and get a new one with routes, etc. ? Message-ID: <2FF582F3-2A76-11D8-8C05-000A95BBCCF8@mac.com>
next in thread | raw e-mail | index | archive | help
I am on a cable modem and am running an http server, natd, the Usual Suspects, and have been doing this for a couple of years. I use dhcp to get the address for my externally-facing NIC and through reboots, power outages, even changes in network ownership (@ home -> ATT -> comcast) all has been solid. Until today. I decided over the past couple of weeks to actually get a domain instead of using no-ip.org (paulbeard.org: how imaginative) and I started using Zoneedit to manage it since I wanted DNS to be somewhere other than on my network. As luck would have, I got assigned a new IP address last night (for the first time since I used @home more than 3 years ago) and for some reason the dhcp client wouldn't get the new address. I ran dhclient and that just set my address to all 0's. I then killed it and restarted and got an address but no routes. I ended up rebooting and that solved it (I then had to fix both no-ip's config file since the old one was unparseable by version 2 clients and go to zoneedit and update my address). So how to make dhclient do all this without the Windows workaround of rebooting? Advice on automagically notifying zoneedit is welcome, as well but not as pressing: I think they work with dyndns and of course I chose no-ip.org. -- Paul Beard <www.paulbeard.org/movabletype/> paulbeard [at] mac.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2FF582F3-2A76-11D8-8C05-000A95BBCCF8>