Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 736
  • Last Modified:

Mac Address for an address range

Is there a way that I can get mac address from a range of IP addresses?  for example I want to find all the mac address on 10.10.12.0 255.255.254.0 or 10.10.13.0 255.255.254.0
0
WellingtonIS
Asked:
WellingtonIS
1 Solution
 
Neil RussellTechnical Development LeadCommented:
So long as the interfaces are on the same network as a pc you can use you can do....

Ping 10.10.12.1
Ping 10.10.12.2
Ping 10.10.12.3

etc and then run

ARP.exe -a

in a dos windo and it will list all of the physical addresses by IP address that it saw
0
 
WellingtonISAuthor Commented:
OK but that mean pinging 254 address twice?
0
 
Nice-GhazaCommented:
Dear ,
             MAC Address only one Hardware Address you can not change  That Address. like a burning address.

Subnet Mask is defended the  Range of Network Computer Number. how much you can you in this Network.
it s using  for Subneting  Purpose.

10.10.10.1 255.255.255.0  its  means you use only 254 Computer only in this Network  Range
0
 
Netman66Commented:
To expand on this, if you are on the same subnet and the router allows ip directed broadcasts, then pinging the broadcast address for that subnet should get all hosts in the subnet to reply.

ping 10.10.12.255

Then run the arp -a command to get a list of MACs that responded.
0
 
WellingtonISAuthor Commented:
That's exactly what I did. thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now