I am currently exploring Nmap for its capabilities. Can anyone tell how can Nmap be used to query the machines connected to a network switch?

  • That really depends on what data you're looking to gather. You don't need nmap to do a ping sweep and look at your arp table.
    – Iszi
    Jul 20, 2015 at 16:17

1 Answer 1


Nmap is not the right tool for that. "Machines connected to a network switch" is a layer 2 question. Nmap is a layer 3 tool.

Not the answer you're looking for? Browse other questions tagged .