Chapter 3 : Building a Peer-to-Peer Network

Lab 3.1.5 Building a Peer-to-Peer Network

Step 1: Diagram the network

a. A network diagram is a map of the logical topology of the network. In the space below, sketch a simple peer-to-peer network connecting two PCs. Label one PC with IP address 192.168.1.1 and the other PC with IP address 192.168.1.2. Use labels to indicate connecting media and any necessary network devices.

b. A simple network like the one you designed can use a hub or switch as a central connecting device, or the PCs may be directly connected. Which kind of cable is required for a direct Ethernet connection between the two PCs?

(RJ-45)

Step 2: Document the PCs

a. Check the computer name settings for each PC and make adjustments as necessary. For each PC, select Start and Control Panel. Double-click the System icon, then click the Computer Name tab. Write down the computer name that is displayed following Full computer name:
PC1 Name: Ayu Sulastri
PC2 Name: pc-83476b1f3bb8

b. Check to see if the two PCs have the same name. If they do, change the name of one PC by clicking the Change button, typing a new name in the Computer name field, then clicking OK.

c. Click OK to close the System Properties window.

d. Why is it important that each PC on a network have a unique name?

(untuk membedakan antara satu PC dengan PC yang lain)

Step 3: Connect the Ethernet cable

a. Use the Ethernet crossover cable provided by the instructor. Plug one end of the cable into the Ethernet NIC of PC1.

b. Plug the other end of the cable into the Ethernet NIC of PC2. As you insert the cable, you should hear a click which indicates that the cable connector is properly inserted into the port.

Step 4: Verify physical connectivity

a. After the Ethernet crossover cable is connected to both PCs, take a close look at each Ethernet port. A light (usually green or amber) indicates that physical connectivity has been established between the two NICs. Try unplugging the cable from one PC then reconnecting it to verify that the light goes off then back on.

b. Go to the Control Panel, double click the Network Connections icon, and confirm that the local area connection is established. The following figure shows an active local area connection. If physical connectivity problems exist, you will see a red X over the Local Area Connection icon with the words Network cable unplugged.

c. If the Local Area Connection does not indicate that it is connected, troubleshoot by repeating Steps 3 and 4. You may also want to ask your instructor to confirm that you are using an Ethernet crossover cable.

Step 5: Configure IP settings

a. Configure the logical addresses for the two PCs so that they are able to communicate using TCP/IP. On one of the PCs, go to the Control Panel, double click the Network Connections icon, and then right click the connected Local Area Connection icon. Choose Properties from the pull-down menu.

b. Using the scroll bar in the Local Area Connection Properties window, scroll down to highlight Internet Protocol (TCP/IP). Click the Properties button.

c. Select the Use the following IP address radio button and enter the following information:
IP Address 192.168.1.1
Subnet Mask 255.255.255.0

d. Click OK, which will close the Internet Protocol (TCP/IP) Properties window. Click the Close button to exit the Local Area Connection Properties window.

e. Repeat steps 5a – 5d for the second PC using the following information:
IP Address 192.168.1.2
Subnet Mask 255.255.255.0

Step 6: Verify IP connectivity between the two PCs

NOTE: To test TCP/IP connectivity between the PCs, Windows Firewall must be disabled temporarily on both PCs. Windows Firewall should be re-enabled after the tests have been completed.

a. On PC1, on the Windows XP desktop, click Start. From the Start menu, select Control Panel, and double-click Network Connections.

b. Right-click the Local Area Connection icon and select Properties. Click the Advanced tab. Locate and click the Settings button.

c. Make a note of whether the firewall settings are ENABLED (ON) for the Ethernet port or DISABLED (OFF) for the Ethernet port.

d. If the firewall settings are enabled, click the Off (not recommended) radio button to disable the firewall. The setting  will be re-enabled in a later step. Click OK in this dialog box and the following to apply this setting.

e. Now that the two PCs are physically connected and configured correctly with IP addresses, we need to make sure they communicate with each other. The ping command is a simple way to accomplish this task. The ping command is included with the Windows XP operating system.

f. On PC1, go to Start, then Run. Type cmd, and then click OK. A Windows command prompt window will appear as shown in the figure below.

g. At the > prompt, type ping 192.168.1.2 and press Enter. A successful ping will verify the IP connectivity. It should produce results similar to those shown in here.

h. Repeat Steps 6a-6c on the second PC. The second PC will ping 192.168.1.1.

i. Close the Windows command prompt window on both PCs.

Step 7: Verify connectivity using My Network Places

a. A PC can share its resources with other PCs on the network. PCs with shared resources should be visible through My Network Places. On PC1, go to Start, click My Network Places, and then click View workgroup computers in the left panel.

b. Do you see an icon for the other PC in your peer-to-peer network?    (ya)

c. What is the name of the other PC?    (pc-83476b1f3bb8)

d. Is it the same name you recorded in Step 2?    (ya)

e. Perform Step 7a on the second PC.

f. Close any open windows.

Step 8: (Optional – Use only if the Firewall was originally ENABLED) Re-enable the firewall

a. If you disabled the Windows Firewall in Step 6, click Start, select Control Panel, and open the Network Connections control panel.

b. Right-click the Ethernet network connection icon and select Properties. Click the Advanced tab. Locate and click Settings.

c. If the firewall settings are disabled (and they were enabled before this lab began), click the On radio button to enable the firewall. Click OK in this dialog box and the following one to apply this setting.

Lab 3.3.3 Determine the MAC Address of a Host

Step 1: Open a Windows command prompt window

a. From the Windows XP desktop, click Start then Run.

b. Type cmd in the Run dialogue box then click OK.

c. A Windows command prompt window opens.

Step 2: Use the ipconfig /all command

a. Enter the ipconfig /all command at the command prompt.

b. Press Enter. (Typical results are shown in the following figure, but your computer will display different information)

Step 3: Locate the MAC (physical) address(es) in the output from the ipconfig /all command

a. Use the table below to fill in the description of the Ethernet adapter and the Physical (MAC) Address:
Description: Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC

Physical Address : 00 – 23 – 5A – 52 – 92 – 33

Step 4: Reflection
a. Why might a computer have more than one MAC address?

b. The sample output from the ipconfig /all command shown previously had only one MAC address. Suppose the output was from a computer that also had wireless Ethernet capability. How might the output change?

c. Try disconnecting the cable(s) to your network adapter(s) and use the ipconfig /all command again.
What changes do you see? Does the MAC address still display? Will the MAC address ever change?

d. What are other names for the MAC address?

Lab 3.3.6 Determine the IP Address of a Computer

Step 1: Determine the IP address of the computer

a. From the Windows XP desktop, click the Start button, and then click Run.

b. In the Run dialog box, type cmd then click the OK button.

c. At the command prompt, type ipconfig /all and press Enter.

d. The ipconfig /all command then displays a list of information about your computer’s IP configuration.
An example is shown in the following figure. The information displayed for your computer will be different.

e. Locate the IP address and record the finding.
IP address: 1.1.71.168

f. Why is it important that a computer get an IP address?

(agar dapat dikoneksikan dengan internet)

Lab 3.5.2 IP Addresses and Network Communication

Step 1: Connect the PCs to create a peer-to-peer network

 

a. Obtain an Ethernet crossover cable provided by the instructor to connect the two PCs.
NOTE: (optional lab setup) The PCs may be connected to a hub (or switch) using two straightthrough cables. The following instructions assume you are using a crossover cable.

b. Plug one end of the cable into the Ethernet NIC of PC1. Plug the other end of the cable into the Ethernet NIC of PC2. As you insert the cable, you should hear a click which indicates that the cable connector is properly inserted into the port.

Step 2: Verify physical connectivity

a. After the Ethernet crossover cable is connected to both PCs, take a close look at each Ethernet port.
A link light (usually green or amber) indicates that physical connectivity has been established between the two NICs. Try unplugging the cable from one PC then reconnecting it to verify that the light goes off then back on.

b. Go to the Control Panel, double click the Network Connections icon, and confirm that the local area connection is established. The following figure shows an active local area connection. If physical connectivity problems exist, you will see a red X over the Local Area Connection icon with the words Network cable unplugged.

c. If the Local Area Connection does not indicate that it is connected, troubleshoot by repeating Steps 1 and 2. You may also want to ask your instructor to confirm that you are using an Ethernet crossover cable.

Step 3: Configure IP settings for the two PCs

a. Configure the logical IP addresses for the two PCs so that they are able to communicate using TCP/IP. On PC1, go to the Control Panel, double click the Network Connections icon, and then right click the connected Local Area Connection icon. Choose Properties from the pull-down menu.

b. Using the scroll bar in the Local Area Connection Properties window, scroll down to highlight Internet Protocol (TCP/IP). Click the Properties button.

c. Select the Use the following IP address radio button and enter an IP address of 192.168.1.1 and a subnet mask of 255.255.255.0. With this IP address and subnet mask, the network number the host is on is 192.168.1.0 and 192.168.1.1 is the first host on the 192.168.1.0 network :
IP Address : 192.168.1.1
Subnet Mask : 255.255.255.0

d. Click OK, which will close the Internet Protocol (TCP/IP) Properties window. Click the Close
button to exit the Local Area Connection Properties window.
e. Repeat steps 3a – 3d for the PC2 using an IP address of 192.168.1.2 and a subnet mask of
255.255.255.0. The network number this PC is on is 192.168.1.0 and 192.168.1.2 is the second host
on the 192.168.1.0 network.
IP Address : 192.168.1.2
Subnet Mask : 255.255.255.0

Step 4: Verify IP connectivity between the two PCs

NOTE: To test TCP/IP connectivity between the PCs, Windows Firewall must be disabled temporarily on both PCs. Windows Firewall should be re-enabled after the tests have been completed.

a. On each PC, on the Windows XP desktop, click Start. From the Start menu, select Control Panel, and double-click Network Connections.

b. Right-click the Local Area Connection icon and select Properties. Click the Advanced tab. Locate
and click the Settings button.

c. Make a note of whether the firewall settings are ENABLED (ON) for the Ethernet port or DISABLED (OFF) for the Ethernet port.

d. If the firewall settings are enabled, click the Off (not recommended) radio button to disable the firewall. The setting will be re-enabled in a later step. Click OK in this dialog box and the following to apply this setting. Repeat Steps 4a-4d on the second PC.

e. Now that the two PCs are physically connected and configured correctly with IP addresses, we need to make sure they communicate with each other. The ping command is a simple way to accomplish this task. The ping command is included with the Windows XP operating system.

f. On PC1, go to Start, then Run. Type cmd, and then click OK. A Window command prompt window will appear as shown in the following figure.

g. At the > prompt, type ping 192.168.1.2 and press Enter. A successful ping will verify the IP connectivity. It should produce results similar to those shown in the figure that follows.

 



Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s