You are on page 1of 5

LAB 01

Basic PC Network TCP/IP Configuration

OBJECTIVES OF THE LAB


----------------------------------------------------------------------------------------------------

In this lab, we will cover the following topics

• Identify tool used for discovering a computer's network configuration,

• Gather information, including the connection, host name, MAC (Layer2) address,
and TCP/IP Network (Layer 3),

• Compare the network information to that of other PC's on the network.

----------------------------------------------------------------------------------------------------

1.1 ABOUT IPCONFIG


ipconfig (Internet Protocol Configuration) in Microsoft Windows is a console application. It
can be used from MS-DOS shell to display the network settings currently assigned and given
by a network. This command can be utilized to verify a network connection as well as to verify
network settings.

Usage
ipconfig [/allcompartments] [ /? | /all | /renew [adapter] | release [adapter] |
/flushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid adapter
[classidtoset] ]
Where
Adapter - connection name (wildcard characters * and ? allowed)

Option Description
================================================

/? Display help message


/all Display full configuration information
/allcompartments Display information for all compartments
/release Release the IP address for the specified adapter
/renew Renew the IP address for the specified adapter
/flushdns Removes the DNS Resolver cache
/registerdns Refreshes all DHCP leases and re-registers DNS name
/displaydns Display the contents of the DNS Resolver Cache
/showclassid Displays all the DHCP class IDs allowed for adapter
/setclassid Modifies the DHCP class ID
Use the Start menu to open the command-prompt:
Start>Programs>Accessories>Command Prompt OR
Start>Programs>Command Prompt

2. Type ipconfig and press Enter key. The spelling of the ipconfig is critical, but
The case is not.

The screen shows the IP address, subnet mask and the default gateway. The IP address and the
default gateway should be in the same network or subnet; otherwise this host wouldn't be able
to communicate outside the network. This can be seen in Figure 1.1

Figure 1.1: Basic TCP/IP Information

If your IP address is 192.168.x.x, 10.x.x.x, or 172.16.x.x, then you are receiving an internal
IP address (private IP) from a router or other device. The IP address that the world sees is
that of the router. If you are receiving a 169.254.x.x address, this is a Windows address
that generally means your network connection is not working properly.
TASK 01
a) Record the following TCP/IP information for your computer:
i. IP address: _________________________________________________
ii. Subnet mask: _______________________________________________
iii. Default gateway: _____________________________________________

B) Compare your Computer’s TCP /IP Configuration to that of other on the LAN and answer the
following questions:
I. Are there any similarities ____________________________________________
II. What is Similar about IP Addresses ____________________________________
III. What is similar about Default Gateway _________________________________
IV. Record a couple of IP addresses of your nearby hosts
1) ___________________________________
2) ___________________________________

Example: Checking additional TCP/IP Configuration


To see more information about your network connection, type ipconfig/all and press enter key.
Fig 1.2 shows detailed ip configuration on the screen.

Figure 1.2: Additional TCP/IP Information


You should see the following information:
• The Host name (name of computer)
• Physical address (MAC address) of the machine
• Logical Address (IP Address) of the machine
• Subnet Mask
• Default gateway
• DNS Server

TASK 02
a) Record the additional TCP/IP information for your system and compare your
result with a few nearby computers. What similarities do you see in the physical
(MAC) address?

_____________________________________________________________
_____________________________________________________________

b) Write down the computer's host name: _________________________________

c) Write down the host names of a couple of other computer:

i. _______________________________________
ii. _______________________________________

You might also like