[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dynamic IP...
As Seth and Rod already said, bringing down your ethernet interface
for an hour will (probably, depending on your ISP's usage) assign a
new ip when the interface is brought up again. This can be scripted
(ie, in cron), and is probably the solution your ISP's admin is
looking for.
That being said, I can think of some tricky ways around it ;) For
instance, if you can spare an extra ethernet card plugged into a hub
with the other card, you can (at a scripted time):
1) release the ip from card A (primary card)
2) aquire ip for card A
3) compare ip to previous ip, if different bail, if the same continue
4) release ip from card A
5) aquire ip on card B (_should_ be the same ip as released from A,
unless your ISP's dhcp server is crack. Which is their problem ;)
6) aquire ip on card A (new ip, now)
7) release ip on card B
Pretty (unnecessarily?) complicated, but this method would let you
keep your system up with a minimum of downtime.
However, you should probably just try bringing the interface down for
a few seconds, and then bringing it up, first. If your provider is
active enough, that might solve your problems without all the
trickiness.
jeff
On Thu, Feb 15, 2001 at 07:33:54AM -0700, Doktor Faustus wrote:
> Is there a way to get it to assign a different IP every time the lease
> expires? A security minion from my ISP has contacted me, threatening to cut
> off my DSL service if my IP doesn't change soon. It would be easier to just
> comply than to explain. Also, I think this may pose a problem to anyone
> using a dynamic DNS service such as dyndns.org. If I remember correctly,
> they boot you off thier service if your IP stays the same for more than 30
> days.
>
> Thank you all for your help.