Get the latest news, exclusives, sport, celebrities, showbiz, politics, business and lifestyle from The VeryTime,Stay informed and read the latest news today from The VeryTime, the definitive source.

How to Display IP Addresses on a Network

8
    • 1). Log into a computer connected to the LAN.

    • 2). Find out a sample IP address and the network mask for your LAN. How to do that depends on the operating system. For example, on Linux, type the following command on a shell:

      ifconfig

      Press "Enter." Make a note of the sample IP address (after "inet addr:"), and of the mask (after "Mask:").

    • 3). Convert the mask to binary, one number at a time. For example, if the mask is "255.255.240.0", it is "11111111.11111111.11110000.00000000" in binary.

    • 4). Count the number of ones in the binary mask. For example, for "11111111.11111111.11110000.00000000," the number of ones is 20.

    • 5). Invoke the "Nmap" tool to probe all addresses in the LAN's interval, and filter the addresses currently being used from the output. For example, on Linux, type on a shell:

      nmap -v -sP 192.168.2.47/20 | grep "appears to be up"

      Replace "192.168.2.47" by the sample LAN IP address obtained in step 2. Replace "20" by the number of ones counted in step 4. Press "Enter." The command will display a list with all IP addresses being used in the LAN.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.