From owner-freebsd-questions Thu Jan 4 21: 2:45 2001 From owner-freebsd-questions@FreeBSD.ORG Thu Jan 4 21:02:43 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from grumpy.dyndns.org (user-24-214-56-41.knology.net [24.214.56.41]) by hub.freebsd.org (Postfix) with ESMTP id CE3D337B400 for ; Thu, 4 Jan 2001 21:02:42 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by grumpy.dyndns.org (8.11.1/8.11.1) with ESMTP id f0552Vp26018; Thu, 4 Jan 2001 23:02:32 -0600 (CST) (envelope-from dkelly@grumpy.dyndns.org) Message-Id: <200101050502.f0552Vp26018@grumpy.dyndns.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: dmaddox@sc.rr.com Cc: trini0 , FreeBSD Questions From: David Kelly Subject: Re: restarting or renewing dhclient In-reply-to: Message from "Donald J . Maddox" of "Thu, 04 Jan 2001 22:53:49 EST." <20010104225349.A1207@cae88-102-101.sc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Jan 2001 23:02:31 -0600 Sender: dkelly@grumpy.dyndns.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Donald J . Maddox" writes: > Hmmm... That's not how DHCP is *supposed* to work. My IP stays the > same for long periods too, but when it changes, it just does :) with > no ill-effects. Maybe you have an issue with your ISP here... Ditto. The worst problem I've seen with dhclient is if the cable modem service is down when the renewal time arrives the cable modem will issue 192.168.100.2 and set 192.168.100.1 as the gateway, and renewal in something like 5 seconds. Twice this happened while I was watching, when the net came back online and a real address was issued, dhclient didn't fix the default route. Not sure why it went one way but not the other. My original address was restored. Maybe that confused dhclient into believing the default route was OK. Now what *is* a mess is when you have ipfw rules with your address coded in. Have been playing with an exit hook script to decide if and when the firewall needs to be reset. Guess I could simply change the affected rules but its easy to simply re-run /etc/rc.firewall. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message