11-21-2012 09:01 AM
I have recently purchased an SG-300-52 Managed Switch. (This is the first managed switch I have used, so I am trying to figure out what I can do with it and how it works.)
I would like to know how to find out the IP address of each computer connected to each port of the switch. Is this possible and if so how can I do this from the browser interface? If you could explain it as if you were talking to a 5-year old, hopefully I will be able to understand. Thanks, Paul
11-21-2012 09:46 AM
I don't think you can, it doesn't really work that way, the switch works at ISO layer 2 (MAC addresses) while IPV4 is ISO layer 3.
You _might_ be able to find the MAC address of the device on the other end, and get your DHCP server to tell you what IP address goes with that MAC address, but that's non-trivial.
There is some SNMP stuff on my SG500 at:
IP-MIB::ipNetToMediaPhysAddress.300000.192.168.1.50 = STRING: 40:6c:8f:20:1f:38
but there doesn't seem to be anything that tells me what port it's on, and there are only 3 entries there, so probably just things I have IP connections open to or something.
You _might_ get somewhere by putting it into Layer 3 mode, but that's out of my experience.
11-21-2012 12:20 PM
w_smith is pretty on key, the best you can do at the present time is look at the switch mac address table then match your MAC addresses against your DHCP server entries or router tables.
+5 for the snmp, I'm glad you're putting the mibs to work
-Tom
Please rate helpful posts
11-21-2012 12:49 PM
Thanks for the responses! I would be fine with being able to get all of the Mac addresses and which port they're on. However when I look at the "Mac Address Tables"--"Dynamic Addresses" in the web menu, there are only 6 Mac addresses showing, whereas I have 30 computers online. How do I get them all to show up here?
11-21-2012 01:27 PM
Umm, maybe ping them all to get the tables to populate? The tables probably age out in case you move a device from one port to another.
11-21-2012 03:08 PM
How do I ping them ?
11-21-2012 03:11 PM
On a windows computer, start menu -> all programs -> accessories -> command prompt
ping ip address -> ping 192.168.1.10
If you have a firewall on the computer you're trying to ping it will block the ping message, may need to disable some firewalls or allow exceptions for this.
-Tom
Please rate helpful posts
11-23-2012 02:59 PM
I've pinged the ip addresses of the attached computers, but I'm still not getting more than the orginal 6 mac addresses to show up in the Table. Any ideas on how to get all of them to show up in the Mac Address table?
11-23-2012 04:44 PM
I'm seeing lots of MAC addresses in my tables, but I've got continuous traffic.
Did you look at the MAC tables within 5 minutes of pinging all the IP addresses? Dynamic Address settings is (default) 300 seconds, if yours is shorter or it took you a while to ping them all, then maybe they are timing out?
If you have a box that'll run nmap, that'll ping everything for you pretty quickly.
11-23-2012 06:50 PM
The mac address table should populate basically everything that has passed through the switch and any directly connected devices.
-Tom
Please rate helpful posts
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide