Lab 1
Lab 1
The objective of this lab tutorial is to familiarize the students with fundamental network commands
used in networking and system administration tasks.
Answer ALL questions. Remember to include the screenshot of your screen output for each
question.
Open the command prompt by pressing Win + R, type cmd, and press Enter. You will have blank
black scree as below:
1. Type the ipconfig command to display the IP configuration of your computer. What is your IP
address and subnet mask?
2. Type the ping command to test the connectivity to a specific website (e.g., www.google.com).
What is the response time? Example: ping google.com
a) Website used :
google.com, which has the IPv6 address 2404:6800:4001:810::200e.
b) Response time :
Time for the first reply: 18 ms
Time for the second reply: 17 ms
Time for the third reply: 23 ms
Time for the fourth reply: 18 ms
Therefore, the average response time is 19 ms.
c) Define TTL :
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)
d) Define response time.
Minimum = 17ms, Maximum = 23ms, Average = 19ms
3. Use the tracert (Windows) command to trace the route taken by packets from your computer to
www.example.com. How many hops does it take? Example: tracert example.com
a) Website used :
Example.com
b) Number of hops:
The route is traced over a maximum of 30 hops, but the trace completes at hop 9,
indicating it reached the destination in 9 hops.
4. Use the nslookup command to find the IP address of a specific domain (e.g., www.example.com).
What is the IP address?
a) Website used :
Example.com
b) IP address :
2001:e68::b:68
5. Run netstat -ano to list all listening TCP and UDP ports.
6. Run route PRINT to display the routing table.
a) What is the function of a routing table?
The routing table is essential for managing and optimizing network traffic, enabling
efficient data transmission, and ensuring that packets reach their intended
destinations as quickly and accurately as possible