From owner-freebsd-questions Thu Aug 24 13:37: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail-1.sjc.telocity.net (mail-1.sjc.telocity.net [216.227.56.41]) by hub.freebsd.org (Postfix) with ESMTP id 4BC8F37B42C for ; Thu, 24 Aug 2000 13:37:01 -0700 (PDT) Received: from zoso (dsl-216-227-91-85.telocity.com [216.227.91.85]) by mail-1.sjc.telocity.net (8.9.3/8.9.3) with SMTP id NAA06493; Thu, 24 Aug 2000 13:31:24 -0700 (PDT) From: "Otter" To: "Nathaniel G H" , Subject: RE: DHCP "refresh" question Date: Thu, 24 Aug 2000 16:37:04 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <200008231928.MAA03243@mail2.bigmailbox.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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