dip and dynamic IP addresses?

dip and dynamic IP addresses?

Post by R. Scott Bail » Thu, 19 Jan 1995 22:24:50



Color me clueless, but I haven't found an answer in the FAQs or HOWTOs...

The CSLIP server I dial into dynamically assigns an IP address to me at session
startup time. The sample.dip script mentions "oh, somebody should do an example
for dynamic addresses" -- which makes me think it's possible -- but I can't
figure out how to parse the text coming from the server (something like "Your
IP address is www.xxx.yyy.zzz") into the $locip variable.

Any pointers?

Thanks,

  Scott Bailey

 
 
 

dip and dynamic IP addresses?

Post by Gerd Kno » Sat, 21 Jan 1995 21:11:34



Quote:>Color me clueless, but I haven't found an answer in the FAQs or HOWTOs...
>The CSLIP server I dial into dynamically assigns an IP address to me at session
>startup time. The sample.dip script mentions "oh, somebody should do an example
>for dynamic addresses" -- which makes me think it's possible -- but I can't
>figure out how to parse the text coming from the server (something like "Your
>IP address is www.xxx.yyy.zzz") into the $locip variable.

I use

  get $locip remote 20

the 20 is the timeout in secounds. You have to use $locip, becauce $locip eats
all char's until it find's a IP-Number. $local doen'nt work, becauce it
accepts both IP-Numbers and hostnames.

  Gerd

>Any pointers?
>Thanks,
>  Scott Bailey


--

advertising > /dev/stove

 
 
 

dip and dynamic IP addresses?

Post by Thomas Fri » Tue, 24 Jan 1995 05:47:09


I have been working on a problem which I can't seem to fix.  Here it is:

My system.  Ygg. Linux (Fall 94).  P5/90.
Host SLIP:  ?

I can dip in, and get my dynamically assigned.  I can ping isp.net (service provider),
and ping netcom.com and nasa.... etc... no problem.  I can telnet to the world, and all I
get is the connect message, with no login prompt.   I have checked the scripts,
checked the /etc/resolv.conf etc... seems okay.  I can do a nslookup and get
ip numbers... just can't telnet or read the news.

Oh god, I hate to say this, but I know it isn't the hardware or the service
provider since it does work under DOS / Trumpete TCP/IP(No flames on DOS /
Windows please).

Any ideas?



>>The CSLIP server I dial into dynamically assigns an IP address to me at session
>>startup time. The sample.dip script mentions "oh, somebody should do an example
>>for dynamic addresses" -- which makes me think it's possible -- but I can't
>>figure out how to parse the text coming from the server (something like "Your
>>IP address is www.xxx.yyy.zzz") into the $locip variable.

>There IS an example in the NET-2-HOWTO. It is of a static server, and
>describes the two-three lines you have to change to make it work for a dynamic
>server.

>In simple terms what it boils down to is adding:

>get $remote remote 20

>in the appropriate place in the script to read the address that is
>printed by the server into the 'remote' variable.

>Terry

>--


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-=  Unix System Admin.       |             flames=/dev/null  =-
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
 
 

dip and dynamic IP addresses?

Post by Kjell Woodi » Tue, 24 Jan 1995 19:43:57



>I have been working on a problem which I can't seem to fix.  Here it is:

>I can dip in, and get my dynamically assigned.  I can ping isp.net (service provider),
>and ping netcom.com and nasa.... etc... no problem.  I can telnet to the world, and all I
>get is the connect message, with no login prompt.   I have checked the scripts,
>checked the /etc/resolv.conf etc... seems okay.  I can do a nslookup and get
>ip numbers... just can't telnet or read the news.

I am having the same problems. My numbers (IP, DNS, MTU) are right
(or are the same as I've used under both Trumpet/win and OS/2),and
I can ping/nslookup, but telnet and ftp just sit and wait.

Incidently, I can telnet to my own (dynamic) IP address, though I suspect
that may be going through the loopback interface.

any suggestions would be appreciated, email if possible.
Thanks,
-kj

 
 
 

dip and dynamic IP addresses?

Post by Craig A. Lemon [Admi » Thu, 02 Feb 1995 12:44:00




: >I have been working on a problem which I can't seem to fix.  Here it is:
: >
: >I can dip in, and get my dynamically assigned.  I can ping isp.net (service provider),

: I am having the same problems. My numbers (IP, DNS, MTU) are right
: (or are the same as I've used under both Trumpet/win and OS/2),and
: I can ping/nslookup, but telnet and ftp just sit and wait.

: Incidently, I can telnet to my own (dynamic) IP address, though I suspect
: that may be going through the loopback interface.

: any suggestions would be appreciated, email if possible.
: Thanks,
: -kj

        This is most likely due to the fact that YOUR machine has no DNS
records.  When you try to FTP or telnet to a site, it attempts to resolve
and reverse-resolve your address to confirm that your site is not bogus
(or something).  I have seen similar behaviour on LANs (that depend on
DNS) when the nameserver is down.  Start looking into the IP addresses
and names that you are assigned when you dial in from OUTSIDE (the Internet
side) with nslookup and see what you find.

        Cheers,

--
 Craig A. Lemon    VE3XCL (Advanced) | http://sunee.uwaterloo.ca/~calemon



 
 
 

dip and dynamic IP addresses?

Post by Justin McNu » Fri, 03 Feb 1995 12:50:52





: : >I have been working on a problem which I can't seem to fix.  Here it is:
: : >
: : >I can dip in, and get my dynamically assigned.  I can ping isp.net (service provider),

: : I am having the same problems. My numbers (IP, DNS, MTU) are right
: : (or are the same as I've used under both Trumpet/win and OS/2),and
: : I can ping/nslookup, but telnet and ftp just sit and wait.

: : Incidently, I can telnet to my own (dynamic) IP address, though I suspect
: : that may be going through the loopback interface.

: : any suggestions would be appreciated, email if possible.
: : Thanks,
: : -kj

:       This is most likely due to the fact that YOUR machine has no DNS
: records.  When you try to FTP or telnet to a site, it attempts to resolve
: and reverse-resolve your address to confirm that your site is not bogus
: (or something).  I have seen similar behaviour on LANs (that depend on
: DNS) when the nameserver is down.  Start looking into the IP addresses
: and names that you are assigned when you dial in from OUTSIDE (the Internet
: side) with nslookup and see what you find.

When I had the same problem, it turned out that I had the value for the
$mtu variable set incorrectly.  Check to see what the other end is using
and set it accordingly in your script (or manually, if you like).  
Standard number to try are 296, 1500, and any multiple of 1024, up to 4096.
The command in the script should look like this:

        get $mtu 1500

On UMC's SLIP server the value is 1500.  But anyway, the symptoms I had
were *exactly* as you described until I resolved that problem.

Hope that helps!

                                        --S.S.


welcome.

--
#include <std.dsclmr>

main()
{
        while ( noOfIdiots >= 1 )
                {
                        getInput();
                        routeInputToNullDevice();
                }
        rejoice();

Quote:}

If you aren't running Linux, you are walking!


doesn't mean much, but we though you should know.

                                        --The Management

 
 
 

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

Hi there,

my ISP provides me with a dynamic ip address. I'm using a wireless LAN
router made by SMC to connect to the internet. I want to get to know the
public ip address from a computer that is located in the local network
behind the router's firewall. But, of course, the router's NAT replaces the
public ip address with the local one.

How do I get to know the public ip address the ISP gave me?

Currently, I'm not using Linux. But I consider to set up a Linux box that
will be accessible from the internet. I guess, this problem is not
platform-dependent. Unfortunately, my router does not have a telnet
interface or any other interface that would provide me with the public ip
address. Only, if login to the web interface manually, I can see the current
status including the current ip address.

Can I solve this problem with standard TCP/IP tools? "ping" does not give
any evidence -- I was sniffing with Ethereal to miss no information.

Do I need help from an external system that can tell me my ip address? Is
there a service, I can use?

Thanks in advance,

Johannes

2. Linux Banner Exchange / Web Ring Services By Linuxfool.com

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

4. Help with KCrash backtrace results RE:"KCrash: Application Name ="

5. DIP script for Dynamic IP address

6. X Windows and STB Velocity 440 AGP card

7. HELP: dip with dynamic IP address over modem

8. System-wide variables under UNIX

9. Dynamic IP address for DIP

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

11. Getting the right dynamic IP address with dip

12. DIP - Dynamic IP address- Dail up problem

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