From owner-freebsd-questions Tue Jul 25 20:41:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dfw-smtpout3.email.verio.net (dfw-smtpout3.email.verio.net [129.250.36.43]) by hub.freebsd.org (Postfix) with ESMTP id 2A19B37BDDE for ; Tue, 25 Jul 2000 20:41:44 -0700 (PDT) (envelope-from gjohnson@gs.verio.net) Received: from [129.250.38.62] (helo=dfw-mmp2.email.verio.net) by dfw-smtpout3.email.verio.net with esmtp (Exim 3.12 #7) id 13HI4l-00079u-00 for freebsd-questions@freebsd.org; Wed, 26 Jul 2000 03:41:43 +0000 Received: from [204.1.124.74] (helo=power) by dfw-mmp2.email.verio.net with smtp (Exim 3.15 #4) id 13HI4k-0001px-00 for freebsd-questions@FreeBSD.ORG; Wed, 26 Jul 2000 03:41:42 +0000 Message-ID: <00a901bff6b3$6a0b7d60$4a7c01cc@gs.verio.net> From: "Tony Johnson" To: "freebsd-questions" References: <397446C7.D2A651E9@home.com> Subject: Re: A couple of questions re DHCP Date: Tue, 25 Jul 2000 22:41:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 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]. > Ditto. I am having this exact trouble and the dhclient man pages doesn't mention about a lease renewal. My computer boots fine with the exception of not receiving an ip addy. Running dhclient manually reports "Address already in use" ----- Original Message ----- From: "Paul Murphy" To: "freebsd-questions" Sent: Tuesday, July 18, 2000 7:00 AM Subject: A couple of questions re DHCP > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message