From: "Nicolás Brailovsky" Date: 2009-10-01T23:23:03+09:00 Subject: Re: Problems with SNMP --001636499ad32a99990474e062fd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Rocir, you should first check if your switch supports this functionality. I= f it does I'd try to do an snmpwalk through the complete table to find an OID providing a list of known mac addresses, which will most likely be grouped by interface (port). This link may come in handy: http://www.oid-info.com/index.htm Regards --=20 Nicol=E1s Brailovsky - http://nicolasb.com.ar/ - http://monosinfinitos.com.ar/ 2009/10/1 Rocir Santiago > Hello! > > I'm trying to solve a problem with SNMP to map computers and switch > ports. The deal here is, for each computer pluged in my switch, > associate its MAC address with the port of the switch. > > I try to discover at http://snmplib.rubyforge.org/ but I just can't > figure out a way to do that. I already can list all ports, given the > examples at the documentation, but I need the MAC address of each > computer. > > At the switch web interface, I already can find the MAC address of each > computer, so it's working fine. > > If anybody can help me with this task I really appreciate it. > > Regards, > > Rocir Santiago > -- > Posted via http://www.ruby-forum.com/. > > --001636499ad32a99990474e062fd--