TCP/IP
Lab
Purpose of
lab:
Use the ipconfig
/all utility to identify the TCP/IP address, subnet mask, default gateway
of a computer, the DHCP server that provide the IP address of a computer,
and to determine when the lease for that address was obtained and when it
will expire.
Note: in Linux, type ifconfig instead of ipconfig.
· Use the ping utility to contact other computers on the network and remote computers.
· Use tracert (trace route) to view the path communications take between two sites.
1. Select Start, Programs, Command Prompt (or MS-DOS prompt option). If Command Prompt is not available, select Start, Run, type cmd and press Enter or select OK.
2.
To obtain
the IP address for your computer, at the C:\ prompt, type ipconfig /all and press Enter.
List the:
Physical address (MAC address):_____________
IP address: _______________
IPv6 address: _______________
Subnet Mask address: _______________
Default Gateway: _________________
IP address of the DHCP server: ______________
When was the lease for the IP address obtained: _________________
When will the lease expire: ______________
3.
Obtain the
IP address of any other computer in the lab.
Physical address (MAC address):_____________
IPv4 address: _______________
At the command prompt, type
arp -a
what MAC addresses are shown?
4.
At the C:\
prompt, type ping and the IP address of the other computer listed
in step 3 and press Enter.
You should see a message that tells you that the other computer is responding
to your ping. Ping is a utility that sends a message out to another computer
of device on the network and receives a message back to let you know that
your computer is communicating with other devices on the network. If a computer
is not able to connect to a particular server or to another network, the ping
utility is used as a troubleshooting tool to determine where the network communication
is failing.
5.
Ping www.clpccd.cc.ca.us. What is the IP address
of the computer you pinged?
__________________
6.
Ping www.novell.com. What is the IP address
of the computer you pinged?
__________________
7.
At the C:\
prompt, type tracert www.novell.com. How many jumps did it take for you to reach that site?
__________
What is the IP address of first computer you are routed to? ______________
8.
Trace the
route to www.yahoo.com.
What IP address are you going to: ____________
# of jumps: ____________
9. At the command prompt, type exit to return to Windows.