Documente Academic
Documente Profesional
Documente Cultură
1. Introduction to networks
Introduction
What is a network?
A network is formed when you connect things. Networks are all around us:
Most experts agree that a computer network is formed when two or more computers
communicate. However, there are some people who insist that you need three
computers to make it a real network.
1. Introduction to networks
Scale
Wide Area Network (WAN)
WANs span large geographical areas, typically countries or
continents.
The telephone system
A banks secure ATM (cash machine) network
Satellite links between TV companies
Connections are made by copper or fibre-optic landlines, line-ofsight microwave radio, or satellite relay.
Other terms
Other abbreviations are now creeping into popular use.
Campus Area Network (CAN): somewhere between a LAN and a MAN, this describes
connections over a village-sized area. Usually restricted to larger universities.
Tiny Area Network (TAN): used by some people to describe small networks within a
house or small office.
Computer Networks
Topology
Star
In a star layout, all computers are connected to a central hub.
Star networks allow computers to be connected & disconnected with
ease, so long as enough ports are available. However, if the hub
breaks then the entire network goes down.
Ring
In a ring layout, each computer connects to two neighbours to form
a loop. Messages are passed from computer-to-computer until they
reach their destination.
Ring networks are efficient and cheap but if one of the computers
breaks or is removed then the entire network goes down.
Mesh
Mesh networks connect many computers directly to each other.
This means faster communication, and provides alternative routes if
a computer or link breaks. However, more connections means mesh
networks are expensive to build.
Bus
A bus provides a common electrical connection for a number of
computers, but only two computers may communicate at the same
time otherwise there will be a signal collision.
Buses are very cheap and allow easy connection & disconnection.
However, buses tend to slow down with increased message traffic.
1. Introduction to networks
Relationships
Client-Server
A server program carries out work for client programs.
Server software is often located on a powerful, high-specification machine, allowing it
to serve many clients at once. For this reason, the computer itself is usually referred to
as a server. A range of server programs are available:
File server: stores files centrally
Print server: processes all printing for the network and sends work to
selected printers.
Internet proxy server: connects to an ISP on behalf of other computers on
the network, passing messages to-and-from the Internet.
Database server: allows simultaneous access to large database files.
Webserver: hands out webpages on request.
Mail server: stores and processes email; like a post office.
Domain controller: this manages security for the network, processing
passwords and deciding who can access services.
Client software is located on normal-specification computers, known as workstations.
Typical client software includes:
Web browser: requests webpages from a webserver.
Email client: sends and receives messages from a mail server.
Peer-to-Peer
When a computer is capable of acting as both client and server, we
call it a peer. Peer-to-peer networks contain computers that are requesting services
from each other.
Computer Networks
2. Network media
Electrical media
Plain copper wire
A pair of plain copper wires is a poor medium for electronic
signals, and is therefore rarely used in computer networking.
Bandwidth
The closeness of the screen and signal wire creates an effect called capacitance.
This limits the range of frequencies bandwidth that may be carried
through the cable.
Attenuation
This capacitance and electrical resistance of the copper creates an impedance to
signals, measured in ohms per metre (/m), reducing the strength of the signal
over a long distance. This reduction is called attenuation and it is measured in
decibels (dB).
2. Network media
Co-ax offers high bandwidth, low noise & attenuation and is excellent for computer
networking over hundreds of metres. However, it is expensive to buy and install.
A range of different co-ax cables is available, identified by codes. Popular types used
for computer networking include RG-8 and RG-58.
Connectors
In networking, RG-8 thick co-axial cable is terminated with
N connectors. These bulky connectors are also used with radio
equipment.
RG-58 thin co-ax is usually terminated with BNC connectors1.
These are also associated with oscilloscopes, older video recorders
and radio equipment.
Plenum cable
If you are installing a cable in an air duct, you must use a special fire-resistant,
low-smoke plenum version of the cable.
Connectors
The standard connector used with Cat5 cable is the
RJ45. After sorting individual wires into appropriate
channels the connector is crimped onto the wires.
It is often stated in textbooks that BNC is an abbreviation of British Naval Connector but the initials actually stand for
Bayonet Neill Concelman, a hybrid of designs by Paul Neill (N connector) and Carl Concelman (C connector).
6
Computer Networks
Optical media
Fibre-Optic
Optical fibre transmits signals as pulses of light along
a flexible glass tube. It does not use electricity, except
to power the transmitting and receiving circuitry at
either end.
Fibre optic cables have exceptional bandwidth, zero
EMI and very low attenuation and can carry signals
for miles. However, they are expensive to buy and
install.
Fibre optic cables come in two types: single-mode or multi-mode. Multi-mode cables
carry multiple signals at once and is cheaper but can only carry signals about a mile.
Single-mode cables are more expensive but are used for long-distance (up to 24 miles).
Connectors
There are two types of connector commonly used
with optical fibre. The SC is the most popular in
LAN networking.
2. Network media
Wireless media
Infrared
Infrared signals may be used for short-distance connections. However, they are easily
interrupted by bad weather or smoke, and offer a relatively slow method of connection,
typically less than 10 Mbps.
Radio
The most common kinds of wireless network use radio links. Radio technology has
been around for a hundred years and is becoming more popular for local area networks.
Computer Networks
Thick Ethernet can carry a 10 Mbps transmission along a single bus up to 500m. As
many as four repeaters (signal regenerators) can be used to lengthen the bus to a total
of 2.5 km. This technology is slow, uses expensive bulky cable and is rarely used now.
The AUI (Attachment Unit Interface) is also known as the DIX (DEC / IBM / Xerox) interface.
Thin Ethernet can carry a 10 Mbps transmission along a single bus up to 200m length
(in reality 185m). Up to four repeaters can be used to lengthen the bus to a total of
1 km. Popular in the 1980s, this is slow, costly and is rarely used now.
10base-T
100base-TX (Fast Ethernet)
1000base-T (Gigabit Ethernet over Copper)
These Ethernet designs place the bus inside a hub, with Cat5 UTP patch cables
radiating to PCs. The design is known as a logical bus / physical star. The cables
connect to the hub and PC network card with RJ45 connectors.
hub
Cat5e UTP cable
10base-T and 100base-TX work at 10 and 100 Mbps respectively. The cables radiating
from the hub may be up to 100m long. This technology is cheap, fast and 100base-TX
is now the most popular form of connection for LANs.
1000base-T works at 1 Gbps but compatible equipment is still costly at present. Cat 5e
cable is capable of supporting gigabit transmissions but Cat 6 cable allows full duplex
transmission at this speed.
10
Computer Networks
Twisted pair Ethernet uses Cat 5e cable and RJ45 connectors wired according to the
TIA-568A and TIA-568B schemes:
A patch cable (straight through cable) connects a computer to a hub and uses 568A at
both ends. Alternatively, some companies prefer to use 568B at both ends.
A crossover cable connects a computer directly to another computer (or a hub to
another hub) and uses 568A at one end and 568B at the other.
Token Ring
Despite their name, token ring designs usually use a logical ring / physical star
arrangement. Each PC connects with two wires (send and receive) to a central hub
called an MAU (Multistation Access Unit). Token passing is used to regulate access.
Token passing
Only one PC at a time may speak on the network. This is controlled by passing
a token from machine to machine. The PC that wishes to speak hijacks the
token for its own use, releasing it either when it has finished speaking or after a
suitable time-out. Token passing is very efficient under lots of data traffic.
11
Token ring
Token ring networks use STP cable to connect PCs to the MAU in a single, onedirectional ring. These networks may run at speeds of 4 Mbps, 16 Mbps, 100 Mbps or
1 Gbps but are more expensive to run than Ethernet networks and have therefore
declined in use over the last 20 years. Token ring is also known as IEEE 802.5
FDDI
FDDI (Fibre Distributed Data Interface) uses fibre-optic cable to form a dual ring
network running at 100 Mbps or 200 Mbps. The lower speed uses the second ring for
redundancy, the higher uses both simultaneously.
IrDA
The IrDA (Infrared Data Association) standard for infrared devices was designed to
allow devices such as PCs, PDAs and peripherals to communicate. It is not normally
used for conventional LAN networking.
Bluetooth
Bluetooth is designed for connecting computers and communications devices together
directly over very short distances typically up to 10 metres using 2.4 GHz radio
frequencies. It may be used to connect a laptop or PDA to a nearby network interface.
The rate of data communications is 700 Kbps, which is relatively slow.
Wireless LANs
Wi-Fi (IEEE 802.11)
Unlike Bluetooth, Wi-Fi was designed specifically for computer networking. There are
a range of 802.11 standards called 802.11a, 802.11b, 802.11g, etc. defining the
exact details of Wi-Fi radio communication. The links also use 2.4 GHz frequencies
but run at rates up to 54 Mbps over short distances. Lower speed may be attained over
distances up to 200 feet away.
The latest Wi-Fi specification (802.11n) promises speeds up to 540 Mbps.