06-30-2010 02:53 AM
Hi,
I want to read my entire network system IP and MAC address. The systems TCP/IP Port are running in different different numbers. How can i read the Type's for example (Workstation or switch) and Network adapter's manufacturer?
Thanks
Sivaraj.
06-30-2010 09:40 AM
1rst Idea : using the command control :
The standard output is a string with all informations, but I'm not sure this can easyly be formated to extract the informations you need...
Any other idea ?
06-30-2010 01:54 PM
If you are on Windows, you could refer to this library.
06-30-2010 02:11 PM
@rolfk wrote:
If you are on Windows, you could refer to this library.
A little bit of recursion going on here.
06-30-2010 02:36 PM
07-01-2010 03:47 AM
Hi,
I tried the iptoll.llb. The VI reading local hosts IP, MAC address and Network adapter's manufacturer name. But I want to know at least how many systems are connected in my network and that system IP address. If I used the ping command in DOS mode using system exec.vi (command syntax: ping 192.168.1.1 -w 0) it's taking long time for pinging 255 devices. It’s any alternate method is there to know all system IP address. Please give me some guide line to me.
Sivaraj M S
07-01-2010 01:21 PM
Well it wasn't clear to me that you didn't want to get the information for all local network interfaces but for all devices connected to your network.
The bad news is that this is not really possible in a generic way since there is no single way to do that but about 5 billion ones, depending on the device and what support it has if any.
Typically this is solved through UDP messages, either by sending out a specific broadcast to which all devices that understand that specific message send back an information message about their settings. Another approach is that each device sends out periodically a broadcast in which it advertices its own presence and settings. But whatever is chosen it is almost always a device specific way, so your aproach to discovering devices will have to be tailor made to each device type.
There are some sort of standards such as UPnP but that is usually only supported by network infrastructure and modern multimedia devices but by far not a common standard for every kind of network device.
You will have to research the devices you want to discover and implement their specific way of how to find them.