Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^3: How to identify router IP address

by hardburn (Abbot)
on Jun 22, 2004 at 14:18 UTC ( #368731=note: print w/replies, xml ) Need Help??

in reply to Re^2: How to identify router IP address
in thread How to identify router IP address

I'll suggest something other than DynDNS, and actually use Perl in the process. I keep an external web server with this simple CGI:

#!/usr/bin/perl use CGI 'header'; print header('text/plain'); print $ENV{REMOTE_ADDR};

Then you can query that CGI from inside your network and get the IP address. That information is stored on the router itself, of course, but it isn't necessarily easy to get at automatically.

send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://368731]
[LanX]: yes, or click the second link
[LanX]: hmm there is an xml ticker for threads

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2018-03-19 10:01 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (238 votes). Check out past polls.