Ex No: 01
Date: 21.07.26
Networking Commands
AIM:
To study, execute, and understand basic network troubleshooting and system diagnostic
commands using the Windows Command Prompt.
List of Networking Commands:
1. C:\Users\user>ping [Link]
Tests the network connection between your computer and a specific destination
(Google) by sending data packets and measuring the time it takes for them to return.
2. C:\Users\user>ipconfig
Displays your computer's current network configuration, including your IP address,
subnet mask, and default gateway.
3. C:\Users\user>nslookup
Queries Domain Name System (DNS) servers to find the IP address associated with a
domain name, or vice versa
4. C:\Users\user>tracert [Link]
Traces the exact path (all the routers and hops) data takes to reach a destination and
shows how long each hop took.
5. C:\Users\user>netstat
Displays all active network connections, listening ports, and routing tables on your
computer.
OUTPUT:
1)
Pinging [Link] [[Link]] with 32 bytes of data:
Reply from [Link]: bytes=32 time=12ms TTL=118
Reply from [Link]: bytes=32 time=13ms TTL=118
Reply from [Link]: bytes=32 time=14ms TTL=118
Reply from [Link]: bytes=32 time=14ms TTL=118
Ping statistics for [Link]:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 12ms, Maximum = 14ms, Average = 13ms
2)
Windows IP Configuration
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::c0d8:fb8b:ecf2:b26b%14
IPv4 Address. . . . . . . . . . . : [Link]
Subnet Mask . . . . . . . . . . . : [Link]
Default Gateway . . . . . . . . . : [Link]
3)
Default Server: UnKnown
Address: [Link]
6. C:\Users\user>arp -a
Shows the Address Resolution Protocol (ARP) table, which lists the IP addresses
mapped to physical MAC addresses on your local network.
7. C:\Users\user>route print
Displays the system's IP routing table, showing exactly how your computer decides
where to send network traffic.
8. C:\Users\user>nbtstat -n
Displays local NetBIOS names that have been registered by your system on the
network.
9. C:\Users\user>getmac
Retrieves and displays the physical MAC (Media Access Control) address of your
computer's network adapters.
10. C:\Users\user>hostname
Simply displays the name of your computer as it appears on the network.
11. C:\Users\user>ftp [Link]
Opens the File Transfer Protocol (FTP) client to connect to a remote server for
uploading or downloading files.
4)
Tracing route to [Link] [[Link]]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms [Link]
2 3 ms 2 ms 2 ms [Link]
3 * * * Request timed out.
4 13 ms 12 ms 12 ms [Link]
5 12 ms 12 ms 12 ms [Link]
6 13 ms 13 ms 13 ms [Link]
7 13 ms 13 ms 13 ms [Link]
8 12 ms 12 ms 12 ms [Link]
9 13 ms 13 ms 13 ms [Link] [[Link]]
Trace complete.
5)
Active Connections
Proto Local Address Foreign Address State
TCP [Link]:7680 DESKTOP-PQJC594:62241 TIME_WAIT
TCP [Link]:7680 DESKTOP-4MKM0UJ:63316 TIME_WAIT
TCP [Link]:7680 [Link]:55917 TIME_WAIT
6)
Interface: [Link] --- 0xe
Internet Address Physical Address Type
[Link] 7c-5a-1c-ce-a6-fc dynamic
[Link] 94-57-a5-ed-4e-9e dynamic
[Link] b8-ca-3a-7d-de-fb dynamic
[Link] e8-d8-d1-3d-dd-20 dynamic
12. C:\Users\user>telnet [Link]
Establishes a text-based, unencrypted connection to a remote server, often used by
administrators to test if specific network ports are open.
13. C:\Users\user>systeminfo
Provides a detailed summary of your computer's hardware and operating system
configuration, including RAM, OS version, and uptime.
7)
Interface List
14...48 0f cf 45 18 20 ......Intel(R) Ethernet Connection (2) I219-LM
1...........................Software Loopback Interface 1
IPv4 Route Table
Active Routes:
Network Destination Netmask Gateway Interface Metric
[Link] [Link] [Link] [Link] 25
[Link] [Link] On-link [Link] 281
[Link] [Link] On-link [Link] 281
[Link] [Link] On-link [Link] 281
[Link] [Link] On-link [Link] 331
[Link] [Link] On-link [Link] 331
[Link] [Link] On-link [Link] 331
8)
Ethernet:
Node IpAddress: [[Link]] Scope Id: []
NetBIOS Local Name Table
Name Type Status
---------------------------------------------
DESKTOP-PM6TAK0<00> UNIQUE Registered
DESKTOP-PM6TAK0<20> UNIQUE Registered
WORKGROUP <00> GROUP Registered
9)
Physical Address Transport Name
48-0F-CF-45-18-20 \Device\Tcpip_{BA5F3CA1-3528-4074-805D-8C34F0F96D05}
10)
DESKTOP-PM6TAK0
11)
Connected to [Link].
12)
Connecting To [Link]...Could not open connection to the host, on port 23: Connect
failed
13)
Host Name: DESKTOP-PM6TAK0
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19045 N/A Build 19045
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: user
Registered Organization:
Product ID: 00331-10000-00001-AA130
Original Install Date: 10/13/2025, 4:29:48 PM
System Boot Time: 7/17/2026, 9:25:46 AM
System Manufacturer: HP
System Model: HP EliteDesk 800 G2 SFF
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 94 Stepping 3 GenuineIntel ~3408 Mhz
BIOS Version: HP N01 Ver. 02.09, 1/24/2016
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
RESULT:
Thus implementing all networking commands has been successfully completed and the
output is verified.