Sie sind auf Seite 1von 4

Mekelle Institute of

Technology(MIT)
Mekelle,Tigray ,Ethiopia

Laboratory manual for


Computer Networks(CN)
Lab manual : 2

Introduction: In this lab practice you are going to learn how to assign IP
addresses for your PCs in the network and how to use common testing utilities
to verify and test network connectivity and operational status of the IP protocol
stack on a host.
Assigning IP addresses
Before we can configure the PCs as a peer-to-peer network, we must assign IP
addresses to each one. To begin with we will use static IP addressing, as this is
the simplest scheme to set up.
i. Log on to both computers using the administrator account.
ii. Right-click on My Network Places on the desktop and choose
Properties.
iii. Right-click on Local Area Connection and choose Properties.
iv. Select the Internet Protocol (TCP/IP) option and click on the Properties
button.
v. The two IP address options in the dialogue box (see figure below)
correspond to dynamic IP addressing (obtain an IP address
automatically from the DHCP server) and static IP addressing (use the
following IP address). Therefore choose the second option and enter the
IP addresses 10.0.0.20 for your computer and 10.0.0.21 for another
computer.
vi. Assign the appropriate subnet

Figure The Internet Protocol (TCP/IP) Properties dialogue box


Now that the two computers have IP addresses, they should be able to
communicate using the TCP/IP protocol suite. We will use the TCP/IP utilities
IPCONFIG and PING to check the network connection between the computers.
1. Use the IPCONFIG command to view the TCP/IP settings for the on
your computer: open a DOS command prompt on your computer and
type
ipconfig
Document the information that is displayed:
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
____________
2. What is the use of the ping command? Identify the various options that
are used with the ping command.

__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
____________

3. Execute the command ping www.google.com in you command prompt.


If there is Internet connection this PINGing is expected to be successful
and it will display some result. Explain the different rows of this result.
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
____________

4.

ping the loopback address to check that TCP/IP is operating correctly:


type
ping 127.0.0.1 and document the response. Was the PING
successful?
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
_______________

5.

Now check the physical connection to the other workstation on the


network by pinging its IP address: type the command
ping 10.0.0.3
Was the PING successful?
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
_____________

6.

Try PINGing an unused IP address. For example, type


ping 10.0.0.100
What was the error message?
__________________________________________________________
__________________________________________________________
______

7. While pining to a given IP address you may get the following responses:
"Destination net unreachable, or Request timeout .What does each response
mean?
__________________________________________________________
__________________________________________________________
______

Das könnte Ihnen auch gefallen