Basic Network Commands LAB NAVA
Basic Network Commands LAB NAVA
DR C NAVANEETHAN SITE
Basic Network Commands:
HOSTNAME : Finding host/domain name and IP
address
The hostname command displays the host name of
the Windows XP computer currently logged into.
DR C NAVANEETHAN SITE
Basic Network Commands:
PING : Test network connection – ping
DR C NAVANEETHAN SITE
Ipconfig:
• to display the network settings currently assigned and given
by a network.
• This command can be utilized to verify a network connection
as well as to verify your network settings.
DR C NAVANEETHAN SITE
PATHPING - This utility enables a user to find network
latency and network loss.
DR C NAVANEETHAN SITE
nbtstat - utility that displays protocol statistics and current
TCP/IP connections using NBT.
DR C NAVANEETHAN SITE
NETSTAT - The netstat command is used to display the
TCP/IP network protocol statistics and information
DR C NAVANEETHAN SITE
ARP
Displays and modifies the IP-to-Physical address translation tables
used by address resolution protocol (ARP).
Example:
C:\Documents and Settings\sysadm>nslookup itu.dk
Server: ns3.inet.tele.dk
Address: 193.162.153.164
Non-authoritative answer:
Name: itu.dk
Address: 130.226.133.2
DR C NAVANEETHAN SITE
C:\Documents and Settings\Administrator>nslookup mail.yahoo.com
Server: vituniv.vit.ac.in
Address: 192.168.64.4
Non-authoritative answer:
Name: login.lga1.b.yahoo.com
Address: 68.142.240.31
DR C NAVANEETHAN SITE
Finger- used to find information about computer
users.
It usually lists the login name, the full name, and possibly other details
about the user you are fingering.
DR C NAVANEETHAN SITE
Ping- Used to verify that a computer can communicate over the network
with another computer or network device.
The ping command operates by sending Internet Control Message Protocol (ICMP)
Echo Request messages to the destination computer and waiting for a response.
Ping Command Syntax
ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [-
w timeout] [-R] [-S srcaddr] [-4] [-6] target [/?]
DR C NAVANEETHAN SITE
Ping
Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] target_name
Options:
-t Ping the specified host until stopped.
To see statistics and continue - type Control-Break;
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet.
-i TTL Time To Live.
-v TOS Type Of Service.
-r count Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.
-w timeout Timeout in milliseconds to wait for each reply.
DR C NAVANEETHAN SITE
PING COMMAND
NOTE :Remark that the remote machine is
replying.
Otherwise the output will be
"Request time out" which means the
remote machine is not working well.(Not
answering)
DR C NAVANEETHAN SITE
tracert:
It simply shows the path between source and destination address.
Example:
C:\Documents and Settings\sysadm>tracert webmail.itu.dk
1
* * * Request timed out.
2 29 ms 19 ms 29 ms ge-0-2-1-2.1000M.albnxu1.ip.tele.dk [195.249.1.2
9]
3 29 ms 29 ms 19 ms pos1-0.622M.lynxg1.ip.tele.dk [195.249.2.46]
4 29 ms 19 ms 29 ms herman.fsknet.lyngby.forskningsnettet.dk [192.38
.7.1]
5 29 ms 29 ms 19 ms 130.225.244.214
6 29 ms 29 ms 29 ms 1.ku.forskningsnettet.dk [130.225.245.90]
7 29 ms 29 ms 29 ms rk.itu.forskningsnettet.dk [130.226.249.30]
8 29 ms 29 ms 29 ms 130.225.245.86
9 29 ms 29 ms 29 ms tarzan.itu.dk [130.226.133.3]
Trace complete.
DR C NAVANEETHAN SITE
net:
It has many options,which are for checking/starting/stopping nt
services,users,messaging,configuration and so on...
Some of those options require administration privileges..
Example:
DR C NAVANEETHAN SITE
THANK YOU
DR C NAVANEETHAN SITE