Help!I need 2 short snmp functions to go into modified discover

Bob Jaques (jaques@lsil.com)
Wed, 23 Aug 95 16:04:55 PDT

I could use some help with a modification of discovery routine I am
trying to do.

insted of testing via icmp I want to

test to see if snmp request on no of interfaces returns and is greater
than 1

test via snmp for interface 0 being local loop.

if interfaces > 1 and interface0 is not local loop this must be
a router or a least a multi-homed host.

With this modification I can probably id all my routes in my 200+ subnet
network

thanks

bob

ps I need help my coding is a little rusty.