Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Star Topology
Bus Topology
Ring Topology
Coaxial Cable
BNC Connector
Twisted-pair Cable
RJ-45 Connector
ST Connector
Router
SC Connector
Satellite
Modem
Topic Overview:
Data Communication
Digital Transmission
Analog Transmission
Basic Elements of Communication System
Sender
Medium
Receiver
Simplex
Half-duplex
Full-duplex
Data Communication Software (Protocols)
Network
Advantages of Network
Classification of Networks
Types of Network
Geographical Point of View
Network Topologies
Bus Network Topology
Guided Media
Un-guided Media
gf
Q.2
Q.3
Q.4
2005 Supplementary
ii)
----2005 Supplementary
Q.5
What do you understand by the term Computer Network? Differentiate between LAN, WAN and
MAN with examples?
2004 Supplementary
Q.6
What is a computer network? Differentiate between LAN and WAN with examples.
2003 Supplementary
Q.7
What is a Computer network? Differentiate between LAN, WAN and MAN with examples.
2002 Supplementary
Q.8
What is a Computer network? Differentiate between LAN, WAN and MAN with examples.
2002 Annual
DATA COMMUNICATION
We know that communication means the exchange of information. We all are aware with
some sorts of communication in our day-to-day life. For communication of information and
messages we use telephone and postal communication systems. Similarly data and
information from one computer system can be transmitted to other systems across
geographical areas. Thus data transmission is the movement of information using some
standard methods. These methods include electrical signals carried along a conductor, optical
signals along an optical fibers and electromagnetic areas.
So, data communication can be defined as:
The transfer of data (information) from one point to another point is
called Data Communication.
In this process data is transmitted electronically from one system to other systems using
standard methods.
The electronic systems that transfer data from one point to another are called data
communication systems.
Data is transmitted from one point to another in the form of signals, which may be in
analog form or digital form. Therefore, data transmission is divided into:
Digital Transmission
Analog Transmission
Digital Transmission:
The transfer of data from one point to another in the form of digital signals is called
digital data transmission. Data travel in side the computer in the form of digital signals.
Digital signal may assume only discrete set of values within a given range. Examples are
computer and computer related equipment. A digital signal is a sequence of voltage
represented in binary form.
1
Time
Sender
Medium
Receiver
Sender:
A sender/transmitter (source), which creates the messages to be transmitted. Usually,
Medium:
A medium, which carries the messages from one place to another. It may be a guided
Receiver:
A receiver (sink), which receives the messages. It may be a Computer system, printer,
Step 1:
Step 2:
Step 3:
---------------
Step 1:
Step 2:
Step 3:
--------------Protocol
Protocol
Message
Medium
Receiver
Sender
Communication System
Simplex: In simplex mode the communication can take place in one direction. The
receiver receives the signal from the transmitting device. In this mode the flow of information
is Uni-directional. Hence it is rarely used for data communication.
Sender
Simplex A to B only
Receiver
directions, but only in one direction at a time. Thus a half-duplex line can alternately send
and receive data.
Sender
(or Receiver)
Half-Duplex A to B or B to A
Receiver
(or Sender)
Examples:
Conversation on walkie-talkies
In LAN Bus & Ring Topologies
3.
the same time. Use of full-duplex line improves the efficiency as the line turn-around time
required in half-duplex arrangement is eliminated.
Sender
(and Receiver)
Full-Duplex A to B and B to A
Receiver
(and Sender)
Examples:
Telephone line
Malik Faisal Ayaz
Data Routing: It is the process of finding the most efficient route between source and
destination before sending the data.
Flow control: All machines are not equally efficient in terms of speed. Hence the flow
control regulates the process of sending data between fast sender and slow receiver.
Error Control: Error detecting and recovering is the one of the main function of
communication software. It ensures that data are transmitted without any error.
NETWORK
A group of computers and other devices connected together is called a
network, and the concept of connected computers sharing resources is
called networking.
Computers that are part of a network can share the following:
Data
Messages
Graphics
Printers
Fax machines
Modems
Other Device
This list is constantly growing as new ways are found to share and communicate by
means of computers.
Advantages of Network:
Communication:
The most important feature of computer network is the communication. People can
Malik Faisal Ayaz
communicate efficiently and easily at very low cost via e-mail, chatting, telephone, videoconferencing etc.
Sharing Hardware:
Enables users to share hardware like scanners and printers. This reduces costs by
reducing the number of hardware items bought.
Access to Data:
Allows users access to data stored on others' computers. This keeps everyone up-to-date
on the latest data, since it's all in the same file, rather than having to make copies of the files,
which are immediately out-of-date.
Sharing Programs:
Can even let users run programs that are not installed on their own computers but are
installed elsewhere in the network. This reduces the effort for networks administrators to
keep programs configured correctly and saves a lot of storage space.
Classification of Networks:
Network can be classified into two classes as:
Homogeneous networks
Heterogeneous networks
Homogeneous Network
Homogeneous means similar characteristics, a network is called homogeneous network in
which all clients have the same operating system. It runs a single network layer protocol. An
example of homogeneous networks is a network using Windows over TCP/IP.
Heterogeneous Network
Heterogeneous means containing dissimilar characteristics, a network is called
heterogeneous network when it consists of different manufacturers products. An example of
heterogeneous network is a local area network that connects Windows and Linux-based
personal computers with Apple Macintosh computers.
Types of Network
There are three different ways in which we classify the networks
1) Geographical Point of View
2) Organizational Point of View
3) Computing Point of View
LAN
WAN
MAN
Channel (media)
2)
3)
Protocol
4)
User Station
The computers used in LAN also require network interface card (NIC). A NIC enables
the computer to send and to receive information over a cable network. In a LAN, the nodes
normally connected via cables. A LAN may use the star topology, ring topology or bus
topology.
Major Characteristics of LAN:
every computer has the potential to communicate with any other computers of the
network
Use of LAN:
Followings are the major areas where LAN is normally used
Personal computing
In WAN, a modem is used that converts the digital signals into analog signals and vice
versa. The modem enables the computer to send and to receive information over long
distance through telephone line or microwave system.
5. The error rate on a LAN is considerably The error rate is not better as compare to
better.
LAN.
7. Its installation and configuration cost is Its installation and configuration cost is more
less than WAN.
than LAN.
8. Cost of data transmission in LAN is less In case of WAN the cost of data transmission
because the transmission medium is owned is very high because the transmission
by a single organisation.
the organization.
Peer-to-Peer:
In a peer-to-peer network, there are no dedicated servers or hierarchy among the computers.
All of the computers are equal and therefore are known as peers. Normally, each computer
functions as both a client and a server, and there is no one assigned to be an administrator
responsible for the entire network.
Size:
Peer-to-peer networks are also called workgroups. In a peer-to-peer network, there are
typically fewer than 10 computers in the network.
Cost:
Peer-to-peer networks are relatively simple. Because each computer functions as a client
and a server, there is no need for a powerful central server, or for the other components
needed for a high-capacity network. Peer-to-peer networks can be less expensive than serverbased networks.
Peer-to-Peer Operating Systems:
Windows NT Workstation, Microsoft Windows for workgroups, Windows 95 etc. are
used in peer-to-peer networking. No additional software is required to set up a peer-to-peer
network.
Where Peer-to-Peer is Appropriate:
Peer-to-peer networks are good choices for environments where:
The organization and the network will have limited growth within the
foreseeable future.
Server-Based Networks:
They are sometimes referred to as Domains. This is a centralized model of networking
with resources placed on a dedicated machine called Server. Server-based networks have
become the standard model for networking.
Size:
There is no user limit as such, as it depends directly on your hardware resources and
capacity to support users.
Cost:
Server-based network can be expensive as compare to peer-to-peer network.
Server-Based Operating Systems:
Windows NT Server, Linux etc. operating systems are used in server-based network.
Malik Faisal Ayaz
Sharing Resources
Server-based network provide access to many files and printers while maintaining
performance and security to the user. Server-based sharing of data can be centrally
administered and controlled, so easier to locate.
Security
Server-based network provide any type of security. Server manages all these things.
Backup
Because crucial data is centralized on one or a few servers, it is easier to make sure that
the data is backed up on a regular schedule.
Redundancy
Through redundancy systems, the data on any server can be duplicated and kept online.
Number of Users
A Server-based network can support thousands of users.
Hardware Considerations
Client computer hardware can be limited to the needs of the user because clients do not
need the additional RAM and disk storage needed to provide server services.
Centralized Networks:
The centralized networks rely totally on one dedicated machine called server for all the
processing and computing and the clients or the terminals act as dumb entities.
If the client requires a certain set of data, whole of the data set is transferred at the client
end, which also is wastage of the network bandwidth.
Client-Server Networks:
In this model of networking, only the required set of data is returned to the client while
both the server and the client take part in the processing or computing of the queries.
This is a more efficient way of processing and is hence applied generally more than the
centralized method, nowadays.
10
NETWORK TOPOLOGIES
Topology is the branch of mathematics that examines the characteristics of geometric
shapes. Networks have shapes, and the shape a network takes has much to do with the way it
functions.
A Network Topology is the physical layout of the computers, servers,
cables and other devices.
In general there are five basic topologies possible:
Terminating
Resistance
absorbs
signals
Network
Bus cable
Drop cable
Terminating
Resistance
absorbs
signals
Hardware Requirements:
NIC (Network Interface Card)
Cable (Most bus topologies use coaxial cables.)
Connectors (BNC Connectors)
Advantages:
11
One virus in the network will affect all of them (but not as badly as a star or ring
network)
Low Cost
Disadvantages:
Low security (all computers on the bus can see all data transmissions on the bus)
One virus in the network will affect all of them (but not as badly as a star or ring
network)
Hardware Requirements:
12
Disadvantages:
Costly Wiring
Difficult Connections
If there is a line break, or if you are adding or removing a device anywhere in the
ring this will bring down the network
Because the signal passes through each computer, the failure of one computer can
impact the entire network.
Hardware Requirements:
NIC (Network Interface Card)
Cable (most star topologies use twisted-pair cables.)
Connectors (RJ-45 Connectors)
Hubs/Switch
Advantages:
13
Disadvantages:
More expensive than linear bus topologies because of the cost of the
concentrators.
Hardware Requirements:
NIC (Network Interface Card)
Cable (most star topologies use twisted-pair cables.)
Connectors (BNC, RJ-45 Connectors)
Hubs/Switch
Advantages:
Disadvantages:
14
Hardware Requirements:
NIC (Network Interface Card)
Cable
Connectors
The number of I/O ports required
ADVANTAGES:
Very robust.. if a link becomes unusable, there are other links available to
transport traffic.
DISADVANTAGES:
Very expensive
TRANSMISSION MEDIA
A transmission medium is any material substance which can propagate
waves or energy.
Transmission media can be classified into two major categories:
GUIDED MEDIA
UN-GUIDED MEDIA
An important characteristic of these different media is the bandwidth or simply the range
of frequencies each can transmit. In general, the greater the bandwidth of a given media, the
more it can carry.
Malik Faisal Ayaz
15
Transmission Media
Guided Media
Twisted-Pair
Coaxial
UTP
Thinnet
STP
Thicknet
Un-guided Media
Fiber-Optic
Microwave
Satellite
Infrared
Bluetooth
GUIDED MEDIA
(Bounded Media /Physical Media /Hardware Systems)
Guided media may constrain and guide the communication signal. Most common media
employed for data transmission are defined as guided -- the data signal is confined in a
specific transmission pathway. Cable TV uses bounded media.
Examples of guided transmission media are:
Twisted-pair Cable
Coaxial Cable
Fiber Optic
Insulating
Jackets
Conductors
Shield
Two
Twisted Pairs
Type 1
16
The quality of UTP may vary from telephone-grade wire to extremely high-speed cable.
The cable has four pairs of wires inside the jacket. Each pair is twisted with a different
number of twists per inch to help eliminate interference from adjacent pairs and other
electrical devices. The tighter the twisting, the higher the supported transmission rate and the
greater the cost per foot. The EIA/TIA (Electronic Industry Association/Telecommunication
Industry Association) has established standards of UTP and rated five categories of wire.
Category 2
Category 3
Category 4
Category 5
Category 6
Familiarity.
Small dimensions.
Disadvantages:
o
Short ranges.
17
environments with electrical interference; however, the extra shielding can make the cables
quite bulky. Shielded twisted pair is often used on
Features:
Coaxial Cable:
Coaxial cabling (Coax) has a single copper conductor at its center. A plastic layer
provides insulation between the center conductor and a braided metal shield. The metal shield
helps to block any outside interference from fluorescent lights, motors, and other computers.
Insulator
Jacket
Outer
Conductor
(Sheild)
Center
Conductor
Coaxial cable
BNC connections.
Advantages:
o
Simplicity
18
Low cost
Flexible
Inexpensive
Disadvantages:
o
Limited distances
Limited application
Thicknet:
Thick coaxial cable is also referred to as thicknet. 10Base5 refers to the specifications for
thick coaxial cable carrying Ethernet signals. The 5 refer to the maximum segment length
being 500 meters. Thick coaxial cable has an extra protective plastic cover that helps keep
moisture away from the center conductor. This makes thick coaxial a great choice when
running longer lengths in a linear bus network.
Features:
Advantages:
o
High rates
Disadvantages:
o Does not bend easily
o Harder to install
o Expensive (Thin cable)
Coaxial Cable Connectors:
The most common type of connector used with coaxial cables is the BNC connector.
Different types of adapters are available for BNC connectors (short for British Naval
Connector or Bayonet Neill Concelman, connectors), including a T-connector, barrel
connector, and terminator. Connectors on the cable are the weakest points in any network. To
help avoid problems with your network, always use the BNC connectors that crimp, rather
than screw, onto the cable.
Malik Faisal Ayaz
19
Jacket
(Sheath)
Cladding
Fiber Core
20
UN-GUIDED MEDIA
(Un-bounded Media/ Wireless Media/ Software Systems)
Unguided media permits signal to be transmitted but not guide them. Transmissions and
receptions are achieved by means of an antenna.
Examples of Un-guided media are:
Microwave
Satellite
Infrared
Blue tooth
Microwave:
Microwave system uses very high frequency radio signals to transmit data through space.
The transmitter and receiver of a microwave system should be in line-of-sight because the
radio signal cannot bend. With microwave very long distance transmission is not possible. In
order to overcome the problem of line of sight and power amplification of weak signal,
repeaters are used at intervals of 25 to 30 kilometers between the transmitting and receiving
end.
Receiving
Antennas
In between
Repeaters
Receiving
Station
Transmitting
Station
Transmitting
Antennas
21
Properties:
Difficult to generate
Can travel long distance
Cant go in to obstacles
Travel in straight line
License is needed to generate them
Relatively inexpensive
Frequency Range 108 1012 Hz.
Data transmission rate is 16 giga bits per second.
Effective distance of microwave antenna
d =7.14
KH
Radar communication
Advantages:
o They require no right of way acquisition between towers.
o They can carry high quantities of information due to their high operating
frequencies.
o Low cost land purchase: each tower occupies small area.
o High frequency/short wavelength signals require small antenna.
Disadvantages:
o Attenuation by solid objects: birds, rain, snow and fog.
o Reflected from flat surfaces like water and metal.
o Diffracted (split) around solid objects
o Refracted by atmosphere, thus causing beam to be projected away from
receiver.
Satellite:
A communication satellite is a microwave relay station placed in outer space. In satellite
Communication, microwave signal is transmitted from a transmitter on earth to the satellite at
Malik Faisal Ayaz
22
space. The satellite amplifies the weak signal and transmits it back to the receiver. The main
advantage of satellite communication is that it is a single microwave relay station visible
from any point of a very large area.
Satellite
22,300 miles
Dish
Dish
Communications Satellite rotates at almost exactly the same rate as the earth rotate. They
are used for both in the national network and in the international network.
There are only a few problems in the transmission characteristics of the satellite link. Due
to the long distance that the signals have to travel, resulted in a delay (echo), which have to
be counteracted by the echo suppressors.
The capacity of the telephone channels increase as time goes on as compared to the time
when the satellite was first launch into space. The Intelsat, which was first launch in 1965,
have 75 duplex telephone channel but today the basic version of the new Intelsat VI satellite
can handle 80000 telephone channel.
Most widely used data transmission media in modern days. They are mostly used to link
big metropolitan cities.
Uses:
Television distribution
Advantages:
o The laying and maintenance of intercontinental cable is difficult and expensive.
o The heavy usage of intercontinental traffic makes the satellite commercially
attractive.
o Satellites can cover large areas of the Earth. This is particularly useful for sparsely
populated areas.
Satellite communication is limited by four factors:
o Technological limitations preventing the deployment of large, high gain antennas
on the satellite platform.
Malik Faisal Ayaz
23
Infrared:
Infrared communication is now common as a means of wireless communication between
devices. The system is built around optical transceivers that transmit and receive at relatively
short distances.
Properties:
Difficult to generate
Red light not commonly visible to human eyes
Travel in straight line
Cant pass through obstacles
Rain will also cause a distortion
Used for short range communication
No license is required
Frequency ranges 1012 1014 Hz.
Uses:
Some Mobile Telephone sets use Infrared for data transfer from one set to
another
Advantages:
o Low power requirements: therefore ideal for laptops, telephones, personal
digital assistants
o High noise immunity: not as likely to have interference from signals from
other devices
o Portable
Disadvantages
o Line of sight: transmitters and receivers must be almost directly aligned
o Blocked by common materials: people, walls, plants, etc. can block
transmission
o Short range: performance drops off with longer distances
24
o Light, weather sensitive: direct sunlight, rain, fog, dust, pollution can affect
transmission
o Speed: data rate transmission is lower than typical wired transmission
Bluetooth:
A radio technology built around a new chip that makes it possible to
transmit signals over short distances between computers and hand-held devices
without the use of wires.
Or we can define as:
Bluetooth is wireless protocol for (data communication) sending audio and video data
between mobile computers - laptops, notebooks, Handheld Computers, PDA's and other blue
tooth enabled devices including print servers.
Bluetooth uses a technique called *spread-spectrum frequency hopping* that makes it
rare for more than one device to be transmitting on the same frequency at the same time.
Properties:
Can connect up to *eight devices* simultaneously.
Used for short range communication approximately 10 meters (32-feet)
No license is required
Frequency ranges 2.4 to 2.4835 GHz (U.S. and Europe)
Data rates of up to 1 megabit per second (Mbps) to 3 Mbps
Uses:
Mobile Telephone sets use for data transfer from one set to another
Advantages:
o Inexpensive and automatic
o No line-of-sight
o Not blocked by common materials: can penetrate most solids and pass
through walls
o Longer range as compare to Infrared
o Not as sensitive to weather/environmental conditions
Disadvantages:
o And the greater range and radio frequency of Bluetooth make it more open to
interception and attack.
25
A Hub is a component that provides a common connection point for computers, printers,
and other network devices in a star topology network. Allowing them to be managed from a
central location. Also, hubs allow you to connect and disconnect an individual
computer/device without disrupting the network. Hubs operate at the physical layer of the
OSI Model.
Types of Hubs:
There are two basic types of hubs, passive and active.
Passive Hubs:
Passive hubs simply provide a junction point, to send the data signal on to other
devices on the network.
Active Hubs:
Active Hubs, regenerate and retransmit the data signal, because they repeat the signal
they can, increase the diameter of the network. You can tell if a hub is active because
it requires electricity.
Active hubs are sometimes called multiport repeaters because they act like repeaters.
Hybrid Hubs:
Advanced hubs that will accommodate several different types of cables are called
hybrid hubs.
Switches:
(Like Hub with additional layer of intelligence)
Switches are a special type of hub that offers an additional layer of intelligence to basic,
physical-layer, repeater hubs. A switch must be able to read the MAC address of each frame
it receives. This information allows switches to repeat incoming data frames only to the
computer or computers to which a frame is addressed. This speeds up the network and
reduces congestion. Switches operate at both the physical layer and the data link layer of the
OSI Model.
Repeaters:
(Regenerates the weak signals)
A repeater takes a weak signal from one segment, regenerates it, and passes it to the next
segment. so that the signal can cover longer distances without degradation.
A repeater:
Connects two segments of similar or dissimilar media.
Regenerates the signal to increase the distance transmitted.
Passes all traffic in both directions.
26
Bridges:
(Connect LANs of the same type)
A bridge is used to join two network segments together; it allows computers on either
segment to access resources on the other. They can also be used to divide large networks into
smaller segments. Bridges have all the features of repeaters, but can have more nodes.
Bridges can also connect networks that run at different speeds, different topologies, or
different protocols. But they cannot, join an Ethernet segment with a Token Ring segment,
because these use different networking standards.
Bridges operate at both the Physical Layer and the MAC sublayer of the Data Link layer.
Bridges read the MAC header of each frame to determine on which side of the bridge the
destination device is located, the bridge then repeats the transmission to the segment where
the device is located.
Routers:
(Connects LANs and WANs, route messages through the network)
A device used to connect networks of different types, such as those using different
topologies and protocols. They can operate at the first three layers of the OSI Model. This
means they can switch and route packets across multiple networks. Routers determine the
best path for sending data.
You can use routers, to segment a large network, and to connect local area segments to a
single network backbone that uses a different physical layer and data link layer standard.
They can also be used to connect LAN's to a WAN's.
Brouters are a combination bridge, and router in one device. Brouters are more cost
effective as both the bridge and router are combined together.
Gateways:
(Connect dissimilar networks)
27
A wireless network adapter card with a transceiver sometimes called an access point,
broadcasts and receives signals to and from the surrounding computers and passes back and
forth between the wireless computers and the cabled network.
Access points act as wireless hubs to link multiple wireless NICs into a single subnet.
Access points also have at least one fixed Ethernet port to allow the wireless network to be
bridged to a traditional wired Ethernet network.
Modems:
(Convert digital signals into Analog and Vice-versa)
A modem is a device that makes it possible for computers to communicate over telephone
lines. The word modem comes from Modulate and Demodulate. Because standard telephone
lines use analog signals, and computers digital signals, a sending modem must modulate its
digital signals into analog signals. The computers modem on the receiving end must then
demodulate the analog signals into digital signals.
Modulation
Demodulation
There are 2 basic physical types of modems: Internal & External modems. External,
connected to the computers serial port by an RS-232 cable
Internal modems are a plug-in
incorporates the serial port on-board. They are less expensive than external modems
because they do not require a case, power supply and serial cable. Modems connect to the
phone line using standard telephone RJ-11 connectors.
LOOK BEFORE YOU LEAP
Malik Faisal Ayaz
28