New Zealand ADSL Mailing List


Re: SNMP and IP address

From: Dan Langille <dan.langille_at_dvl-software.com>
Date: Mon, 19 Jul 1999 19:07:09 +1200
Message-Id: <199907190706.CAA15463@metis.host4u.net>

On 19 Jul 99, at 17:36, Kit wrote:

> Hi
> Can anyone point me in the right direction to turn
> $ snmpget m10 public
> ip.ipAddrTable.ipAddrEntry.ipAdEntIfIndex.210.55.116.54
> ip.ipAddrTable.ipAddrEntry.ipAdEntIfIndex.210.55.116.54 = 1 $ into
> something I can use to get the IP address?

The above means nothing to me. What is is?

> What I want is to refer to the
> index of the interface and retrieve the IP where as this takes the IP if I
> already know it and returns the index.

> btw fetch is still resetting my M10 when I try
> fetch "http://m10/shells/show+ip+interfaces"
> but with the password in place it is leaving the pinholes alone and other
> config data alone. Authentication is via
> HTTP_AUTH="basic:M10:k:Telecom";export HTTP_AUTH

I never had it do that without a password.

Have you tried my script or Harvie's?

--
Dan Langille - DVL Software Limited
The FreeBSD Diary     - http://www.FreeBSDDiary.org/freebsd/
NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/
The Racing System     - http://www.racingsystem.com/racingsystem.htm
To unsubscribe: send mail to majordomo@freebsddiary.cx
with "unsubscribe adsl" in the body of the message
Received on Mon Jul 19 19:07:09 1999

This archive was generated by hypermail 2.2.0 : Thu Nov 30 11:48:35 2006 EST