Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
31 views9 pages

Faculty of Information Technology: Networking Command Line Tools

This document provides an overview of common networking command line tools, including hostname, ipconfig, ping, tracert, NSLookup, netstat, and route. Hostname displays the computer name, ipconfig shows network settings, ping tests connectivity, tracert traces the network path between nodes, NSLookup looks up host names and IP addresses, netstat displays TCP/IP statistics, and route manages and displays the routing table. These commands are useful for configuring and troubleshooting network connectivity and settings from the command line.

Uploaded by

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

Faculty of Information Technology: Networking Command Line Tools

This document provides an overview of common networking command line tools, including hostname, ipconfig, ping, tracert, NSLookup, netstat, and route. Hostname displays the computer name, ipconfig shows network settings, ping tests connectivity, tracert traces the network path between nodes, NSLookup looks up host names and IP addresses, netstat displays TCP/IP statistics, and route manages and displays the routing table. These commands are useful for configuring and troubleshooting network connectivity and settings from the command line.

Uploaded by

Mohammed Melad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Faculty of Information Technology

Computer Networks and Communication Department


CN311 - Network Lab 1

Networking Command Line Tools


Hostname
 Hostname
 Hostname is a simple command that you can
use to display or print the name of the computer
where the command is executed. This command
does not take any parameters and its syntax is
very simple:

2
IPCONFIG
 The ipconfig command displays the current
settings used by the network adapter. When
invoked with the /all flag, this command will
show more verbose information about the
network settings. Information available includes
IP addresses, host names, packet counts, subnet
masks, gateways, and domain name.
 ipconfig /all
 ipconfig /release
 ipconfig /renew

3
ping

 ping
 The command name stands for “packet Internet
groper,” and is used to test reachability of hosts by
sending an ICMP echo request and waiting for a reply.

 Using the ping command is an effective way to test


connectivity.
 An echo request is a signal sent out to another
computer
 An echo reply is the other computer’s response signal
 Process of sending this signal back and forth is known
as pinging

4
Ping example

5
Tracert
 Tracert/Traceroute
 Uses ICMP to trace path from one networked node to
another
 Also known as tracert on Windows machines

6
NSLookup

 NSLookup
Allows you to look up the DNS host name of a network
node by specifying its IP address, or vice versa

Output of a simple ns lookup command

7
Netstat

 Netstat
Netstat utility display TCP/IP statistics and details about
.TCP/IP components and connections on a host

8
Route
 Route
• Used to display and manage the routing table
• ARP (Address Resolution Protocol).

You might also like