Sie sind auf Seite 1von 4

GTC - CPT Dept

IST 220 Lab - IP Commands

Name
Please, highlight your answers in yellow.

Part #1 - IP address
Go to: Start -> Program-> Accessories -> Command Prompt
At the command prompt:
Type

ipconfig

<enter>

Write down the following information:


IP address of your PC =

192.168.1.66

Subnet Mask of your PC = 255.255.255.0


An IP address is always associated with a Subnet Mask.
Default gateway (IP address of router) = 192.168.1.254
You need a default gateway, if you want to get out of your local network.
If you were using UNIX or Linux, what command would you have used for ipconfig?
Hint: use Google # /usr/sbin/ifconfig -a

Part #2 - MAC address


At the command prompt:
Type:

ipconfig /all <enter> (There is 1 space after the word ipconfig)

List the 12 digit hexadecimal number that is your NICs MAC address, also known as
the Physical Address
Write down the following information:
Physical address = E0-91-F5-4E-D0-41
The 1st 6 characters are the

The 2nd 6 characters are the

Block ID =E0-91-F5

Device ID = 4E-D0-41

Vendor code (Company ID)

based on the NICs model & manufacture date

Note: The OUI is the 1st 6 hexadecimal characters of the NICs MAC address. It
is used to identify the company

Part #3 - IP address on secondary PC


Find the IP address of another PC in class
List the following:
IP address of the PC =192.168.1.42
The Subnet Mask = 255.255.255.0
Page 1 of 4

GTC - CPT Dept

IST 220 Lab - IP Commands

Part #4 - Ping
At the command prompt, type: ping 127.0.0.1
By pinging the loopback address (127.0.0.), you can determine whether your
workstations TCP/IP services are running.
Ping uses ICMP service to send echo request & reply messages that determine
the validity of an IP address.
Ping the secondary PC IP address you entered in Part #3:
What full command did you type? PING 192.168.1.42
How many replies does ICMP return? 4
By pinging your neighbors PC you can determine whether your network
connection is working. By pinging a PC on another subnet, you can determine
whether the problem lies within a connectivity device between two subnets.
Ping the default gateway (this is the IP address of your router):
What full command did you type: PING 192.168.1.254
How many replies does ICMP return? 4

Part #5 - ARP
The letters ARP stand for Address Resolution Protocol
ARP is used to discover the identity of a machine whose IP address you know or
identify the problem of 2 machines trying to use the same IP address.
At the command prompt, type ARP and read through the switches.
Find and use the parameter will allow you to view the current cache (ARP table)?
What full command did you type? C:\users\greg>arp -a
Write in the IP addresses of the at least 2 connections in the space below. What
other address is given for each IP address in the Arp table or cache?
IP address

Physical or MAC address

192.168.1.65

10-ae-60-4e-87-95

192.168.1.68

b8-3e-59-2e-08-5b

Part #6 - Network statistics


At the command prompt, type: netstat a
The netstat command reveals all TCP/IP port connections.
For what protocols is information displayed?
TCP
UDP
Page 2 of 4

GTC - CPT Dept

IST 220 Lab - IP Commands

At the command prompt, type: netstat ?


What does the r option do? Displays the routing table.
At the command prompt, type netstat -r
How many entries are listed? 4

Part #7 - Domain name lookups


At the command prompt, type: nslookup www.microsoft.com
How many IP addresses did the DNS server know about for this domain name? 1
How many Aliases did the DNS server know about for this domain name? 2
nslookup www.course.com

= 198.105.254.130 IPv4 address

nslookup www.gvltec.edu

= 198.105.244.130 IPv4 address

nslookup cisco.com

= 72.163.4.161 IPv4 address

nslookup google.com

= 173.194.219.138 IPv4 address (first)

more than one for google.com?

How many 6

Part #8 - Trace routes


At the command prompt, type: tracert www.course.com <enter>
Use tracert to determine the number of hops between two nodes.
How many hops does it take to go from your computer to the Course Technology
home pages computer? 13
How many hops are listed as the maximum? 30
At the command prompt, type: tracert www.comptia.org <enter>
What is the result? _14
What is a possible explanation for this result?
It didnt give the web address just the ip address but only took 14 hops.
(You may have to stop the tracert utility by pressing Ctrl+C.)
If you were using UNIX or Linux, what command would you have used for tracing the
route? Hint: use Google
$ traceroute <server-name>

Page 3 of 4

GTC - CPT Dept

IST 220 Lab - IP Commands

Part #9 - Tracing network paths


Trace the path to a network.
We will use an online utility from yougetsignal.com.
Click on http://www.yougetsignal.com/tools/visual-tracert/
Trace the path to a network from your Computer to google.com
Click on the Proxy Trace button.
How many hops did it take you to get to google.com? 21
What city is google.com located in? Bellevue, WA
How many hops would it take you to get to course.com
Hint: change the remote address, and then click on the Proxy Trace button.
How many hops did it take you to get to course.com? 24
What company name using course.com? cengage
What city is it located in? Mason, OH

Part #10 - Bandwidth


Determine the throughput on your network
Click on http://www.speedtest.net/
Click on Begin Test
What was the Ping reply time (in ms)? 44
What was the Download Speed? 18.21
What was the Upload Speed? 1.88

Page 4 of 4

Das könnte Ihnen auch gefallen