LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read my entire network IP Address and MAC Address.

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?

 

17719i26AE2204B924E513

 

 

Thanks

Sivaraj.

Sivaraj M.S
CLA
0 Kudos
Message 1 of 7
(4,957 Views)

1rst Idea : using the command control :

17769i66C950CE59C33569

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 ?

V-F
0 Kudos
Message 2 of 7
(4,934 Views)

If you are on Windows, you could refer to this library.

Rolf Kalbermatter
My Blog
0 Kudos
Message 3 of 7
(4,914 Views)

 


@rolfk wrote:

If you are on Windows, you could refer to this library.


A little bit of recursion going on here.

 

0 Kudos
Message 4 of 7
(4,904 Views)

Doo!!! This should be it!

Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 7
(4,892 Views)

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

Sivaraj M.S
CLA
0 Kudos
Message 6 of 7
(4,851 Views)

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.

Rolf Kalbermatter
My Blog
0 Kudos
Message 7 of 7
(4,820 Views)