Windows Cli Tool For Mac Address

May 29, 2013  Download TraceMAC - Traceroute for MAC addresses for free. TraceMAC is a command-line Layer 2 traceroute for Cisco switches. TraceMAC is a Windows/Linux command-line tool that allows you to trace a specific MAC address thru Cisco switches. Every device on a TCP/IP network has a unique number assigned to it called the MAC (Media Access Control) address. The MAC address is used by the network hardware such as routers, switches, etc. To send traffic from one device to another device on your network. The Adapter Address field shows the MAC address for this adapter. Use the drop-down menu near the top of the window to browse address information for alternate network adapters. Take care to read the IP address from the correct adapter.

  1. Windows Cli Tool For Mac Address Spoofing
  2. Windows Cli Tool For Mac Address From Ip
  3. Install Azure Cli For Windows
  4. Az Cli For Windows
Active1 year, 7 months ago

I know there is a single line of a command and its arguments that can help display all computer IP addresses (those that are being used) on a LAN, and my computer is also a client, as one of those displayed, but I forgot. What is it?

slhck
171k49 gold badges476 silver badges492 bronze badges
Bé Vú Sữa 1Bé Vú Sữa 1

migrated from stackoverflow.comDec 20 '12 at 23:16

This question came from our site for professional and enthusiast programmers.

9 Answers

Windows

You could do the arp -a command to show all ARP entries in the table about computers on your network.

Roney Michael
9221 gold badge12 silver badges20 bronze badges
GigabitPGigabitP

Not everything with an IP address is a computer - I found none of these suggestions returned all active IP addresses - in fact most returned very few. My home network has a combination of wired and wireless devices and two routers, mobile phones, TV, PVR, Apple AirPort and probably a few things I have forgotten. I used the following to scan all addresses on the 192.168.1.xxx subnet:

The resulting file ipaddress.txt contains the ping results for all addresses and I looked for those with 'Received = 1' - currently 16 addresses returned a result - I only have 4 computers in the house - and they were not all on.

CliffordClifford

There is the net view /all command which will list all of the computer names that are connected to the same LAN.

From that you can retrieve the individual IP addresses using the nslookup <computer name> command or write a batch script to do it for you.

Here is an example batch I threw together to illustrate.

David RuhmannDavid Ruhmann

Aside from arp -a, net view /all, or writing a batch script there is no native/built-in command line to do this (at least not that I know of).

If you're willing to use a non-native command, I would suggest using Nmap. You can run nmap -sn 192.168.0.0/24 (replacing the subnet with the appropriate one for your LAN) to achieve what you're looking for, more reliably so than net view /all or arp -a in my opinion.

Drew ChapinDrew Chapin
4,00411 gold badges35 silver badges58 bronze badges
UnnikrishnanUnnikrishnan
Eric Douglas MillerEric Douglas Miller

This is my quick solution. It tells you what type of device is connected at each ip address:

Thomas Dickey
6,5162 gold badges14 silver badges27 bronze badges
DR_WHODR_WHO

display all computer IP addresses (those that are being used)

I think you might mean netstat -a this gives you an active list. If you want to know the program using the ip address then use netstat -b (open as administrator).

TarranJonesTarranJones

As indicated by someone else, you can use arp -a however make sure that you ping a broadcast address first so that ARP reports all the devices. For example, ping 192.168.0.255

you get a list of all devices connected to the network by their IP and MAC addresses. you can look up the MAC addresses on a website like https://aruljohn.com/mac.pl to find out who the vendor of the NIC is. This should help you narrow down what most of the devices are. i.e. computers, printers, TV, cell phone, etc..

SeanSean

Not the answer you're looking for? Browse other questions tagged windowsnetworkingip or ask your own question.

Active1 year, 5 months ago

In Linux, I can change MAC Address easily using ifconfig command.

e.g.

Is possible to do the same via CLI in Windows OS?

I know we can change it via Network Adapter's properties or registry, I just want to know if this is possible via CLI.

Sabrina
SabrinaSabrina

Windows Cli Tool For Mac Address Spoofing

6331 gold badge6 silver badges18 bronze badges

Windows Cli Tool For Mac Address From Ip

1 Answer

Install Azure Cli For Windows

You can change the registry via CLI. Therefore, anything you can change via registry you can also change via CLI.

grawitygrawity

Az Cli For Windows

263k41 gold badges549 silver badges619 bronze badges

Not the answer you're looking for? Browse other questions tagged linuxwindowsnetworkingcommand-line or ask your own question.