|
Start
|
|||||||||||
|
Getting connected
Today, many people have more than one computer in their home. These computers
can be connected together to form a small network, allowing both data and other
computer resources to be shared. These could include printers, CD-writers,
Internet connectivity and so forth.
I am going to assume you are familiar with basic PC terminology. To start with, I shall consider networking just 2 PCs. Later I shall present a SOHO (Small Office Home Office) solution. There are also security matters to address. For now, let's get started:
Networking 2 computers
The simplest network involves connecting 2 computers together. To do this, you
will require the following:
Hardware installation
Ensure your PC is powered off and disconnected from the mains supply.
Open-up the system unit and plug the ethernet card into a spare PCI slot. The
card will usually be provided with drivers on an accompanying diskette or CD.
When Windows boots up, it should discover the new network card and prompt you for the media containing the drivers. Have your Windows Operating System CD to hand because the PC may require additional files from this. Once the ethernet ports are installed on each PC, you may connect the two PCs using the Cat5 cross-over cable.
Network addresses
The networking protocol we are going to use for our private network is called
TCP/IP (Transmission Control Protocol / Internet Protocol). This is provided
as standard with Windows, and is also the protocol used World-wide over the
Internet.
Each PC on our private network needs to have a unique IP address. It looks like this: 192.168.1.87 This address uniquely identifies a machine, and allows data to be routed to it - much like your postal address. For private networks in homes and offices, an International Standard RFC1918 defines blocks of IP addresses available for use. The aim is to ensure that these addresses are different from those deployed by machines on the Internet. We shall adhere to the Standard and pick the following private IP addresses for our two PCs:
The subnet mask is used to split the IP address into two parts. One part is the network ID, the other part is the host ID of the computer. Think of the network ID as being your street and town, while the host ID is your house number. In our case, the network ID is 192.168.1 while Machine 1 has a host ID of 100, and Machine 2 a host ID of 101. These addresses will be permanently assigned to your two PCs for use on the private network. They are known as static IP addresses. In addition, a PC may have a dial-up connection to the Internet. When you use your dial-up connection, your ISP (Internet Service Provider) will temporarily assign the machine a public IP address for use during the dial-up session on the Internet. This public address is different every time you dial-up and is known as a dynamic IP address. A PC is quite capable of handling both private network traffic and dial-up Internet traffic simultaneously. In this configuration, it is said to be running two separate IP Protocol Stacks. Of course, working with different networks raises security issues. We shall come back these later. |
|||||||||||