You are a network administrator at a local organization and you need to
perform testing on the organization’s web server. However, you do not know
the IP address of the web server. You have been provided with access to a
network scanning tool, nmap, and you have been asked to use this tool to
find the IP address of the web server so that you can perform testing on it.
Tools needed: nmap
Step 1: Make sure you have nmap installed on your computer. If not, install
nmap using the appropriate instructions for your operating system. You can
find installation instructions for nmap at the following link:
https://nmap.org/book/inst-windows.html
Step 2: Open a terminal or command prompt window.
Step 3: Run the following command to scan for live hosts on your network
using nmap:
nmap -sP [network range]
Replace “[network range]” with the range of IP addresses that you want to
scan. For example, if you want to scan the range of IP addresses from
192.168.1.1 to 192.168.1.254, you would use the following command:
nmap -sP 192.168.1.1/24
Step 4: Wait for the scan to complete. Nmap will display a list of all the live
hosts it has found on the network.
Step 5: Find the target IP address of the web server in the list of live hosts. This
is the IP address that you will use for testing on the web server.
Step 6: Once you have found the target IP address, you can use it to connect to
the web server and perform testing as needed.