MLUG: Re: [UUG/MLUG] dynamic IP script
Re: [UUG/MLUG] dynamic IP script
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

My guess is what you want isn't quite possible.  I'm not sure, but I
_BELIEVE_ DHCP works by giving you an IP at "random".  Once you have it,
though, you usually keep it as long as your machine is up.  You could then
lose it when you took the interface down or shut the machine down.  I
think #2 isn't an issue.

If the reason you want a static IP is you want a domain name for it just
go to dyndns.org or any of the other free providers, they'll map a name to
your IP and at least dyndns.org offers clients that will automatically
update the hostname / ip pair whenever your address changes.

-Scott



*----------------------------------------------------------*
Scott McCool
*----------------------------------------------------------*

On Sun, 5 Dec 1999, Kyle Krieg wrote:

> 
> Is there any scripts out there that 
> 
> 1) when my machine boots up, tries to get the same IP address everytime
> through DHCP.
> 
> 2) when the IP "lease" is up and the ISP tries to give me a new IP, it
> grabs the same IP address, granted that #1 works up above...
> 
> Is any of this possible?
> 
> 
>