You need to know the MAC address of the switch, or , at least the MAC prefix (The first three octets of a six-octet ethernet address uniquely
identifies the hardware vendor -
This is called the "Organizationally Unique Identifier" (OUI)) of the manufacturer. You can look this up for your vendor at http://standards.ieee.org/db/oui/index.html.
If you have access to your DHCP server, you should be able to match this MAC prefix or address with the list of DHCP-distributed addresses, and determine the IP address.
If you do not have access to DHCP, but are on the same unrouted subnet as the switch, you can ping the entire subnet range, then look at your arp table, then find the mac for the Infiniband switch, and trace back to the IP.
"I'm fairly sure if they took porn off the Internet, there'd only be one website left, and it'd be called 'Bring Back the Porn!'"
-- Dr. Cox, Scrubs
| [reply] |
Hmm: This is not really a Perl question...
You could run some network scanning tool such as nmap. I got the following from overclockers.com:
nmap -O -oX test.xml 169.10.0.0/24
which runs a very aggressive test on all machines and gives you a lot of information such as Vendor, OS, MAC, etc. On my machine you need to run this as root. Unless you own the network, this might be seen as an aggression.
UPDATE: As always, you can probably do it within Perl as well as there is an Nmap::Scanner module in Perl which might achieve similar feats...
| [reply] [d/l] |