Collaborative Virtual Computer Lab (CVCLAB)
Penn State Berks
Understanding IP and TCP/IP Configuration
A. Lab Setup (Instructor Note)
Some activities in this lab require two computers, PCa and PCb. PCa and PCb must be in the same group (virtual network) to ensure the connectivity between them. One team member should be assigned to PCa and the other to PCb. Alternatively, a single user can control both PCa and PCb at the same time.
B. Configuring TCP/IP in Windows 7
Learning Objective: In this exercise you will learn how to set up TCP/IP (Transport Control Protocol/Internet Protocol) on the Windows 7 operating system. Each computer connected to a local TCP/IP network must have a unique IP address in that network. In the following steps you will assign an IP address to your computer (PCa or PCb). Complete the following steps:
PCa | PCb | |
IP Address: | 192.168.1.101 | 192.168.1.102 |
Subnet Mask: | 255.255.255.0 | 255.255.255.0 |
Default Gateway: | 192.168.1.1 | 192.168.1.1 |
Tip: When entering a single or double digit, use the spacebar to navigate between decimals in each address. Using the Tab key will move the cursor down to the next line.
7. Do not enter any information for the DNS servers
C. Verifying TCP/IP Setup of PCa and PCb
Tip: To learn more about the “ipconfig” command, type “ipconfig ?” into the command prompt
D. Verifying the Connection Between PCa and PCb
Review Question: What is the function of ping? How can it be used in a network
environment?
E. Messaging Between PCa and PCb Through CMD
1. Click Start and type “cmd” into the Search Box to open the Command Prompt
2. In the prompt, type “msg /server:192.168.2.101 student1 “Hello!”” Make sure to use
the IP Address and Username of the opposite computer.
F. Troubleshooting and Understanding IP
PCa | PCb | |
IP Address: | 192.168.2.101 | 192.168.1.102 |
Subnet Mask: | 255.255.255.0 | 255.255.255.0 |
Default Gateway: | 192.168.1.1 | 192.168.1.1 |
2. In PCb, change the IP address to 192.168.2.101 as in the following table and repeat Step D. What is happening? Discuss why PCa and PCb cannot have the same IP address on the same LAN.
PCa | PCb | |
IP Address: | 192.168.2.101 | 192.168.2.101 |
Subnet Mask: | 255.255.255.0 | 255.255.255.0 |
Default Gateway: | 192.168.1.1 | 192.168.1.1 |
3. Change the IP adress configurations on both computers as in the following table. Discuss why PCa and PCb can communicate.
PCa | PCb | |
IP Address: | 192.168.1.101 | 192.168.2.102 |
Subnet Mask: | 255.255.0.0 | 255.255.0.0 |
Default Gateway: | 192.168.1.1 | 192.168.1.1 |
G. Sharing a Folder
In this exercise, you are going to create a folder on PCb and share it with PCa in the network. Make sure that you change the IP address of PCb back to 192.168.1.102 before starting this exercise.
Review Exercise:
of