Convert mac address to ip cmd

broken image
broken image

My problem is that i don't understand how to get the data from NetBios and TCP/IP and all that to get the returned MAC address when something is sent to an IP address, or how to convert Computer Names into IP Addresses. But the user can also enter in a MAC address/IP Address/Computer Name and the program will automatically figure out the missing data. The program will use Net View to get a list of the computers and from there get the MAC addresses and IP addresses.

broken image

I'm trying to create a WoL (Wake on LAN) program. I'm talking about Remote machines that i have administrator access to over a LAN (Not a domain, a workgroup, but that doesn't really matter). Just like the ping command, tracert sends.

broken image

The command traces the path that a TCP/IP packet takes towards a destination target and shows some information (if available) of the routing nodes within this path. In Linux, the same command is traceroute. MsgBox ('Computer name is: ' & Left(strBuffer, lngBufSize)) tracert in Windows stands for Trace Route. LngStatus = GetComputerName(strBuffer, lngBufSize) (ByVal lpBuffer As String, nSize As Long) As Long Code: Private Declare Function GetComputerName Lib 'kernel32' Alias 'GetComputerNameA' _

broken image