Basic Networking Tools Study Week #1
10 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What command can be used to scan a host using its host name?

  • sudo traceroute -T www.google.com
  • nmap www.pes.edu (correct)
  • nmap 192.168.1.1
  • nmap 163.53.78.128
  • Which command is used to scan multiple IP addresses or subnets in IPv4?

  • nmap www.pes.edu
  • nmap 192.168.1.1 192.168.1.2 192.168.1.3 (correct)
  • sudo traceroute -T www.google.com
  • nmap 163.53.78.128
  • How can ping be instructed to exit after a specified number of ECHO_REQUEST packets?

  • By setting a timeout flag
  • By using the -e flag for ECHO_REQUEST count
  • By using the -c flag followed by the packet count (correct)
  • By altering the ECHO_REQUEST count in the ping command
  • What is the purpose of using 'traceroute -T www.google.com' command?

    <p>To display the path packets take from source to destination</p> Signup and view all the answers

    What does the command 'nmap 163.53.78.128' imply?

    <p>Scanning for open ports on a specific IP</p> Signup and view all the answers

    What version of HTTP is typically used when retrieving HTML files from a server?

    <p>HTTP version 1.0</p> Signup and view all the answers

    How can one identify remote host apps and OS?

    <p>By conducting a full port scan with Nmap</p> Signup and view all the answers

    Which command should be used to retrieve the last modified date of an HTML file from the server?

    <p>&quot;curl --head <a href="http://www.google.com">www.google.com</a>&quot;</p> Signup and view all the answers

    "nmap" is commonly used for ________.

    <p><em>Locating network vulnerabilities</em></p> Signup and view all the answers

    "sudo" is a command used for ________.

    <p><em>Running commands with administrative privileges</em></p> Signup and view all the answers

    Study Notes

    Week #1: Basic Networking Tools

    • Wireshark, Tcpdump, Ping, Traceroute, and Nmap are essential networking tools to understand.
    • The lab manual is written for Ubuntu Linux OS only, and experiments can be executed on VirtualBox or VMWare platforms.

    Linux Interface Configuration (ifconfig/IP command)

    • ifconfig or ip addr show displays the status of all active network interfaces.
    • Assign an IP address to an interface using sudo ifconfig interface_name 10.0.your_section.your_sno netmask 255.255.255.0 or sudo ip addr add 10.0.your_section.your_sno /24 dev interface_name.
    • Activate/deactivate a network interface using sudo ifconfig interface_name down and sudo ifconfig interface_name up.
    • Show the current neighbor table in the kernel using ip neigh.

    Ping PDU (Packet Data Units or Packets) Capture

    • Assign an IP address to the system (Host) using sudo ifconfig interface_name 10.0.your_section.your_sno netmask 255.255.255.0.
    • Launch Wireshark and select the 'any' interface.
    • Analyze the TTL, protocol used by ping, and time in the terminal.
    • Analyze the frames with the first echo request and echo reply in Wireshark.

    HTTP PDU Capture Using Wireshark's Filter feature

    • Launch Wireshark and select the 'any' interface.
    • Filter HTTP packets using http in the filter toolbar.
    • Analyze the first and second frames (interaction of host to the web server and response of server to the client).
    • Analyze the HTTP request and response using Wireshark's Follow TCP Stream.

    Capturing packets with Tcpdump

    • Use tcpdump -D to see available interfaces for capture.
    • Capture all packets in any interface using sudo tcpdump -i any.
    • Perform some pinging operation while capturing packets.
    • Filter packets based on protocol using sudo tcpdump -i any -c5 icmp.
    • Save packets to a file using sudo tcpdump -i any -c10 -nn -w webserver.pcap port 80.

    Perform Traceroute checks

    • Run the traceroute using sudo traceroute www.google.com.
    • Analyze the destination address of google.com and the number of hops.
    • Use the -n option to disable the mapping of IP addresses with hostnames.
    • Use the -I option to use ICMP packets.
    • Use the -T flag to test a TCP connection.

    Explore an entire network for information (Nmap)

    • Scan a host using its hostname or IP address using nmap www.pes.edu or nmap 163.53.78.128.
    • Scan multiple IP addresses or subnets using nmap 192.168.1.1 192.168.1.2 192.168.1.3.

    Submission Guidelines

    • Take screenshots of results after execution of every command in every task.
    • Write the task and 2-3 lines of observation followed by screenshots.
    • Submissions will be through Google Forms.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

    Enhance your knowledge on basic networking tools such as Wireshark, Tcpdump, Ping, Traceroute, and Nmap. Learn to capture and analyze network packets, test connectivity between systems, and explore networks using Ubuntu Linux OS.

    More Like This

    Use Quizgecko on...
    Browser
    Browser