Re: How to get ipaddress
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2006-02-24 at 09:50 +0530, Nithin wrote:
> Can any one tell, what does it mean by atIfindex.
>From RFC 1213:
atIfIndex OBJECT-TYPE
DESCRIPTION
"The interface on which this entry's equivalence
is effective. The interface identified by a
particular value of this index is the same
interface as identified by the same value of
ifIndex."
> Why it is showing '1' for all mac/ip addresses.
I suspect that the switch probably only has one (logical)
network interface for communicating with the box itself.
Note that network interfaces as reported in the ifTable
are *not* necessarily the same as physical switch ports.
If you want to monitor which systems are connected to which
ports of the switch, you probably need to investigate the
BRIDGE-MIB (RFC 1493/4188), and in particular, dot1dTpFdbTable
But note that this is only concerned with *MAC* addresses.
A switch would typically be working at level 2, and would
not normally bother recording the IP addresses of traffic
it sees (even assuming that this traffic was IP-based in
the first place!)
Dave
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users