Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Populate the ARP table
New Posts  All Forums:Forum Nav:

Populate the ARP table

post #1 of 7
Thread Starter 
Hey guys, I'm on a network daily with multiple hundred computers connected at all times. I was wondering if there was a quick and simple way to populate the ARP table (in windows 7) with every computer currently connected to the network? I could make a script to ping every IP but that would take forever.

Thanks!
post #2 of 7
If you have a proper managed switch, I'd look into it's documentation about manually loading an ARP table. However, if your switches are unmanaged I think the only way is to just ping them all and watch the ARPs/broadcasts go.
    
CPUMotherboardGraphicsRAM
Q6600 SLACR @ 3.6 GHz Asus P5E Deluxe MSI 6950 2 GB + 9800GT (PhysX) 4 GB White Lake DDR2-800 
Hard DriveOptical DriveOSMonitor
Hitachi 500 GB Sata iHas 120 Windows 7 Pro x64 u2711 (27", 2560x1440, H-IPS) 
KeyboardPowerCaseMouse
Generic Dell Combat Power 750W Aerotech PGS Bx-500 Logitech Rx300 
Mouse Pad
Desk 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q6600 SLACR @ 3.6 GHz Asus P5E Deluxe MSI 6950 2 GB + 9800GT (PhysX) 4 GB White Lake DDR2-800 
Hard DriveOptical DriveOSMonitor
Hitachi 500 GB Sata iHas 120 Windows 7 Pro x64 u2711 (27", 2560x1440, H-IPS) 
KeyboardPowerCaseMouse
Generic Dell Combat Power 750W Aerotech PGS Bx-500 Logitech Rx300 
Mouse Pad
Desk 
  hide details  
Reply
post #3 of 7
No point, Windows Vista and newer have stale times of 15 to 45 seconds for arp entries.

To answer your question directly. A simple network mapping application that can perform a ping sweep of your broadcast domain will do the trick. Nmap comes to mind..
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Cisco Cisco Cisco Cisco 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Cisco Cisco Cisco Cisco 
  hide details  
Reply
post #4 of 7
What exactly are you trying to accomplish to want to do this? I just don't see the reason since the arp table will be updated in milliseconds when you try to access something on the network.

The old Look@LAN program can ping sweep a /24 subnet in around 10 seconds maybe. The new command line program that took it's place (Fing) is fast too.
1090T
(13 items)
 
  
CPUMotherboardGraphicsRAM
1090T GA-890FXA-UD5 HIS 4670 G.SKILL ECO Series 4GB (1600) 
Hard DriveOSPowerCase
WD Black (Raid 0) Win 7 Home Premium x64 CORSAIR 850W COOLER MASTER Storm Sniper 
  hide details  
Reply
1090T
(13 items)
 
  
CPUMotherboardGraphicsRAM
1090T GA-890FXA-UD5 HIS 4670 G.SKILL ECO Series 4GB (1600) 
Hard DriveOSPowerCase
WD Black (Raid 0) Win 7 Home Premium x64 CORSAIR 850W COOLER MASTER Storm Sniper 
  hide details  
Reply
post #5 of 7
Thread Starter 
Thanks for your comments, I figured a way to do what I need without needing all the IPs. I'll just write up a quick batch script to ping everyone if necessary. Thanks! +rep
post #6 of 7
did you use the "-n 1" flag in your ping command to only send a single icmp packet?
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Cisco Cisco Cisco Cisco 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Cisco Cisco Cisco Cisco 
  hide details  
Reply
post #7 of 7
The problem with batch scripts is that they are not really parallel. One command finishes, another starts. Try Nmap (scottsee mentioned this), and just call it from the command line with a few arguments. Then, create a shortcut with those arguments, doubleclick on it and done.

Don't forget to just set it to ping/icmp, you don't want to do a full blown christmas tree scan to thousands of computers on your network.... tongue.gif
    
CPUMotherboardGraphicsRAM
Q6600 SLACR @ 3.6 GHz Asus P5E Deluxe MSI 6950 2 GB + 9800GT (PhysX) 4 GB White Lake DDR2-800 
Hard DriveOptical DriveOSMonitor
Hitachi 500 GB Sata iHas 120 Windows 7 Pro x64 u2711 (27", 2560x1440, H-IPS) 
KeyboardPowerCaseMouse
Generic Dell Combat Power 750W Aerotech PGS Bx-500 Logitech Rx300 
Mouse Pad
Desk 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q6600 SLACR @ 3.6 GHz Asus P5E Deluxe MSI 6950 2 GB + 9800GT (PhysX) 4 GB White Lake DDR2-800 
Hard DriveOptical DriveOSMonitor
Hitachi 500 GB Sata iHas 120 Windows 7 Pro x64 u2711 (27", 2560x1440, H-IPS) 
KeyboardPowerCaseMouse
Generic Dell Combat Power 750W Aerotech PGS Bx-500 Logitech Rx300 
Mouse Pad
Desk 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Populate the ARP table