Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2000 16:37:04 -0400
From:      "Otter" <otterr@telocity.com>
To:        "Nathaniel G H" <bsd_appliance@bemail.org>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: DHCP "refresh" question
Message-ID:  <HLEDJBJKDDPDJBMGCLPPGELKCAAA.otterr@telocity.com>
In-Reply-To: <200008231928.MAA03243@mail2.bigmailbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
just a suggestion: (i had a similar script that i used to use with a modem,
back before ADSL came along) make a script that pings an external host every
n interval of time... maybe even have it ping 3 hosts, just as backups. if
none of the hosts respond or you get a "no route to host" message, have the
script HUP your dhclient.
-Otter


-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Nathaniel G H
Sent: Wednesday, August 23, 2000 3:28 PM
To: freebsd-questions@FreeBSD.ORG
Subject: Re: DHCP "refresh" question


>> How can I fix this?  Is there any way to tell the machine to
>> obtain a new address when there is no route to an external host?
>
>The easy way would be to kill the dhclient and restart it...

That is quite obvious, and very simple... but it requires human
intervention.  I was trying to find out if there is a way to do
this automatically.  It needs to happen when the DHCP address is
no longer valid, but the lease time has not expired.

Thanks,
NGH


------------------------------------------------------------
Free email: http://BeMail.org/
Free BeOS: http://free.be.com/




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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