Page 1of 40
ExperimentNo:5 Date: / /
TITLE: Perform TCP/IP Configuration for PC Network
OBJECTIVES:
After completing study of this practical the students will be familiarized
with…
Identify tools used to discover a computer network configuration
with various operatingsystems.
Gather information including connection, host name, Layer 2 MAC
address and Layer 3 TCP/IP network addressinformation.
Compare network information to other PCs on thenetwork.
THEORY:
Note: Windows NT/2000/XP users complete Steps 1 to4
Step 1 Gather TCP/IP configuration information
Use the Start menu to open the Command Prompt, an MS-DOS-like window.
Press Start >Programs >Accessories >Command Prompt or Start
>Programs >Command Prompt.
The following figure shows the Command screen. Type ipconfig and press
the Enter key. The spelling of ipconfig is critical while case is not. It is short
for IP Configuration.
This first screen shows the IP address, subnet mask, and default gateway. The
IP address and the default gateway should be in the same network or subnet,
otherwise this host would not be able to communicate outside the network. In
the figure the subnet mask tells us that the first three octets must be the same
to be in the samenetwork.
Note: If this computer is on a LAN, the default gateway might not be seen if
it is running behind a Proxy Server.
Step 2 Record the following TCP/IP information for Your computer
IP address:
SubnetMask:
DefaultGateway:
Step 3 Compare the TCP/IP configuration of this computer to others on the LAN
Page 2of 40
If this computer is on a LAN, compare the information of several
machines. Are there any similarities?
What is similar about the IP addresses?
What is similar about the default gateways?
The IP addresses should share the same network portion. All machines in the
LAN should share the same default gateway.
Step 4 Check additional TCP/IP configuration information
To see detailed information, type ipconfig /all and press Enter. The
figure shows the detailed IP configuration screen.
The host name, including the computer name and NetBIOS name should be
displayed. Also, the DHCP server address, if used, and the date the IP lease
starts and ends should be displayed.
Look over the information. Entries for the DNS, used in name resolution
servers, may also bepresent.
The previous figure reveals that the router is performing DHCP services for
this network. This would likely be a small office or home office (SOHO) or
small branch office implementation.
Page 3of 40
Notice the Physical Address (MAC) and the NIC model (Description).
In the LAN, what similarities about the Physical (MAC) Addresses are seen?
While not a requirement, most LAN administrators try to standardize
components like NICs.
Therefore, it would not be surprising to find all machines share the first three
Hex pairs in the adapter address. These three pairs identify the manufacturer
of the adapter.
Exercise:-
Based on observations, what can be deduced about the following results
taken from four computers connected to one switch?
Computer 1
IP Address: 192.168.12.113 , Subnet Mask: 255.255.255.0, Default Gateway:
192.168.12.1
Computer 2
IP Address: 192.168.12.205, Subnet Mask: 255.255.255.0, Default Gateway:
192.168.12.1
Computer 3
IP Address: 192.168.112.97 , Subnet Mask: 255.255.255.0, Default Gateway:
192.168.12.2
Computer 4
IP Address: 168.19.112.97, Subnet Mask: 255.255.0.0, Default Gateway: 192.168.12.1
Should they be able to talk to each other? Are they all on the same network?
Why or why not? If something is wrong, what is most likely the problem?
QUIZ:
Answer the Followings:
1.Where IP Address isStored?
2.Where MAC Address isStored?
3.IP Address and MAC Address is used at whichLayer?
EVALUATION:
Understandin Timely
Involveme Tot
g / Problem Completio
nt (4) solving n al
(3) (3 (10)
)
Signature withdate:
Page 4of 40
Page 5of 40