Forrest logo
back to the arp-scan tool

arp-scan:tldr:0c7b0

arp-scan: Scan an IP network with a custom bitmask.
$ arp-scan ${192-168-1-1}/${24}
try on your machine

The command "arp-scan ${192-168-1-1}/${24}" is using the arp-scan tool to scan the range of IP addresses in the 192.168.1.1 network using a CIDR notation.

Here is a breakdown of the command:

  • "arp-scan": This is the name of the tool being used, which is arp-scan. It is a command-line utility used to discover and scan MAC addresses and associated IP addresses on a local network.

  • "${192-168-1-1}/${24}": This part of the command specifies the IP address range to scan. The IP address range is expressed using CIDR notation.

    • "192-168-1-1" represents the base IP address from where the scan will start. In this case, it is the IP address 192.168.1.1.

    • "/${24}" represents the CIDR notation for the subnet mask. The number 24 indicates that the first 24 bits of the IP address represent the network portion, while the remaining 8 bits are reserved for host addresses. This means that the scan will cover all IP addresses in the range 192.168.1.1 to 192.168.1.255, where the last octet can vary from 1 to 255.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the arp-scan tool