cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
393
Views
0
Helpful
1
Replies

Take IPs and Mac of all devices connected to my router

leandrotween
Level 1
Level 1

Hello,

 

It is my first time using this forum and i am a little bit lost here.
I just have a question.
Is there a way to get all the IPs or Mac addresses of all the devices connected to my router such as desktops, laptops, phone devices etc...

Sorry if i posted on the wrong section.
Please if this is the case feel free to move the thread to the right section.

Cheers

1 Reply 1

Marvin Rhoads
Hall of Fame
Hall of Fame

If all the devices use your router as their gateway then, yes. You can just get the router to print out its arp cache. Log into the command line interface, change to enable mode (# prompt if you're not already there) and type:

     term len 0

     show ip arp

The arp cache timeout is 4 hours (14400 seconds) by default, so anything that's been actively passing traffic directly via the router (vs. via some downstream router or IP address on, say, a core switch) should show up in that output. (The first command isn't strictly necessary but it will keep the output from pausing every 20 lines or so by setting the terminal (output) length to zero or essentially as long as the output needs.)