[mrtg] Re: IP address of device on a switch?

Michael Votaw mvotaw at telepath.com
Wed Oct 18 09:29:20 MEST 2000


You are right about that.  To find the IP, you'd need to first 
start with the MAC from the switch then go to the ARP table on 
the router (atTable) and look in atPhysAddress 1.3.6.1.2.1.3.1.1.2
 
Sorry for the misdirection
> > -----Original Message-----
> > Sent: Tuesday, October 17, 2000 3:38 PM
> > To: 'Michael Votaw'; 'Dan Colquhoun'; mrtg at list.ee.ethz.ch
> > Subject: [mrtg] Re: IP address of device on a switch?
> > 
> > > Also, if your switch supports the mibs in the ipNetToMediaTable
> > > (1.3.6.1.2.1.4.22) you should be able to find out not only
> > > the MAC but the
> > > IP address of the MACs and the ports they are on.  It's a
> > > pretty cool table
> > > supported by many routers and maybe your switch will populate it too.
> > 
> > It is highly unlikely that you will gain useful information from
> > ipNetToMediaTable on a switch.  This table is only populated when the
> > management engine needs to communicate - such as answering an 
> > SNMP request,
> > or a manager telnetting in to fix something.  It's best if you 
> > can correlate
> > the ipNetToMediaTable from a router with the mac address tables on the
> > switch.
> 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list