
I also tried stuff like traceroute and hoping the switch would show up as a hop, but since it just (quietly) forwards stuff to the gateway it won't show up. The switch gets its IP assign via DHCP or even auto assigned ( 169.x.x.x), static IP is not an option. Function: getmacaddress() interface : Name of a network interface on the system ip : IPv4 address of a remote host ip6 : IPv6 address of a remote host. That said, the easiest way to do it is in the terminal with IP LINK SHOW. It's typically not installed so you'll have to go download it and install it manually. There are many ways to view your MAC address in Linux. The switch in question is an IGS-801M from Planet Technology, the (six) devices are plugged in directly, nothing network-ish between them. If you want to sweep the entire LAN for MAC addresses you can use the command line tool fing to do so. Dentrasi at 20:15 I thought so too, but reverse arp is something else. The getmac is a Windows command-line utility used typically when troubleshooting network issues to retrieve the MAC address, also known as the physical address. Question: Is there some easier way (avoiding nmap), I already tried arp broadcasting, but that doesn't seem to give me an arp cache entry for the switch. 2 I believe the term is 'reverse arp', rather than inverse, you might have more luck searching with this. What I’m doing at the moment is: Run nmap (meh.) with just ping scan on the whole subnet (or scanning for telnet, since the switch has this port open) and afterwards check the ARP cache and retrieve the IP by checking against the MAC address, since I know what manufacturer part to look for. The output will display the MAC address for all the network interfaces. The port detection itself is done via SNMP, which works quite well, but obviously I need the IP of the switch. Type ifconfig -a or ip link show or cat /sys/class/net//address command Press Enter to run the command. Find MAC Address CMD on Windows 10/11 There are different commands that can be used to get MAC address from Command Prompt on Windows 10/11.

Here we will show you the MAC address on CMD Windows 10/11, Linux, and Mac OS respectively. I’m trying to determine the IP address of the network switch several Linux boxes are plugged into.īackground: I need to know in which physical port they’re plugged into, so the machines automatically detect their 'spatial placing' (Since a certain port is hard-wired to a specific location). The answer varies depending on different OS.
