Layer 2 Network Discovery When to Use This Skill | Scenario | Use this skill | Alternative | |----------|---------------|-------------| | Find which switch port a server is connected to | Yes | | | Enumerate hosts on the local segment via ARP | Yes | | | Identify unknown devices by MAC vendor | Yes | | | Map physical network topology (LLDP/CDP) | Yes | | | Check if a host is alive when ICMP is blocked | Yes (arping) | | | Detect duplicate IP addresses | Yes (arping -D) | | | Scan for open TCP/UDP ports on remote hosts | | network-discovery (RustScan, nmap) | | Trace the network path to a remo…