Obtaining router external address

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Apr 22 19:31:53 UTC 2005


On Fri, Apr 22, 2005 at 10:27:33PM +0300, Peter wrote:
> we had this thread about getting the address of the router from the lan 
> side. Solutions involving parsing the response of an external site were 
> recorded. I am using such a solution. However, someone said he can 
> obtain it using SNMP. I just tried and I can't on my router. Would the 
> person like to share that information here ?

Well some routers do offer SNMP and some don't.  Some you have to turn
the feature on too.  I know my USR8054 has a setting for enabling SNMP,
although I haven't looked at what info it provides, but I suspect the
external IP would be one of them.  I should check that sometime.

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list