|
Lesson 1 - Building a Small Peer-to-Peer NetworkOverview of the ProcessIn general, you will build your network by working your way up the Open Systems Interconnection (OSI) model. The Data Link Layer is already established because you (or someone else) installed the NIC and its driver. You will begin this lesson at the Physical Layer, by using cable to make the physical connections between computers. Then you will move up to higher layers by installing peer-to-peer networking software and the Transmission Control Protocol/Internet Protocol (TCP/IP) protocol stack. Connect the CablesIf you only need to network two computers, you can use a single Ethernet crossover cable to connect one NIC directly to another (this is different than a standard Category 5 patch cable). However, your class will probably use a hub so that more computers can participate in the network. Use one UTP cable to attach each computer's NIC to one port of the hub. This is demonstrated on the Peer-to-Peer Network Diagram.
Peer-to-Peer NetworkIf you have network-capable peripherals, such as printers, do not attach them to the hub. For now, only connect peer computers to the hub. Now supply power to the hub. The hub is a repeater, thus it will not function unless it is plugged in. Set Up Client for Microsoft NetworksClient for Microsoft Networks is an application that allows a computer to communicate with its peers over a network. All of your computer's network settings will be configured within this application, thus you must install and set it up first.
Client for Microsoft Networks now appears in the network components list of the Network dialog box. Network and Transport Layers:
|
|
1. |
In the Network dialog box Configuration tab, click Add. |
|
2. |
In the Select Network Component Type dialog box, highlight Protocol, then click Add. |
|
3. |
In the Select Network Protocol dialog box, shown on the Select Network Protocol Dialog Box Screen Diagram, highlight Microsoft, then highlight TCP/IP. Click OK.
Select Network Protocol Dialog Box Screen |
TCP/IP now appears in the network components list of the Network dialog box. It is also bound to the NIC installed in your computer. To verify this:
|
1. |
In the Network dialog box Configuration tab, highlight your NIC and click Properties. |
|
2. |
In the dialog box for your NIC, click the Bindings tab. It should show that TCP/IP is now associated with the installed NIC. An example of this is shown on the NIC Properties Bindings Tab Screen Diagram.
NIC Properties Bindings Tab Screen |
NOTE: |
Each peer computer in your network must run the same protocol stack. Bind all NICs to TCP/IP. |
|
1. |
In the Network dialog box Configuration tab, highlight TCP/IP (bound to your NIC) and click Properties. |
|
2. |
In the TCP/IP Properties dialog box, click the IP Address tab. |
|
3. |
In the IP Address tab, select Specify an IP address. The fields for IP Address and Subnet Mask are activated. |
The details of IP addressing and subnet masking are beyond the scope of this course; however, the basics are presented next so you will understand what you need to enter into this dialog box.
Each computing device or "host" on a TCP/IP network is assigned a unique IP address. Each IP address is a binary number 32 bits long.
To make it easier for people to read and understand IP addresses, the addresses are often written as four decimal numbers, each separated by a dot. This format is called "dotted decimal notation." Each of the decimal numbers is the equivalent of the 8-bit binary number in one field.
For example, the following binary IP address:
10000001 00001111 00010001 00000011
the dotted decimal version of the same address is:
129.15.17.3
An IP address is divided into two parts: the right part identifies an individual host, and the left part identifies the network on which the host resides. Some addresses use 8 bits for the network portion of the address, and use the other 24 bits for the host portion. Other addresses use 16 bits for the network and 16 bits for the host, or 24 bits for the network and 8 bits for the host.
In this exercise, we will use an IP network address portion that is reserved for testing, or for local networks not connected to the Internet: 192.168.xxx.xxx. The "xxx" identifies the host portion of this address. You can insert any numbers there, as long as the number is between 000.001 and 255.254, and each computer uses a unique host address.
NOTE: |
For simplicity, we are not dividing this network into subnets. |
The subnet mask is a separate 32-bit pattern that marks the network portion and host portions of an IP address. As you can see on the Subnet Mask Diagram, each bit of the subnet mask corresponds to 1 bit of the IP address. A "1" in the subnet mask means that the corresponding bit in the IP address is part of the network portion. A "0" in the subnet mask means that the corresponding IP address bit is part of the host portion. Subnet masks use dotted decimal notation just as IP addresses do.
|
Network Portion |
Host Portion |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
IP Address |
129 |
15 |
17 |
3 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subnet Mask |
255 |
255 |
0 |
0 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subnet MaskAssign IP Addresses and Subnet MasksNow that you understand the basics of IP addresses and subnet masks, you can continue configuring TCP/IP.
Upper Layers: Configure Workgroup and Resource SharingThus far in this process, you have set up the first four OSI layers of your network:
Now that you have established the communication foundation of your network, it is time to configure the following two settings that allow Client for Microsoft Networks to interact with your applications and other network nodes:
Assign Each Node a Computer Name and Workgroup NameYour computer's IP address uniquely identifies it to other machines. However, to help human users recognize your computer, you should assign it a common name.
Define Access to Your Files or PrinterIn a Windows peer-to-peer network, you can decide whether to allow other users to access your hard drive or attached printer. However, you cannot assign different access rights to particular users or groups of users. This default level of control is called "share-level access."
In the Network dialog box, the components list now includes a new entry called "File and printer sharing for Microsoft networks." With this component installed, you can define different types of access for each of your drives, folders, or printers. You can also set a password for any of these resources. Virus Prevention and DetectionViruses are destructive and self-replicating applications that are often disguised within an innocent-looking application, such as a game. When a user runs the application, the virus copies itself to the user's system, then performs the job it was designed to do. Some viruses only display a political message. Others erase entire hard drives. A single virus can infect an entire network within minutes, thus virus prevention software is essential for every node on a network. Excellent applications are available to detect and eliminate viruses; however, all virus prevention programs are blind to new viruses that use new and unknown techniques. When a new virus is discovered anywhere in the world, the developers of virus control software quickly create a software plug-in that allows their application to recognize and eradicate the new threat. A user can usually prevent problems by promptly downloading and installing each new "signature" file. However, some unfortunate victim must always be the first to discover a new virus. If you do not want that dubious honor, a few simple procedures will reduce the chance that you will get a virus:
Most businesses are willing to install and maintain antivirus software; however, they do not want to spend the extra time and effort necessary to quarantine downloadable applications. Thus, many companies have rules that prohibit employees from downloading applications to the company network, or even bringing in floppy disks. Some companies, especially those who have had virus problems in the past, may even dismiss employees who violate those rules. At first, this seems overly harsh. However, when you consider that a single virus outbreak can cost a company thousands or millions of dollars, it is easier to understand that releasing a virus can be as costly as setting off a bomb. ActivitiesSee the Activities and Extended Activities section in Unit 8 Lesson 1 in your textbook Introduction to Networking to test what you have learned so far.
[ Previous Section ] [ Unit Contents ] [ Next Lesson ]
|