PC Network TCP/IP Configuration

Part1: Gather basic 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.

In the command prompt, type ipconfig and press the Enter key.

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.

Subnet mask : An IP address has two components, the network address and the host address. A subnet mask separates the IP address into the network and host addresses (<network><host>).

Default gateway: It is the node on the computer network that the network software uses when an IP address does not match any other routes in the routing table.

Q: If your computer is in a LAN, is there any similarity between the IPs and default gateways of computers connected in the same LAN?


Ans: The IP addresses should share the same network portion. All machines in the LAN should share the

same default gateway. While not a requirement, most LAN administrators try to standardize

components like NICs. Therefore, all machines may share the first three Hex pairs in the adapter

address. These three pairs identify the manufacturer of the adapter.

Check additional TCP/IP configuration information

 To see detailed information, type ipconfig /all and press Enter.

The host name can be obtained from here.

Notice the Physical Address (MAC) and the NIC model (Description).

Q: In the LAN, what similarities about the Physical (MAC) Addresses are seen?

Ans: MAC address is the address provided to each system by the manufacturer. So, there will be similarities in MAC addresses of different computers connected in a LAN               only if the manufacturer of the systems is the same.

Q: Do all of the servers and workstations share the same network portion of the IP address as the student workstation?

Ans: Most devices that you setup (with little work), are usually in the same SubNet; so a short answer would be yes.

However, depending upon how big the network is, and how many devices are on the network, they could be on different SubNets. If it’s a highschool or a middle school, 255 devices would be overkill; however, if it were a bigger school, like a college, it’s possible there’s a different subnet for each building/department.


Based on observations, what can be deduced about the following results taken from three computers connected to one switch?

Computer 1

IP Address:

Subnet Mask:

Default Gateway:

Computer 2

IP Address:

Subnet Mask:

Default Gateway:

Computer 3

IP Address:

Subnet Mask:

Default Gateway:

Should they be able to talk to each other? Why or why not?

Ans: Computer 1 and computer 2 will be able to talk with each other as they have the same default gateway but computer 3 cannot communicate with any of computer 1 or 2 as the default gateway for computer 3 is different from that of both computer 1 and 2.


Part2- Using ping and tracert from a Workstation

ping:  a computer network tool used to test whether a particular host is reachable across an IP network.

To use ping,

In command prompt, type ‘ping ip_address’ and hit ‘Enter’.

tracert: a computer network  diagnostic tool for displaying the route (path) and measuring transit delays of packets  across an IP network.

To use tracert.

In command prompt, type ‘tracert ip_address’ and hit ‘Enter’.

Leave a Reply

Your email address will not be published. Required fields are marked *