Use `ipscan`
List interfaces
Section titled “List interfaces”The plugin preserves the standalone interface inventory as structured records:
ipscan --list | select name index mac ips is_up is_loopbackipscan --list | where is_up and not is_loopbackScan a network
Section titled “Scan a network”ipscan --network 192.168.1.0/24 --numericipscan --interface eth0 --timeout 5s --retry 2Each result contains an IPv4 address, MAC address, optional reverse-DNS name, and optional vendor lookup. The summary also reports packets received, filtered ARP packets, and elapsed time.
Filter and export
Section titled “Filter and export”Because the plugin returns native values, use ordinary Nushell pipelines:
ipscan --network 192.168.1.0/24 --numeric | where vendor != '' | select ipv4 mac vendor
ipscan --network 192.168.1.0/24 --numeric | to json | save hosts.jsonThe scanner sends Ethernet/ARP frames rather than using the kernel neighbour cache. Run it only on networks you are authorized to inspect, and expect interfaces, VLANs, firewalls, and container capabilities to affect results.