Basics of ipconfig, ping, tracert, nslookup, and netstat

Basics of ipconfig, ping, tracert, nslookup, and netstat


A quick tutorial to introduce basic network testing tools like ipconfig, ping, tracert, nslookup, and netstat. Cisco CCNA 1
http://danscourses.com
Closed Caption:

you're going to want to know your basic
network testing tools introductory to be
able to test your network for comic for
connections to see if you have
connectivity to your server to see if
you have connectivity to your gateway
your router and you're going to need to
know how to use these few commands here
ipconfig ping
Trey cert or trace our tea or trace
route
nslookup and netstat so let's run
through an example of all these commands
ok I'll close these windows and i'll
open up a command prompt and we'll start
off
I can make this a little bit bigger make
the font a little bit bigger for you
so it's easier to see ok so now that I
have the font a little bit bigger
I'll run an ipconfig and what can you
learn from by running an ipconfig well
you're going to be able to get your IP
address your subnet mask and your
gateway so and this can be useful
because if you've set your computer to
dhcp client to automatically obtain this
you can't see it by going to the nick
and right-clicking and looking at your
properties you won't be able to see what
IP address you received
so you need to be able to do this to
find out what is my IP address
ok IP address subnet masking gateway but
we don't see our dns server information
and we also there's a couple other
things we can see if we put in IP config
space / all if we put in that command we
can see our host name
we can see our physical address right
here which is our the mac address of our
Nick of our network interface cards or
ethernet card has this mac address
burned into it we can see the dhcp is
often that we have our subnet mask we
see our gateway and our dns server
information
ok and this is once again using just an
XP client
it's probably gonna be a lot more
information if you do this in there will
be more information if you do it in
windows 7 or windows vista cuz you'll
see
IP version 6 information and you'll
probably see more interfaces but this is
a very simple client for this example
ok so that is ipconfig ipconfig all very
useful
you'll need to know those tools next
ping
you're going to need to know how to use
the ping command to be able to test to
see if you're connected on the network
and mainly if you can
let's say get a response from your
router so in this case i'll say ping and
then i'll type the IP address of the
router so i'll say the Gateway 192.168
and i'll put in the IP address of my
gateway and you can see here that I'm
getting a reply from the gateway and
that means that i have communications
established with the gateway router and
that's a very useful tool be able to
ping a another computer on your network
and see if you can contact them
ping uses ICMP protocol and sends out an
echo request and then the packets then
come back our echo replies and sometimes
you can have a situation where you
picking a computer and you actually have
a situation where your firewall could be
blocking those pings your pings your
echo request could be getting to the
destination but not coming back because
it could be being blocked
another thing about pingas you can ping
domain names too
now when you pick a domain name there's
going to need to be a deal domain name
server to be able to resolve the name
so like if I ping yahoo.com this is
going to test not if I can just get to
my router and back but it's going to
test to see if i can get all the way to
Yahoo's web server and back so it's
going to go across the Internet of over
multiple routers
to get there and then return so you can
see there i can get a reply that shows
that i can resolve DNS I can go out
across the internet and come back in and
so that's pretty useful a lot of sites
from ping we can also do a traceroute
now trace route will show us almost like
a ping but much more detailed as the as
the requests for replies travel across
the Internet each router along the way
we'll send a reply or send a message
back and so will be able to see every
router along the way
send a return message so i can say ping
me not paying trace our tea or tray cert
and i'll do the same thing due to
yahoo.com is an example
and as this trace command get sent out
over the internet you can see all of the
routers or hops along the way of
communicating back and you can trace
that here and if there's a problem in
communication breakdown you can see
we're at which router
where did the communication breakdown
this can be useful if you have multiple
routers on your network and you want to
know where which which router is
blocking your communication
ok so that's Trey cert all right let's
see here what else it is we want to
cover
nslookup we're now going to cover to
look up resolve domain name to an IP
address and the netstat to look for open
ports so let's do that right now
ok for nslookup we're trying to resolve
a name to an IP address so you see that
when we last pinged yahoo or we did a
trace our tea or tray cert to yahoo that
we got messages back but basically
behind the scenes dns was resolving
those names to IP addresses well we can
put in a command to find those IP
addresses straight up so i can say NS
lookup right name server look up and put
in a space and type yahoo.com and my dns
server that I have configured will try
to resolve that name
and so it's said that basically at four
. one there was no dns server but at 50
. one we have one
so there's miss configuration their
writer passed it on to 50 . one and we
got this reply that yahoo.com resolves
to these IP addresses all right
and we can actually change our nslookup
we can just type in this look up and run
the program and then set a separate
server for to use the testing with so i
could say you know server change it to
50 . one
all right and it says there and then i
can say resolve yahoo.com right
and then there's not an authoritative
answer why is it a non authoritative
answer because 50 . one is not the
authority for this domain name
it is not the primary dns server for
this domain name
ok all right let's do the next one
all right clear that screen and last but
not least
netstat netstat is useful for seeing
whether we have listening
tcp ports or connections on our system
network connections established or
listening or waiting on our system so if
you type
netstat let's say - hey for all you'll
see all of the port's that this computer
might have listening to see and so you
can see here local address this is the
protocol tcp protocol UDP
this is the local address here the
foreign address here and then the state
whether it's listening or established
so let's see if we can run some services
and then watch as these these as we make
connections or have extra listening
connections happening over here
right you can see that we're listening
on certain parts already but we want to
do something cooler for the test so i'm
going to run
a sample k ftp server and let's roll run
a will run a HTTP server so we have a
web server here
right so I've got a web server waiting
and I've got a ftp server now active
I'll close this window and so now if we
run a netstat - all we should be able to
see those servers those ports listening
on our computer and you can see right
off the bat tcp ftp is listening and you
can see here that HTTP this is port 21
listening and this is port 80 HTTP is
also listening and pretty cool let's see
if we can do that too p
all right
this is without names so i did a /a n
and now you can see the port numbers so
you can see here that um 21 is listening
listening on 000 meaning every listening
on zero zeros are listening for every
incoming address on port 21 because it's
running an ftp server port 80 000
listening for any incoming address on
port 80 for the web server so very
useful tool to see which connections are
established in which are simply
listening and which are waiting and
network basically channels that your
computer is communicating on

Video Length: 09:56
Uploaded By: danscourses
View Count: 285,848

Related Software Products
Network Ping
Network Ping

Published By:
FilesWeb.com

Description:
You may check communication with computer or look up if a host is online by executing a ping command. Windows does not provide graphical utility to do that, but has a command line tool. This software works just like command line ping.exe but has a configurable parameters screen and a nice graphical output. You may preset TTL - time to live of the ICMP packet to be sent, the size of the ICMP packet to send, number of ping requests, host name resolution, packet size. The software can run both ...


Related Videos
Network Troubleshooting using PING, TRACERT, IPCONFIG, NSLOOKUP COMMANDS
Network Troubleshooting using PING, TRACERT, IPCONFIG, NSLOOKUP COMMANDS

Watch my complete Networking Tutorial Playlist: http://goo.gl/WXNhTr Video walkthrough for using the Command Prompt to troubleshoot network connectivity using 4 KEY COMMANDS: PING, TRACERT, IPCONFIG, NSLOOKUP ::::: RELATED VIDEOS :::::: Network Troubleshooting using Command Prompt: http://youtu.be/AimCNTzDlVo Create a Bootable USB Flash Drive using Command Prompt: http://youtu.be/gpgNKkoDPZA Learn to use Basic Command Prompt ...
Video Length: 14:34
Uploaded By: sakitech
View Count: 1,119,868

How-to Ping IP Address and Check DNS Settings
How-to Ping IP Address and Check DNS Settings

http://tips4pc.com/articles/networkin... How-to Ping IP Address and Check DNS Settings. It is easy to ping an IP address and see if it responds. hr / bClosed Caption:/b yeah yeah I in this session we will see how to test tcp IP connections by using the ping command so to test tcp IP connectivity by using the pink man use the display of IP conflict command to ensure that your network adapter is not in media ...
Video Length: 07:51
Uploaded By: Computerbasics
View Count: 332,711

Network Mapping
Network Mapping

Info Level: Beginner Presenter: Eli the Computer Guy Date Created: November 9, 2010 Length of Class: 51 Minutes Tracks Networking Hacking Computer Security /Integrity Prerequisites Introduction to Networking Purpose of Class This class teaches students how to map a local network. Chapters Introduction (00:00) How Network Mapping Works (03:12) DOS Tools (11:44) Network Mapping ...
Video Length: 51:20
Uploaded By: Eli the Computer Guy
View Count: 309,482

Latency Optimizer 3.0 (Fix Lag, Optimize Ping)
Latency Optimizer 3.0 (Fix Lag, Optimize Ping)

Boost your online games and applications, fix lag - reduce lag with Latency Optimizer 3.0 Download Latency Optimizer 3.0 from http://www.badosoft.com The perfect tool for reducing the high latency (lag) you might experience when playing online games and using online applications. In many cases high latency (lag) is caused by the lack of periodical operating system services, and by improperly configured internet, registry and network device settings. Latency Optimizer ...
Video Length: 09:03
Uploaded By: Badosoft Dev.
View Count: 200,046

Network Troubleshooting Tools - CompTIA A+ 220-702: 3.1
Network Troubleshooting Tools - CompTIA A+ 220-702: 3.1

The 220-700 series A+ exam has been retired! See my new CompTIA A+ videos: http://www.FreeAPlus.com There are many network troubleshooting tools available at the command line. In this video, you'll learn how to use tools such as ping, tracert, nslookup, netstat, and many others. hr / bClosed Caption:/b welcome to this module of Professor masters free comptia a+ certification training course on network troubleshooting tools i'm james masterbr ...
Video Length: 16:35
Uploaded By: Professor Messer
View Count: 171,165

Using NMAP - Part 1 of 2 - Ping Sweeps, Port Scans, IP Spoofing and Gathering Information
Using NMAP - Part 1 of 2 - Ping Sweeps, Port Scans, IP Spoofing and Gathering Information

Using NMAP - Part 1 of 2 - Ping Sweeps, Port Scans, IP Spoofing and Gathering Information with Linux's Network Mapper tool. hr / bClosed Caption:/b and that's a free open source network not going to love - all the distribution such as about to end Dora is a versatile tool that can perform a variety of network scanning the security testing function select and maps common applications include performing pink slips port ...
Video Length: 13:00
Uploaded By: cgermany77
View Count: 143,463

How-To Set Up and Connect The NEW Lorex LNC100 Series IP Network Camera - Ping & Stream
How-To Set Up and Connect The NEW Lorex LNC100 Series IP Network Camera - Ping & Stream

Get set-up in no time with the LNC100 Series Network Cameras by simply scanning the QR code on the back of the camera to activate with the free Lorex Ping App. Go ahead, try and beat the clock!! Click this link to learn more about the LNC100 Series Network Camera! http://www.lorextechnology.com/produc... hr / bClosed Caption:/b hi today we're going to show you how quick and easy it is to set up our new wireless network cameras yellin see ...
Video Length: 03:23
Uploaded By: FLIR Lorex Inc
View Count: 123,866

Copyright © 2025, Ivertech. All rights reserved.