Assignment-Network Discovery Commands
Assignment-Network Discovery Commands
PRESENTED BY :
Naseem Khasawneh
202110086
PREPARED BY :
Dr. Mohammad Almuiet
1. Ping Command
Command: ping *IP_address_or_domain*
Purpose: Tests the reachability of a host on a network and measures the round-trip time for
messages sent.
Result: Displays replies from the target host, including round-trip time (RTT). If the host is
unreachable, it shows request timeouts.
2. Traceroute Command
Linux Command: traceroute *IP_address_or_domain*
Purpose: Traces the path packets take to reach the target, listing all intermediate routers.
Result: Displays each hop, its IP address, and the time it takes to traverse the network.
3. Nslookup Command
Command: nslookup *domain_name*
Purpose: Queries the Domain Name System (DNS) to obtain domain or IP address
mapping.
Result: Displays the IP address of the domain, name servers, and other DNS details.
4. Dig Command
Command: dig <domain_name>
Purpose: Performs DNS queries, such as finding IP addresses or DNS record details.
Result: Outputs DNS records (e.g., A, MX, TXT) for the specified domain
5. ARP Command
Command: arp -a
Purpose: Displays the Address Resolution Protocol (ARP) table, mapping IP addresses
to MAC addresses.
Result: Lists all IP-MAC mappings currently known to the system.
6. Nmap Command
Command: nmap *network_range*
Purpose: Discovers live hosts on a network with port scanning.
Result: Lists active hosts, their IP addresses, and MAC addresses and port with services.
7. Netstat Command
Command: netstat -an
Purpose: Displays network connections (both incoming and outgoing), listening ports, and
associated IP addresses.
Result: Lists active connections and their states.
8. WHOIS Command
Command: whois *domain_name*
Purpose: Retrieves domain registration information.
Result: Provides details like registrar, creation date, expiration date, and contact details.
9. Netdiscover Command
Command: netdiscover -i eth0
Purpose: Scans all IP range using the network and send requests to identify live hosts on
the local network.
Result: Lists active hosts along with their IP addresses, MAC addresses, and the
associated vendor.