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]
I had problems with this when I was trying to run my box on DHCP...I know
that the IP was still "leased" to me, because doing an nslookup gave me the
same info, but my machine wouldn't get the same IP back if I shut it down
for anything. I gave up and went back to static IP and am trying to find
someone who can sneak a DNS entry in for me =)

Rick Buford
Chief Clerk
Medical Records - Transcription
DC042.06 / 884-7452
"Is there another word for synonym?"


   |-----Original Message-----
   |From: Steve Bohm [mailto:EMAIL:PROTECTED]
   |Sent: Sunday, December 05, 1999 5:24 PM
   |To: EMAIL:PROTECTED
   |Subject: Re: [UUG/MLUG] dynamic IP script
   |
   |
   |Actually, I believe (or at least I've heard) that DHCP will 
   |try to give
   |you the same IP address you had previously when your lease 
   |runs out.  If
   |it CAN give it back to you, it will.  If not, you'll get a 
   |new one.  The
   |only way it's a big issue is if you are disconnected from 
   |the network for
   |an extended period of time.  Please correct me if I'm wrong.
   |
   |Steve Bohm
   |
   |
   |On Sun, 5 Dec 1999, Scott McCool wrote:
   |
   |> 
   |> 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?
   |> > 
   |> > 
   |> > 
   |> 
   |