Getting the right dynamic IP address with dip

Getting the right dynamic IP address with dip

Post by Bill Crip » Mon, 12 Jan 1998 04:00:00



I just thought that I'd post this in case it helps someone else.
   My ISP has a system where their phone systems passes you to one
of five machines and then that machine gives you a dynamicly
assigned IP address. My dip scrip contained the line:

   get $locip remote 10

The address that this was returning was the address of the machine
that the phone system had handed me to, not my actual assigned
address. I dialed up my ISP with cu to see what text was output when
a ppp connection was made and I could see that both the first machines
address and the dynamic address were appearing. The one I wanted was
the second one.
   It turns out that simply doing the "get $locip remote 10" twice
in a row causes $locip to have the second address. Perhaps this
isn't news to most of you, but knowing this sure was a big help to
me, and maybe it will save someone else a little time too.

Bill Cripe

 
 
 

1. dip script for slip/ppp connection with dynamic IP address

I'm having trouble writing a dip script and works for a dynamically
allocated IP address. The major thing giving me trouble is
intercepting the IP address and then figuring out what to do with
it. Could someone point me to relevant documentation for doing this?
Also, sample dip scripts that deal with dynamically allocated IP
addresses would also be helpful. Thanks much.

--
Chuck Irvine
--------------------------------------------------------------------------
Serior Member of Technical Staff
Systems & Networks, Inc.                                FAX (913) 841-1345
1310 Wakarusa Dr., Suite A                              (913) 841-1283

2. NT vs. Linux kernel capability

3. DIP script for Dynamic IP address

4. during xf86config..get message like this"old version of xfree86"..

5. HELP: dip with dynamic IP address over modem

6. wildcard filematch ?

7. dip and dynamic IP addresses?

8. System Test Software?

9. Dynamic IP address for DIP

10. dynamic ip address - how to get to know my ip address?

11. dip can not get dynamic IP address assigned by annex server

12. DIP - Dynamic IP address- Dail up problem

13. DIP patch (dynamic IP address trapping, route 'default' option)