0% found this document useful (0 votes)
9 views11 pages

Computer Networking Lab Experiment Guide

The document outlines a computer networking lab experiment conducted by a student at Techno India University, detailing the use of various network commands such as IPCONFIG, ROUTE PRINT, PING, and TRACEROUTE. It includes step-by-step procedures for obtaining network information, analyzing packet round trip times, and managing routing tables. The conclusion emphasizes the understanding of basic network commands and connectivity checks between nodes.

Uploaded by

souravkhan1204
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views11 pages

Computer Networking Lab Experiment Guide

The document outlines a computer networking lab experiment conducted by a student at Techno India University, detailing the use of various network commands such as IPCONFIG, ROUTE PRINT, PING, and TRACEROUTE. It includes step-by-step procedures for obtaining network information, analyzing packet round trip times, and managing routing tables. The conclusion emphasizes the understanding of basic network commands and connectivity checks between nodes.

Uploaded by

souravkhan1204
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Techno India University, West

Bengal
Computer Networking Lab
TIU-UEC-L306

Experiment No.: 1
Name: Sourav Khan
ID: 221001002032
Stream: B. Tech ECE
Section: BEC 3
Year: 3rd
Semester: 6th
Procedure:
Step 1: IPCONFIG:
The "ipconfig /all" command is typed, and "ENTER" is
clicked to obtain detailed information.

Here, the physical address is 30:03:C8:46:3E:6D


Here, the Most Significant Byte is 30 = 0011 0000 and
its Least Significant Bit is 0, therefore the address is
Unicast.
To get the Subnet Address, Bitwise AND Operation will
be performed between IPv4 Address and Subnet
Mask.
4-Byte Decimal Binary

---------------------------------------------------------------------------------------------------
IPv4 address → [Link] → 11000000.10101000.00000000.01100111

Subnet Mask → [Link] → 11111111.11111111.11111111.00000000

---------------------------------------------------------------------------------------------------
Subnet Address → [Link] /24 → 11000000.10101000.00000000.00000000

Therefore, the default gateway will be 192. 168.0.1.


Total number of host address will be [Link] to
[Link].
Step 2: ROUTE PRINT:
The "route print" command is typed, and "ENTER" is
clicked to obtain the routing table for IPv4 addresses.

Here, the printed default gateway matches with


the gateway obtained in ipconfig /all command.
Step 3: PING:
The "ping [Link]" command is typed, and
"ENTER" is clicked.

Here, The Packet’s Round Trip Time values are:


minimum 29 ms, maximum 31 ms, and average
30 ms.
To change the number of counts for ping request to
send to 8(say), “ping [Link] -n 8” command is
typed and “ENTER” is clicked.
Here, The Packet’s Round Trip Time values are:
minimum 28 ms, maximum 32 ms, and average
29 ms.

To change the packet size i.e., length of packet to 1024


byte(say), “ping [Link] -l 1024” command is
typed and “ENTER” is clicked.

Here, The Packet’s Round Trip Time values are:


minimum 28 ms, maximum 33 ms, and average
30 ms.
To see that continuous ping operation happening, ping
-t is ran and to stop, control+c is pressed.
While ping –t runs in one cmd prompt, another cmd
prompt as administrator is opened and route add
[Link] mask [Link] <other than the default
gateway> is typed.
Q) If given the default gateway while adding the
above route, “Request timed out” is not got in
next step. WHY?
Ans. Providing the default gateway ensures an
alternate route, preventing packet loss when deleting
the default route, avoiding "Request timed out" errors.
In the cmd prompt running as administrator, route
delete [Link] is typed to delete the default route.
In the “administrator cmd” prompt, route add [Link]
mask [Link] <default gateway> is typed to add
back the default route.
Here, The Packet’s Round Trip Time values are:
minimum 27 ms, maximum 76 ms, and average
30 ms.
Step 4: TRACEROUTE:
The "tracert -d [Link]" command is typed, and
"ENTER" is clicked.

Here, Total number of hop counts= 4, Default


Gateway: [Link] and Destination IPv4
Address: [Link]
To change the time out for tracert to 4000 ms(say),
“tracert -d -w 40000 [Link]” command is
typed and “ENTER” is clicked.

To change the number of hop count to 3(less than the


hop count got in previous step; say), “tracert -d /h 3
[Link]” command is typed and “ENTER” is
clicked.
Here, Intermediate IPv4 Address: [Link]
Conclusion: Understood basic network commands
e.g., ipconfig /all, route print/add/delete, different types
of ping commands, tracert (trace route) etc. and
checked the connectivity between nodes.

You might also like