From owner-freebsd-questions Tue Jul 18 5: 0:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.rdc3.on.home.com (mail2.rdc3.on.home.com [24.2.9.41]) by hub.freebsd.org (Postfix) with ESMTP id 9B42737BD85 for ; Tue, 18 Jul 2000 05:00:08 -0700 (PDT) (envelope-from pnmurphy@home.com) Received: from home.com ([24.42.55.97]) by mail2.rdc3.on.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20000718120007.CPPX15084.mail2.rdc3.on.home.com@home.com> for ; Tue, 18 Jul 2000 05:00:07 -0700 Message-ID: <397446C7.D2A651E9@home.com> Date: Tue, 18 Jul 2000 08:00:07 -0400 From: Paul Murphy X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions Subject: A couple of questions re DHCP Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 1. Is there any way to make dhclient renew the lease on my ip manually? Every way I try to do this while dhclient is running I get "Address already in use". It seems to me there should be a command line option to force dhclient to reconfig the interface [e.g.. dhclient --renew]. 2. Currently my ipfw ruleset contains: # Allow DHCP ${fwcmd} add pass udp from any 68 to any 68 via {oif} ${fwcmd} add pass udp from any 67 to any 67 via {oif} This seems somewhat insecure, how can I _tighten_ up the rule? I'm not sure if I can specify the "from" address, should it be my ISP's gateway, broadcast, or DHCP server address? I would test each of these using tcpdump except for 1. [above] 3. How can I automagically insert a new ip address in my ipfw ruleset if DHCP decides to change it. [e.g. oip="xx.xx.xx.97" changes to oip="xx.xx.xx.28"] -- Paul Murphy http://members.home.com/pnmurphy/ Home Lat: 43° 33' 29" N, Lon: 79° 39' 03" W Work Lat: 43° 25' 30" N, Lon: 79° 42' 34" W To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message