On 1 Mar 2006 01:49:54 -0800,
(E-Mail Removed) wrote:
> is it possible to get port to mac address mapping through snmp
>tables..
> if so please help me in this ...
Sure. It would have to come from a router as access points and
bridges don't know about IP addresses. However MIB table vary with
different hardware. The ARP table is always listed. Since you didn't
bother to supply the specific hardware, you can do a MIB walk, dump
all the OID's, and look through the list for something that might be
of interest. You'll find the MAC address tacked onto the tail end of
the atTable OID with the IP address as the value. It's probably part
of ASN.1. Yep... See RFC1157 at:
http://www.ietf.org/rfc/rfc1157.txt
and search for "ARP cache" under atTable which maps the network
address (IP) to the physical address (MAC).
--
# Jeff Liebermann 150 Felker St #D Santa Cruz CA 95060
# 831-336-2558
(E-Mail Removed)
#
http://802.11junk.com (E-Mail Removed)
#
http://www.LearnByDestroying.com AE6KS