CNS301 Computer Networks Labs Overview
21 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 does the ARP protocol primarily resolve?

  • MAC addresses to domain names
  • IP addresses to MAC addresses (correct)
  • Domain names to IP addresses
  • Hostnames to IP addresses

Which netstat command displays the status of ports in use?

  • netstat -e
  • netstat -s
  • netstat -r
  • netstat -a (correct)

What information does the netstat -e command provide?

  • Current resolution of MAC addresses
  • Domain name server status
  • Ethernet statistics like bytes sent and received (correct)
  • Active TCP connection details

In which mode does nslookup print a list of hosts in a domain?

<p>Interactive mode (D)</p> Signup and view all the answers

What is the purpose of the command 'arp -a'?

<p>To list IP addresses and their associated MAC addresses (A)</p> Signup and view all the answers

What does the netstat -r command show?

<p>The routing table and interface details (B)</p> Signup and view all the answers

How does non-interactive mode of nslookup operate?

<p>It prints details for a single host or domain only (D)</p> Signup and view all the answers

Which netstat command is used to yield Ethernet statistics?

<p>netstat -e (B)</p> Signup and view all the answers

What is the main purpose of using the 'tracert' command?

<p>To determine the route and hop count to a destination (A)</p> Signup and view all the answers

What does the acronym PING stand for?

<p>Packet Internet Groper (C)</p> Signup and view all the answers

Which command would you use to check if the website 'www.uit.edu' is reachable?

<p>ping <a href="http://www.uit.edu">www.uit.edu</a> (C)</p> Signup and view all the answers

When using PING, how can you specify the number of packets to send?

<p>Ping -n number (B)</p> Signup and view all the answers

What action does the command 'ping -a ip address' perform?

<p>It resolves the IP address to its domain name. (A)</p> Signup and view all the answers

What could happen if a student arrives late to the lab by more than 20 minutes?

<p>They will not be allowed to attend the lab. (C)</p> Signup and view all the answers

Which of the following is NOT a valid option for using the ping command?

<p>ping --domain <a href="http://www.uit.edu">www.uit.edu</a> (C)</p> Signup and view all the answers

What should students remember to do with their lab work?

<p>Submit it on the same day it is performed. (C)</p> Signup and view all the answers

What happens if no second argument is provided when using a DNS name server?

<p>The default DNS name server will be used. (A)</p> Signup and view all the answers

Which option in the FTP syntax enables debugging and displays all commands passed between the client and server?

<p>-d (B)</p> Signup and view all the answers

What does the '-i' parameter do when using FTP?

<p>It disables interactive prompting during multiple file transfers. (B)</p> Signup and view all the answers

Which FTP parameter allows for the specification of a text file containing FTP commands to be executed automatically?

<p>-s:FileName (D)</p> Signup and view all the answers

What do the wildcard characters in FTP allow you to do?

<p>Match multiple files when specifying local paths. (A)</p> Signup and view all the answers

Flashcards

FTP

A protocol used for transferring files over the internet.

FTP utility

Transfers files between a computer and a FTP server.

FTP -v parameter

Indicates that FTP server responses won't be shown.

FTP -d parameter

Turns on debugging mode, showing all commands sent between the FTP client and server.

Signup and view all the flashcards

FTP -i parameter

Disables prompting during multiple file transfers.

Signup and view all the flashcards

Tracert

A networking tool used to determine the path data takes to reach a destination, showing each 'hop' along the way.

Signup and view all the flashcards

PING

A network command that sends packets to a target host to check if it's reachable and measure response time.

Signup and view all the flashcards

IP Address

The address assigned to a device on a network to identify it uniquely.

Signup and view all the flashcards

Domain Name

A human-readable name that maps to an IP address, making it easier to remember web addresses.

Signup and view all the flashcards

–n (in PING)

Specifies the number of packets to be sent in a PING command, allowing for more targeted testing.

Signup and view all the flashcards

–a (in PING)

A flag used in the PING command to resolve an IP address to its corresponding domain name.

Signup and view all the flashcards

TCP/IP Network

A network that uses the TCP/IP protocol suite for communication, allowing computers to connect and exchange data globally.

Signup and view all the flashcards

TCP/IP Protocol Suite

A set of rules and procedures that govern how data is transmitted across networks, ensuring reliable and secure communication.

Signup and view all the flashcards

What is ARP and its function?

ARP, or Address Resolution Protocol, is a crucial network protocol that helps network devices find each other. Essentially, it maps IP addresses (like house numbers used for online communication) to MAC addresses (unique physical device identifiers). Knowing both allows devices to send data directly between them, avoiding unnecessary broadcasts.

Signup and view all the flashcards

What information does the netstat command provide?

The netstat command provides insights into the activity and state of your network connections. You can see which ports are open, listening for connections, or in other states, along with the devices involved in the communication.

Signup and view all the flashcards

What does the netstat -a option reveal?

The netstat -a option displays all active network connections, including both those that are currently being used and those that are listening for incoming connections. It provides a comprehensive view of the network's current state and helps identify active connections and potential security risks.

Signup and view all the flashcards

What is the purpose of the nslookup command?

The nslookup command acts as a domain name server (DNS) resolver, helping to translate domain names (like www.example.com) into IP addresses that computers understand. You can use it to check the validity of domain names, find the IP addresses associated with them, or even troubleshoot DNS issues.

Signup and view all the flashcards

What is interactive mode in nslookup?

The nslookup command offers interactive mode, allowing you to directly query the DNS and ask various questions about domains and hosts. This is great for exploring and investigating specific information, like a detective asking questions during an interrogation.

Signup and view all the flashcards

What is non-interactive mode in nslookup?

The nslookup command can be used in a non-interactive mode, where you provide a single domain name or IP address and it retrieves information about that specific entity. This is helpful for quick and focused queries, much like a quick phone inquiry to confirm an address.

Signup and view all the flashcards

What is the purpose of the ping command?

The ping command sends test packets to a specific IP address or hostname, allowing you to check network connectivity and measure latency. It acts like a pulse check to ensure a network connection is alive and responsive.

Signup and view all the flashcards

What does the ping -a option do?

The ping -a option provides additional information when you use the ping command. It includes the hostname associated with the target IP address, making it easier to identify the specific computer you are trying to reach.

Signup and view all the flashcards

Study Notes

Lab Information

  • Course Code: CNS301
  • Course Title: Computer Networks
  • Multiple labs are listed, each with a unique objective and tasks

Lab 01: TCP/IP Utilities

  • Objective: Students learn diagnostic commands for troubleshooting network problems.
  • Tracert: A utility to trace the route and hop count to a destination.
  • Ping: A diagnostic tool to check host reachability (either by name or IP address).

Lab 02: Introduction to Boson Network Simulator and Packet Tracer

  • Objective: To increase awareness of Packet Tracer and Boson Network Simulator.
  • Boson Network Simulator: Application mimicking network scenarios, allowing design and configuration of network devices (routers/switches) like in a real environment.
  • Packet Tracer: Alternative simulator, enabling visual representation of network behaviour. Allows real-time or simulation mode.

Lab 03: Creating Straight and Cross Cable

  • Objective: To understand and create straight and crossover cables using RJ-45 connectors and crimping tools.
  • Components: Includes twisted-pair cables (STP, UTP, ScSTP), RJ-45 connectors, and crimping tools.
  • Purpose of Different Cable Types: Different categories of twisted pair cables are defined based on data rates and usages..

Lab 04: Implementing FTP Server

  • Objective: To implement an FTP server on Packet Tracer and explore related commands.
  • File Transfer Protocol (FTP): An application layer protocol enabling file transfer between clients and servers over a network.

Lab 05: DHCP and DNS

  • Objective: Exploring the efficacy of DHCP (Dynamic Host Configuration Protocol) and DNS (Domain Name System) servers in a wired network.
  • DHCP: A network management protocol assigning IP addresses to devices automatically.
  • DNS: Converts domain names (e.g., www.example.com) into IP addresses for website/application locations.

Lab 06: HUB and BRIDGE

  • Objective: Configuring a network with Hub and Bridge devices.
  • Hub: A simple multi-port repeater forwarding data to all connected ports.
  • Bridge: Interconnects multiple networks, filtering traffic, improving performance to some extent, and separating collision domains.

Lab 07: Introduction to Switches & Segregation using VLANs

  • Objective: Basic switch configuration and segregation of networks using VLANs (Virtual LANs).
  • VLANs: Subdivide a physical network into multiple logical networks enhancing privacy and security.

Lab 08: Removing loops using spanning tree protocol and Implementing port security

  • Objective: Remove loops in a network using the spanning tree protocol and implement port security on a switch to prevent unauthorized connections.
  • Spanning Tree Protocol (STP): A protocol for detecting and preventing loops in a network, improving network reliability.
  • Port Security: Implementing limitations on the number of devices connected to ports on a switch, enhancing network security.

Lab 09: Introduction to routers and setting up static routes

  • Objective: Introduction to routers and setting up static routes.
  • Router: A network device forwarding packets between networks based on routing tables.
  • Static Routes: Manually configured routes to guide forwarding packets, ensuring they travel via the desired paths within a network.

Lab 10: Routing Information Protocol

  • Objective: Introduction to the routing protocol.
  • Routing Protocol: Used by routers for exchanging information about networks and finding the most efficient path to deliver packets.

Lab 11: Inter-VLAN Routing (Using Router-on-Stick)

  • Objective: Inter-VLAN routing using router-on-a-stick.
  • Router-on-a-Stick: A configuration method enabling inter-VLAN communication through a single physical router interface.

Lab 12: Routing Protocol IGRP & EIGRP

  • Objective: Introduction to IGRP (Interior Gateway Routing Protocol) and EIGRP (Enhanced Interior Gateway Routing Protocol)
  • IGRP: Legacy distance vector protocol providing multiple metrics.
  • EIGRP: Advanced distance vector protocol improving convergence speed and efficiency through incremental updates.

Studying That Suits You

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

Quiz Team

Related Documents

Description

Explore the objectives and tools used in various labs of the Computer Networks course (CNS301). Learn about TCP/IP utilities for troubleshooting, the Boson Network Simulator, and Packet Tracer for network design. Understand practical tasks like creating straight and cross cables to enhance your networking skills.

More Like This

TCP/IP Protocol Suite
5 questions

TCP/IP Protocol Suite

EnchantingViolet avatar
EnchantingViolet
Architecture TCP/IP et Protocoles
20 questions
Réseaux informatiques: Architecture TCP/IP
56 questions
Network Communication Concepts Quiz
42 questions
Use Quizgecko on...
Browser
Browser