See the connected device ip address on to your network in kali linux

 To view the list of IP addresses of devices connected to your network in Kali Linux, you can use various commands. Here are a few options:


1. **Using `arp` Command**:

   ```

   arp -a

   ```

   This command displays the ARP cache, which contains a list of IP addresses and their corresponding MAC addresses of devices that your computer has recently communicated with.


2. **Using `nmap` Command**:

   ```

   sudo nmap -sn <IP_range>

   ```

   Replace `<IP_range>` with the IP range of your network (e.g., `192.168.1.0/24`). This command uses the Nmap tool to perform a ping scan (`-sn` flag) of all IP addresses in the specified range and displays the ones that are responsive.


3. **Using `arp-scan` Command**:

   First, install arp-scan if it's not already installed:

   ```

   sudo apt-get install arp-scan

   ```

   Then, run:

   ```

   sudo arp-scan --localnet

   ```

   This command scans your local network and displays a list of active IP addresses and corresponding MAC addresses.


4. **Using `ip neigh` Command**:

   ```

   ip neigh

   ```

   This command displays the neighbor cache, which contains a list of IP addresses and MAC addresses of devices that your computer has recently communicated with.


Choose the command that best suits your needs based on your familiarity with the tools and the level of detail you require in the output. Make sure to run these commands with appropriate permissions, especially when using tools like `nmap` and `arp-scan`.

Comments

Popular posts from this blog

Linux Commands part - 2