Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 22:41:42 -0500
From:      "Tony Johnson" <gjohnson@gs.verio.net>
To:        "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: A couple of questions re DHCP
Message-ID:  <00a901bff6b3$6a0b7d60$4a7c01cc@gs.verio.net>
References:  <397446C7.D2A651E9@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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" <pnmurphy@home.com>
To: "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00a901bff6b3$6a0b7d60$4a7c01cc>