Bit2204 Introduction To Data Communication and Computer Networks
Bit2204 Introduction To Data Communication and Computer Networks
DEPARTMENT OF INFORMATION
TECHNOLOGY
COURSE OUTLINE
To introduce the concepts of computer networking in order to provide basic skills needed in data
transmission communication and computer network..
TOPICS - DETAILS
I. Introduction to Networks
A. Definition of terms
B. Network types, LAN, MAN, WAN
C. Basic components of a Network, terminal, server etc
D. Network types; peer to peer, client server, advantages
V. Connecting Devices
A. Networking Devices, switch, hub, bridge, repeater
B. Internetworking Devices, Router, gateway
VII. Multiplexing
A. Time division Multiplexing
B. Frequency division Multiplexing
Reference Books
CHAPTER ONE
INTRODUCTION TO NETWORKS
Learning Objectives
A client is a computer that allows a user or users to log on to the network and take advantage of
the resources available on the network. A client computer will make a client operating system.
The purpose of the client is to get user onto the network; therefore, client computers don’t
usually have the processing power, the storage space, or the memory found on a server because
the client does not have to serve up resources to other computers on the network.
A server, on the other hand, is typically a much more powerful computer that runs a network
operating system. The server provides centralized administration of the network and serves up
the resources that are available on the network, such as printers and files. The administrator of
the server decides who can and cannot log on the network and which resources the various can
access.
Data communication - electronic transmission of information that has been encoded digitally
(as for storage and processing by computers).
Data are groups of information that represent the qualitative or quantitative attributes of a
variable or set of variables. Data (plural of "datum", which is seldom used) are typically the
results of measurements and can be the basis of graphs, images, or observations of a set of
variables. Data are often viewed as the lowest level of abstraction from which information and
knowledge are derived.
A transmitter is an electronic device which, usually with the aid of an antenna, propagates an
electromagnetic signal such as radio, television, or other telecommunications.
A half-duplex system provides for communication in both directions, but only one direction at a
time (not simultaneously). Typically, once a party begins receiving a signal, it must wait for the
transmitter to stop transmitting, before replying.
A duplex communication system is a system composed of two connected parties or devices that
can communicate with one another in both directions.
A network is an interconnection of two or more computers in order to share data and resources.
either end had to take full responsibility for formatting the data transmitted between them.
Computers in close proximity may be connected by wires directly between their interface cards.
Multi point communication - A system with at least one, and preferably at least two, end
devices
There are some compelling reasons why someone with more than a couple computers would
want to connect those computers into a network. What the network will actually be used for will,
of course, vary depending on the needs of the person or organization creating the network.
Networks can be used for simple tasks, such as sharing a printer, or they can be used for more
advanced applications, such as complex point-of-sale system and worldwide video conferencing.
All networks, whether big or small, are typically created so that users on the network can share
resources and communicate. The list that follows breaks down some of the reasons for
networking computers:
File sharing. Networking computers makes it very easy for the users on the network to
share application files
Hardware sharing. Users can share devices such as printers, CD-ROM drives, and hard
drives.
Program sharing. Applications such as spreadsheets and word processors can be run over
the network.
LAN - Local Area Network - A LAN connects network devices over a relatively short
distance. A networked office building, school, or home usually contains a single LAN,
though sometimes one building will contain a few small LANs (perhaps one per room), and
occasionally a LAN will span a group of nearby buildings.
Metropolitan Area Network - a network spanning a physical area larger than a LAN but
smaller than a WAN, such as a city. A MAN is typically owned an operated by a single entity
such as a government body or large corporation.
WAN - Wide Area Network - As the term implies, a WAN spans a large physical distance.
The Internet is the largest WAN, spanning the Earth. A WAN is a geographically-dispersed
collection of LANs. A network device called a router connects LANs to a WAN.
Peer-To-Peer Network
Computer Computer
Computer
Computers of a Peer-To-Peer network can take both a client and a server role. There is no
centralized control over shared resources, such as files or printer. Any individual machine
can share its resources with any other computer on the same network, however and
whenever its users choose to do so. The Peer-To-Peer relationship also means that all
computers have equal access and responsibility in the network.
10
Server-Based Network
Computer Computer
Server
Server based networks provide centralized control over network resources, primarily by
enforcing network security and control through the server’s own configuration and setup. The
computers used for servers usually incorporate faster CPUs, more memory, larger disk drives, ad
extra peripherals (such as tape drives and CD ROM) when compare to end user machines
(clients). In most cases, servers are dedicated to handle network requests from their clients.
11
Terminal
Terminal
Over the years, the data terminal market has increased substantially and there are now
literally hundreds of manufactures and many different kinds if terminal. However, the
fact is that all of these terminals have been designed primarily to input and display
information in some form or another. Therefore, even though specific characteristics such
as screen size and keyboard layout may differ, they can generally be categorized into
three simple groups.
1. Dumb Terminals
Dumb terminals are those which have limited functions and are driven with
information from a host computer. Normally, they consist of a Cathode Ray Tube
(CRT) display screen with a full alphanumeric keyboard and can be connected
12
2. Intelligent Terminals
Intelligent terminal are, therefore, capable of stand-alone processing and can support
a variety of software applications which, in turn, enable them to support a variety of
communications interfaces through the use of emulation program. This is also means
that, unlike dumb terminals, intelligent terminals are able to use addresses and
sophisticated access method to transmit and receive messages.
3. Graphic Terminals
Graphic terminals are display devices that provide a means not only for displaying
data in graphical form, but also for manipulating and modifying the data presented.
Generally, graphic terminal keyboards have a number of specific or programmable
function keys in addition to the full alphanumeric keys of a normal keyboard and the
resolution of the display screen is normally a lot higher to enable more detailed
displays
13
Workstation
Workstation
Server
Network plays one of two basic roles at any given moment, the computer is either acting
s a client or as a server. A server is a computer that shares its
Resources across the network, and a client are one that accesses shared resources.
Depending on the size and requirements of the network, servers can be classified as
below:
1. File Server
A file server allows user to share files. It several LAN users need access to an
application such as word processing, only one copy of the application software needs
to reside on a file server. This copy can be shared among all the users. When a user
requests to start an application, that application is downloaded into the users
workstation.
Consider the saving in disk space in a company having 100 users for application
package that requires 10 MB of disk storage. Storage on the file server requires only
10 MB of disk space for all users. Storing the same application on 100 users’ local
disk drives will require 1,000 MB of disk space. This is only an example of one
application. Same logic can be applied when hundreds of different application
programs needed.
14
2. Database Server
The database server was developed to solve the problem of passing an entire file over
the medium. The most common example of a database server is the SQL server.
Structured Query Language (SQL) is standard database definition, access, and update
language for relational database. An SQL server accepts a database request, accesses
all necessary records locally, and then sends only the result back to the requester (not
the whole database).
3. Print Server
Print server allows anyone on the network to have access to a printing service.
4. Disk Server
It is server with large storage. A portion of storage is given to each user to store their
files/data. It is very useful in university where each student is given a user account
with password and some storage space in disk server. Once the student completes the
education the same space can be assigned to new student.
Many networks will let their user run standard programs while their computer is
simultaneously functioning as a server to others. A computer that both runs standard
programs and lets other user see its data at the same time is said to be “non-dedicated
server”. Non-dedicated servers can be clever way of setting up a small LAN without
having to buy any extra system. Dedicated server are specially assigned for network
management and provided no general-purpose services.
15
NIC
2. it translates digital data( of source computer) into signals (appropriate for the
networking medium) for outgoing messages, and translates from signals into digital
computer data for incoming messages.
3. Converts serial incoming data via cable into parallel data to for CPU, and vice versa.
4. It has some memory, which acts as a holding tank or buffer. It buffers the data to
control the data flow.
16
17
CHAPTER TWO
TRANSMISSION MEDIA
Learning Objectives
i. Explain the different guided transmission medium such as the twisted pair, coaxial
cable and fiber optic
ii. Explain different unguided transmission medium such as the satellite and microwave
iii. Explain the transmission impairments such as noise and attenuation
Transmission
media
Guided Unguided
18
Twisted-Pair Cable
A twisted consist of two conductors (usually copper), each with its own colored plastic
insulation. In the past, two parallel wires were used for communication. However,
electromagnetic interference from devices such as a motor can create over noise those wires. If
the two wires are parallel, the wire closest to the source of the noise gets more interference than
the wire further away. Which results in an uneven load and a damaged signal.
If, however, the two wires are twisted around each other at regular intervals (between 2 to 12
twist per foot), each wire is the closer to the noise source for half the time and the further away
the other half. With the twisting interference can be equalized for both wires. Twisting does not
always eliminate the impact of noise, but does significantly reduce it
UTP consists of a number of twisted pairs with simple plastic casing. UTP is commonly used in
telephone system.
The Electrical Industry Association (EIA) divides UTP into different categories by quality grade.
The rating for each category refers to conductor size, electrical characteristics, and twists per
foot.
Category 1: Applies to transmit traditional UTP telephones cabling, which is designed to carry
voice but not data.
19
Category 2: Certifies UTP cabling for bandwidth up to 4 Mbps and consists of four pair of
wires. Since 4 Mbps is slower than most networking technologies in the use today. Category 2 is
rarely encountered in networking environment.
Category 3: Certifies UTP cabling for bandwidth up to 10Mbps. This includes most
conventional networking technologies, such as 10BaseT Ethernet and 4Mbps token ring etc.
Category 3 consists of four pairs, each having minimum 3 twist per foot.
Category 4: Certifies UTP cabling for bandwidth up to 10Mbps. This includes primarily
10BaseT Ethernet and 16Mbps token ring. Category 4 consists of four pairs.
Category5: Used for data transmission up to 100Mbps Category 5 also consists of four pairs.
UTP is particularly prone to cross talk, and the shielding included with STP is designed
specifically to reduce this problem.
STP includes shielding to reduce cross talk as well as to limit the effects of external interference.
For most STP cables, this means that the wiring includes a wire braid inside the cladding or
sheath material as well as a foil wrap around each individual wire. This shield improves the
cable's transmission and interference characteristics, which, in tern, support higher bandwidth
over longer distance than UTP.
Coaxial Cable: Coaxial cable, commonly called coax, has two conductors that share the same
axis. A solid copper wire runs down the center of the cable, and this wire is surrounded by plastic
foam insulation. The foam is surrounded by a second conductor, wire mesh tube, metallic foil, or
20
both. The wire mesh protects the wire from EMI. It is often called the shield. A tough plastic
jacket forms the cover of the cable, providing protection and insulation.
Where Ethernet is concerned, there are two types of coaxial cable, called this Ethernet (also
known as thinnet or thinwire,) and thick Ethernet (also known as thinnet or thickwire). The
Institute of Electrical and Electronics Engineers (IEEE) designates these cable types as 10Base2
and 10Base5, respectively, where these notations indicates:
Base: indicates that the network uses baseband signaling and this applies to both types of cable.
Fiber Optic Cable: fiber optic cable transmits light signals rather than electrical signals. It is
enormously more efficient than the other network transmission media. As soon as it comes
down in price (both in terms of the cable and installation cost), fiber optic will be the choice for
network cabling.
A light pulse can be used to signal a ‘1’ bit; the absence of a pulse signals a ‘0’ bit. Visible light
has a frequency of about 108 MHz, so the bandwidth of an optical transmission system is
potentially enormous.
21
An optical transmission system has three components: the transmission medium, the light source
and the detector. The transmission medium is an ultra-thin fiber of glass or fused silica. The light
source is either a LED (Light Emit Diode) or a laser diode, both of which emits light pulses
when a electrical current is applied. The detector is a photo diode, which generates an electrical
pulse when light falls on it.
Silica tube
A cable may contain a single fiber, but often fibers are bundled together in the center of the
cable. Optical fiber are smaller and lighter than copper wire. One optical fiber is approximately
the same diameter as a human hair.
22
Node 2 2 30 2
Capacity (10Base2)
Per Segment 100
(10Base5)
There has been increasing need for mobile users to connect to a network. The answer for their
needs is wireless. In wireless communications, space (air) is the medium for the signals.
No wires needed. Running wires can be difficult in some cases; such as wiring an
existing building, wiring between buildings, wiring across mountains, etc.
Staying connected is important for mobile users. Wireless networks allow users stay
connected more hours each day. Users with laptops may roam their work space without
losing network connection and without logging into another machine. This increases the
productivity of workers.
Wireless networks can grow without much difficulty compared with wired networks.
Making a wired network larger often involves wiring and usually costly.
Wireless networks are not confined to an area. There is no long term commitment as in
the wired networks.
23
As you noticed from the above figure, there are some overlap between the bandwidths for wired
media and wireless. The only difference is whether they have solid wires carrying signals or not.
Radio transmission: These are systems for AM or FM radio. They are one form of
communications and not used for computer networks.
Microwave transmission: We can classify them into three categories; Terrestrial
microwave, Satellite
Terrestrial Microwave
Microwaves do not follow the curvature of the earth therefore require line of sight transmission
and reception equipment. The distance coverable by line of sight signals depends to a large
extend on the height of the antenna: the taller the antenna, the longer the sight distance. Height
allows the signals to travel farther without being stopped by the curvature of the earth and raises
24
the signals above many surface obstacles, such as low hills and tall buildings that would
otherwise block transmission.
Microwave signals propagate in one direction at a time, which means that two frequencies are
necessary for two ways communication such as telephone communication. One frequency is
reserved for transmission in one direction and other for transmission in other. Each frequency
requires its own transmitter and receiver. Today, both pieces of equipment usually are combined
in a single piece of equipment called transceiver, which allows a single antenna to serve both
frequencies and functions.
River
Building A Building B
Terrestrial microwave systems are typically used when using cabling is very costly and difficult
to set.
Satellite Communication
Satellite transmission is much like line of sight microwave transmission in which one of the
stations is a satellite orbiting the earth. The principle is the same as terrestrial microwave, with a
satellite acting as a super-tall antenna and repeater. Although in satellite transmission signals
Satellite
Mother Earth
Satellite dish
Satellite dish
25
USA
Singapore
must still travel in straight lines, the limitations imposed on distance by the curvature of the earth
are reduced. In this way, satellite relays allow microwave signals to span continents and ocean
with a single bounce.
Satellite microwave can provide transmission capability to and from any location on earth, no
mater how remote. This advantage makes high quality communication available to undeveloped
parts of the world without requiring a huge investment in ground based infrastructure. Satellite
themselves are extremely expensive, of course, but leasing time or frequencies on one can be
relatively cheap.
Infrared Transmission
Infrared media uses infrared light to transmit signals. LEDs transmit the signals, and photodiodes
receive the signals. The remote control we use for television, VCR and CD player use infrared
technology to send and receive signals.
Because infrared signals are in high frequency range, they have good throughput. Infrared
signals do have a downside; the signals cannot penetrate walls or other objects, and they are
diluted by strong light sources.
26
Attenuation
Noise
a) Attenuation
b) Noise
Random electrical signals that can be picked up by the transmission medium and
result in degradation of the data.
c) Delay Distortion
d) Jitters
27
amplitude, signal strength, and other elements of such waves. The usual causes
include connection timeouts, connection time lags, data traffic congestion, and
interference. Simply put, this jitter is an undesirable output of system flaws and
interruptions.
28
CHAPTER THREE
NETWORK TOPOLOGIES
Learning Objectives
The most common topologies are the bus, the star, the ring and the mesh.
Bus Topology
The bus topology is the simplest and most common method for connecting computers. It is often
used when a network installation is small, simple, or temporary. It is important to note that the
bus topology is a Passive topology. This means that computers on the bus only listen for data
being sent, they are not responsible for moving the data from one computer to the next. If one
computer fails it has no effect on the rest of the network. In an active topology network, the
computers regenerate signals and are responsible for moving the data through the network.
29
On a typical bus network, the entire computers are connected to a single cable. When one
computer sends a signals using the cable, all the computers on the network receive the
information, but only one (the one with the address that matches the one encoded in the message)
accepts the information. The rest disregard the message.
Only one computer at a time can send a message; therefore, the number of computers attached to
a bus network can significantly affect the speed of the network. A computer must wait until the
bus is free before it can transmit.
Another important issue in bus network is termination. Without termination, when the signal
reaches the end of the wire, it bounces back and travel back up the wire. When a signal echoes
back and forth along the unterminated bus, it is called ringing. To stop the signals from ringing,
terminators are attached at either end of the cable. The terminator absorbs the signals and stops
the ringing.
Advantages of Bus
1. The bus is simple, reliable in very small network, and easy to use.
2. The bus requires the least amount of cable to connect the computers together and is therefore
less expensive than other cabling arrangements.
30
3. It is easy to extend a bus. Two cables can be joined into one longer cable with a BNC barrel
connector, making a longer cable and allowing more computers to jinn the network.
Disadvantages of Bus
2. A break in the cable or lake of proper termination can bring the network down.
Star Topology
In a star topology, each device has a dedicated point to point link only to central controller,
usually called a hub.
Each computer on a star network communicates with a central hub that resends the message
either to all the computers (in a broadcast star network) or only to the destination computer (in a
switched star network). The hub can be active or passive.
Star topology
Computer
Server
HUB
Computer
31
Computer
Computer Computer
An active hub regenerates the electrical signal and sends it to all the computers connected to it.
This type of hub is often called a multiport repeater. Active hub requires electrical power to run.
A passive hub, such as wiring panels, merely acts as a connection point and does not amplify or
regenerate the signal. Passive hubs do not require electrical power to run.
Using a hybrid hub, several types of cable can be used to implement a star network. Hybrid hub
is used to connect different types of cables. It is used to maximise the network’s efficiency and
utilise the benefits different cables.
2. The centre of a star network is a good place to diagnose network faults. Intelligent hubs
(hubs with microprocessors that implement features in addition to repeating network signals)
also provide for centralised monitoring and management of the network.
3. Single computer failure does not necessarily bring down the whole star network.
4. Several types of cable can be used in the same network with a hybrid hub.
Disadvantages of Star
1. If the central hub fails, the whole network fails to operate.
2. It cost more to cable a star network.
Ring Topology
In a ring topology, each computer is connected directly to the next computer in line, forming a
circle of cable. It uses token to pass the information from one computer to another.
Every computer is connected to the next computer in the ring, and each retransmit what it
receives from the previous computer. The message flow around the ring in one direction. Since
each computer retransmits what it receives, a ring is an active network and is not subject to the
signal loss problem a bus experience. There is no termination because there is no end to the ring
Computer
Computer
Computer
Computer Computer
Token passing a method of sending data in a ring. A small packet called the token passed around
the ring to each computer in turn. If a computer has information to send, it modifies the token,
adds address information and the data and sends it down the ring. The information travels around
the ring until it either reaches its destination or returns to the sender. When the intended
destination computer receives the packet, it returns a message to the sender including its arrival.
33
A new token is then created by the sender and sent down the ring, allowing another station to
capture the token and begin transmission.
A token can circle a ring 200 meters in diameter at about 10,000 times a second.
Advantages of Ring
1. All the computers have equal access to the network.
2. Even with many users, network performance is even
3. Allows error checking, and acknowledgement.
Disadvantages of Ring
1. Failure of one computer can affect the whole network.
2. It is difficult to troubleshoot the ring network.
3. Adding or removing computers disturbs the network.
Ring Topology is Appropriate in Following Situation:
The network must operate reasonably under a heavy load
A higher-speed network is required.
The network will not be frequently reconfigured.
Mesh Topology
In a mesh topology, every device has a dedicated point to point link to every other device. The
term dedicated means that the link carries traffic only between the two devices it connects. A
fully connected mesh network therefore has n (n-1)/2 physical channels to link n devices. To
accommodate that many links, every device on the network must have n-1 input/output ports.
34
Computer
Computer Computer
Computer
Computer
Most mesh topology network are not true mesh networks. Rather, they are hybrid mesh
networks, which contain some redundant links but not all.
Advantages of Mesh
1. Because of the dedicated link, no traffic between computers.
2. Failures of one node computer not affect rest of the network.
3. Because of the dedicated link privacy and security are guaranteed
4. Point to point links make fault identification and fault isolation easy.
Disadvantages of Mesh
1. Due to the amount of cabling and number of input output ports, it is expensive.
2. Large space is required to run the cables.
3. Installation and reconfiguration are difficult.
35
Hybrid Star
A star network can be extended by placing another star hub where a computer might otherwise
go, allowing several more computers or hubs to be connected to that hub.
Star Bus
Computer Computer
Computer
Computer
Computer Computer
Computer
Computer
Computer Computer
The star bus topology combines the bus and the star, linking several star hubs together with bus
trunks. If one computer fails, the hub can detect the fault and isolate the computer. If a hub fails,
computers connected to it will not be able to communicate, and the bus network will be broken
into two segments that can not reach each other.
Hybrid Topologies
Often a network combines several topologies, as subnetworks linked together are a large
topology. For instance one department of business may have decided to use a bus topology while
another department has a ring. The two can be connected to each other a central controller in a
star topology.
36
Although this approach is easier to implement, it is vulnerable to the failure of the master node
and reduces efficiency. On the other hand, in a distributed approach all the nodes collectively
perform a medium access control function and dynamically decide which node to be granted
access. This approach is more reliable than the former one.
‘How’ refers to in what manner the control is exercised. It is constrained by the topology and
trade off between cost-performance and complexity.
Medium Access Control techniques are designed with the following goals in mind.
Initialisation: The technique enables network stations, upon power-up, to enter the state
required for operation.
Fairness: The technique should treat each station fairly in terms of the time it is made to
wait until it gains entry to the network, access time and the time it is allowed to spend for
transmission.
Priority: In managing access and communications time, the technique should be able to
give priority to some stations over other stations to facilitate different type of services
needed.
37
Limitations to one station: The techniques should allow transmission by one station at a
time.
Receipt: The technique should ensure that message packets are actually received (no lost
packets) and delivered only once (no duplicate packets), and are received in the proper
order.
Error Limitation: The method should be capable of encompassing an appropriate error
detection scheme.
Recovery: If two packets collide (are present on the network at the same time), or if
notice of a collision appears, the method should be able to recover, i.e. be able to halt all
the transmissions and select one station to retransmit.
Reconfigurability: The technique should enable a network to accommodate the addition
or deletion of a station with no more than a noise transient from which the network
station can recover.
Compatibility: The technique should accommodate equipment from all vendors who
build to its specification.
Reliability: The technique should enable a network to confine operating inspite of a
failure of one or several stations.
For a successful data transmission, following access methods can be used in a network.
Contention
In contention based network, computers sent data whenever they had data to send. This might
work well in a small environment when little data is being sent along the cable. But as more
computers send data, the messages collide more frequently, must be resent, and then collide
again. Soon there will be a communication breakdown.
packe
packe
38
To organize contention based network, two carrier access method were created:
1. Carrier Sense multiple Access with Collision detection (CSMA/CD): is one of the most
popular ways to regulate network traffic. Used by Ethernet, this access method prevents
collision by listening to the channel to see if another computer is sending data. If the
computer does not sense data on the line, it sends its message. If another computer is using
the channel, the computer waits a random amount of time and then checks again. This
process is continued until the channel is free and the computer can send the data.
Advantages:
a) Inexpensive to implement.
Disadvantages:
b) Does not support priority. A single computer can block all other computer if it has very
long message to send.
2. Carrier senses multiple access with collision avoidance (CSMA/CA): It uses collision
avoidance, rather than detection, to prevent collision. With CSMA/CA, once the computer
senses that no other computer is using the network, it signals its intent to transmit data. Any
other computer with data to sensed wait when they receive the “intent-to-transmit” signal and
send their intent-to-transmit signals when they see that channel is free. Although this method
is more reliable than CSMA/CD in avoiding collision, the additional overhead created by the
“intent-to-transmit” packets significantly reduces the speed of any network using this
method.
Network Architecture
Ethernet (CSMA/CD)
LocalTalk (CSMA/CA)
39
Token Passing
Using this channel access method, a special packet called the “token” is passed from one
computer to the next sequentially. Only the computer holding token can send data. A computer
can keep token only a specific amount of time. If the computer with the token has no data to
send, it passes the token to the next computer.
Computer
Token
Computer
Computer
Computer
Advantages:
a) Because only the computer with the token can transfer data, collisions are avoided with
this method.
b) All the computers have equal access to the channel. Because of this equality, token
passing network is best suited for time-sensitive environment. For example banking
transaction and database queries.
Disadvantages:
40
a) Even if only one computer on the network has data to send, it must wait until it receives
the token. If its data is large enough it will more than one turns of token to finish the
transmission, means further delay.
b) The process of creating and passing the token is complicated and requires more
expensive equipment than contention based network.
Network Architecture
Token ring
ARCNet
Demand Priority
Demand priority is a recent channel access method and relies on following method.
Hub Figure
Hub 6.6 Demand Priority Hub
Hub Hub Hub
Computer
Computer Computer
Computer Computer Computer
Computer
Computer Computer
Computer
Intelligent hubs are used to control access to the network. The hub searches all connections in a
round robin fashion. When an end node (computer) has data to send, it transmits a “demand
signal” to the hub. The hub then sends and acknowledgement that the node can start transmitting
its data.
Unlike other channel access methods, demand priority allows for certain computers to be
assigned a higher priority than other. If multiple computers make simultaneous demands, the
computer with highest priority is allowed to transmit first. Demand priority makes the most
efficient use of the available network media. Rather than wasting time addressing computers that
do not have data to send, hubs using demand priority cannel access respond only when
computers signal the hub for service. Also packets are not broadcast in demand priority network
41
as they are in CSMA/CD and CSMA/CA network but, instead, are sent from the computer to the
hub and from the hub directly to the destination. This eliminates traffic on the network.
Advantages:
b) No collision
c) Provide priority
Disadvantages:
Network architecture:
100VG-AnyLAN
Polling
Polling is one of the oldest ways of controlling access to the network. a central controller, often
referred to as the “primary device”, ask each computer (the secondary device) on the network if
it has data to send. If so, the computer is allowed to send data, up to a certain amount of time;
then it is the next computer’s turn.
42
Primary Device
Computer Computer
Advantages:
a) Like token passing, it allows all computers equal access to the channel, and no single
computer can monopolize the media.
b) The central controller allows for centralized management, and certain computers can receive
priority over other computers; they can be polled more often or be allowed to send data for
longer period of time than the remaining computers.
Disadvantages:
Network Architecture
IBM’s SNA
43
44
CHAPTER FOUR
Learning Objectives
4.1 Introduction
The purpose of OSI model is to open communication between different system without requiring
changes to the logic of the underlying hardware and software. The OSI is not a protocol; it is
model for understanding and designing a network architecture that is flexible, robust and open
for communication with other systems.
The OSI model has seven layers. Number of layers in any model is derived on following
principles.
3. The function of each layer should be chosen with an eye towards defining internationally
standardized protocol
45
4. The layer boundaries should be chosen to minimize the information flow across the interface.
5. The number of layers should be large enough that distinct function need not be thrown
together in the same layer out of necessity, and small enough that the architecture does not
become unwieldy
7 Application Layer
6 Presentation Layer
5 Session Layer
4 Transport Layer
3 Network Layer
1 Physical Layer
46
Interconnection group of standards makes up the bottom 4 layers of the OSI model, which
are known as the physical, data link, network and transport layers.
The physical layer defines the functional, procedural and physical interfaces of
communication links between equipment. For example, plug specifications, and pin
allocations.
The data link layer adds error-checking information and formats data for physical
transmission.
The transport layer includes error detection and correction as well as multiplexing. Its
basic function is to enhance the quality provided by the network layer below, if this is
necessary.
The internetworking group includes the top 3 layers of the OSI model and basically provides
the support services for the user applications. They are known as the session, presentation,
and application layers.
The session layer provides the organization, synchronization and timing of the exchange
of the data between end systems.
The presentation layer is concerned with now the information to be exchanged. This
includes resolving character set differences, such as ASCII to EBCDIC, providing text
compression and encryption/decryption services.
The application layer provides support for the user applications, which wish to exchange
information. (i.e. file transfer)
1. Physical Layer
47
The physical layer co-ordinates the functions required to transmit a bit streams over a
physical medium. It deals with the mechanical and electrical specifications of the primary
connections, such as cables and connectors.
It also handles:
Line configuration: how can two or more devices be linked physically? Are
transmission lines to be shared or limited to use between two devices?
The main purpose of the data link layer is to deliver data units (group of bits) from one
station to the next station (node-to-node) without error. It accepts packets from the network
layer and packages the information into data units called frames to be presented to the
physical layer for transmission. The data link layer adds header (contains sender’s and
receiver’s address) and trailer (contains control information, such as routing, segmentation,
CRC etc) to the data being sent.
Node to node delivery: the data link layer is responsible for node to node delivery.
Flow control: It regulates the amount of data that can be transmitted at one time.
Error handling: Data link layer protocols provide for data recovery, usually by having
the entire frame retransmitted.
3. Network Layer
The network layer is responsible for the source to destination delivery of packet across
multiple network links. Whereas the data link layer oversees station to station (node to node)
delivery. The network layer ensures that each packet gets from its point of origin to its
48
destination successfully and efficiently. For this purpose the network layer provides two
reliable services switching and routing.
Switching refers to temporary connection between physical links, resulting in longer links for
network transmission; i.e. long distance telephone services.
Routing means selecting the best path for sending a packet from one point to another when
more than one path is available. In this case, each packet may take a different route to the
destination. Where the packets are collected and resembled into their original order.
Source to destination delivery: moving the packet from its point of origin to its intended
destination across multiple network links.
Routing: Deciding which of the multiple paths a packet should take. Routing
considerations include speed and cost.
Multiplexing: using a single physical line to carry data between many devices at the
same time.
4. Transport Layer
The transport layer is responsible for source to destination (end to end) delivery of the entire
message. Whereas the network layer oversees end to end delivery of individual packets, it
does not recognize any relationship between those packets.
End to end message delivery: conforms the transmission and arrival of all packets of a
message at the destination point.
5. Session Layer
49
The session layer is the network dialog controller. It establishes, maintains, and synchronizes
the link between communicating devices. It also ensures that each session close appropriately
rather than shutting down abruptly and leaving the user hanging.
Synchronization: Deciding in what order to pass the dialog units to the transport layer,
and where in the transmission to require conformation from the receiver.
Graceful close: Ensuring that the exchange has been completed appropriately before the
session close.
6. Presentation Layer
The presentation layer is also responsible for the encryption and decryption of data for
security purposes. It also handles the compression and expansion of data when necessary for
transmission efficiency.
Translation: changing the format of message (e.g. from ASCII to EBCDIC and vice
versa).
Compression: It also handles the compression and expansion of data when necessary for
transmission efficiency.
50
7. Application Layer
The application layer enables the user, whether human or software, to access the network. It
provides user interface and support for services such as electronic mail, remote file access
and transfer.
Mail services: provides the basis for electronic mail forwarding and storage.
Directory services: Provides distributed database sources and access for global
information about various object and services.
File access, transfer, and management: Allows a user at a remote computer to access
files in another host (to make changes or read data); to retrieve files from a remote
computer for use in the local computer.
Assuming two hosts follow OSI model, example of files transferring from host A to
host B.
Host A:
1. User will issue a file transfer command to the Application Layer. (initiates or accepts
a request)
2. The Application Layer then passes the file to the Presentation Layer, which may
reformat the data. (handles protocol conversion, data encryption or decryption, text
compression)
3. The data is then passed to the Session Layer, which requests that a connection be
provided to the destination host and passes the data to Transport Layer.(handles
session setup and Session close)
4. Transport Layer breaks the file into manageable chunks of data for transmission and
passes them to network layer. (Handles flow control, error recovery).
5. Network Layer selects the data’s route and then passes the data to the data link layer.
(handles addressing, route discovery and route selection, error control)
6. Data link Layer adds extra information to the data so that it can be checked for errors
at the receiving end. And passes the data to the physical layer. (handles CRC cyclic
redundancy check).
7. Physical Layer takes the resulting data stream and transmit it across the physical link
to the Host B (handles mechanical and electrical characteristic to provide and
maintain physical connection)
Host B
51
1. Host B’s physical layer receives the bits and passes them on to the
2. Data link layer.
3. Data link layer verifies that no errors occurred, and then passes the data onto the
network layer.
4. Network Layer ensures that the selected route is proving reliable, and then passes the
data onto the transport layer.
5. Transport Layer reassembles the small chunks of data into the file being transferred,
and then passes it onto the session layer.
6. Session Layer determines if the transfer is complete, and if so, may break down the
session, in effect ending the communication. It passes the data onto presentation
layer.
7. Presentation Layer may reformat the data, performing any necessary conversion, data
are passed on to application layer.
8. Host B’s user can then access the transferred information through the Application
Layer.
The TCP/IP model uses four layers that logically span the equivalent of the top six layers of the
OSI reference model; this is shown below. (The physical layer is not covered by the TCP/IP
model because the data link layer is considered the point at which the interface occurs between
the TCP/IP stack and the underlying networking hardware.) The following are the TCP/IP model
layers, starting from the bottom.
52
The TCP/IP architectural model has four layers that approximately match six of the seven layers in
the OSI Reference Model. The TCP/IP model does not address the physical layer, which is where
hardware devices reside. The next three layers—network interface, internet and (host-to-host)
transport—correspond to layers 2, 3 and 4 of the OSI model. The TCP/IP application layer
conceptually “blurs” the top three OSI layers. It’s also worth noting that some people consider
certain aspects of the OSI session layer to be arguably part of the TCP/IP host-to-host transport
layer.
As its name suggests, this layer represents the place where the actual TCP/IP protocols running
at higher layers interface to the local network. It is equivalent to the data link layer (layer two) in
the OSI Reference Model and is also sometimes called the link layer. You may also see the name
network access layer.
53
Internet Layer
This layer corresponds to the network layer in the OSI Reference Model (and for that reason is
sometimes called the network layer even in TCP/IP model discussions). It is responsible for
typical layer three jobs, such as logical device addressing, data packaging, manipulation and
delivery, and last but not least, routing. At this layer we find the Internet Protocol (IP), arguably
the heart of TCP/IP, as well as support protocols such as ICMP and the routing protocols (RIP,
OSFP, BGP, etc.) The new version of IP, called IP version 6, will be used for the Internet of the
future and is of course also at this layer.
This primary job of this layer is to facilitate end-to-end communication over an internetwork. It
is in charge of allowing logical connections to be made between devices to allow data to be sent
either unreliably (with no guarantee that it gets there) or reliably (where the protocol keeps track
of the data sent and received to make sure it arrives, and re-sends it if necessary). It is also here
that identification of the specific source and destination application process is accomplished
The formal name of this layer is often shortened to just the transport layer; the key TCP/IP
protocols at this layer are the Transmission Control Protocol (TCP) and User Datagram Protocol
(UDP). The TCP/IP transport layer corresponds to the layer of the same name in the OSI model
(layer four) but includes certain elements that are arguably part of the OSI session layer. For
example, TCP establishes a connection that can persist for a long period of time, which some
people say makes a TCP connection more like a session.
Application Layer
This is the highest layer in the TCP/IP model. It is a rather broad layer, encompassing layers five
through seven in the OSI model. While this seems to represent a loss of detail compared to the
OSI model, I think this is probably a good thing! The TCP/IP model better reflects the “blurry”
nature of the divisions between the functions of the higher layers in the OSI model, which in
practical terms often seem rather arbitrary. It really is hard to separate some protocols in terms of
which of layers five, six or seven they encompass. (I didn't even bother to try in this Guide which
54
is why the higher-level protocols are all in the same chapter, while layers one through four have
their protocols listed separately.)
Numerous protocols reside at the application layer. These include application protocols such as
HTTP, FTP and SMTP for providing end-user services, as well as administrative protocols like
SNMP, DHCP and DNS.
55
CHAPTER FIVE
CONECTING DEVICES
Learning Objectives
When two or more separate networks are connected for exchanging data or resources, they
become an internetwork (or internet). The devices required to link number of LANs into an
Internet are known as internetworking devices.
There is several ways that you can expand network capability such as:
There are many devices available to accomplish these tasks. Following diagram will help to
understand different types of connective devices.
56
Connecting Devices
Repeater
Hub
Switch
Repeaters
Bridges
Hub
A hub is a device for connecting multiple twisted pair or fiber optic Ethernet devices together
and making them act as a single network segment. Hubs work at the physical layer (layer 1) of
the OSI model. The device is a form of multiport repeater.
A hub is a fairly unsophisticated broadcast device. Hubs do not manage any of the traffic that
comes through them, and any packet entering any port is regenerated and broadcast out on all
other ports. Since every packet is being sent out through all other ports, packet collisions result—
which greatly impedes the smooth flow of traffic.
57
Switch
In a telecommunications network, a switch is a device that channels incoming data from any of
multiple input ports to the specific output port that will take the data toward its intended
destination. In the traditional circuit-switched telephone network, one or more switches are used
to set up a dedicated though temporary connection or circuit for an exchange between two or
more parties. On an Ethernet local area network (LAN), a switch determines from the physical
device (Media Access Control or MAC) address in each incoming message frame which output
port to forward it to and out of. In a wide area packet-switched network such as the Internet, a
switch determines from the IP address in each packet which output port to use for the next part of
its trip to the intended destination.
In the Open Systems Interconnection (OSI) communications model, a switch performs the Layer
2 or Data-link layer function. That is, it simply looks at each packet or data unit and determines
from a physical address (the "MAC address") which device a data unit is intended for and
switches it out toward that device.
Repeater
Because of the electrical and mechanical limitations of any wiring system a network has physical
limitations. Such as :
Segment length: longest successful data transmission through a continuous single cable.
Signal that carry information within a network can travel a fixed distance before attenuation or
other interference from noise endangers the integrity of the data. A repeater installed on a link
receive the signal before it becomes too week or corrupted, regenerates the original bit pattern,
and puts the refreshed signals back onto the link. A repeater allows is to extend only physical
length of the network.
58
Repeaters operate at the physical layers of the OSI model and have no concern for the type of
data being transmitted, the packet address, or the protocol being used. They are unintelligent
electronic device unable to perform any filtering or translation on the actual data.
Repeater
Repeaters retransmit the data at the same speed as the network. However there is a slight delay as
the repeater regenerate the signal. If there are a number of repeaters in a row, a significant
propagation delay can be crated. Therefore, many network architectures limits the number of
repeaters on the network.
The location of a repeater on a link is vital. A repeater must be placed so that a signal reaches it
before any noise changes the meaning of any of its bits. A little noise can alter the precision of a
bit’s voltage without destroying its identity. If the corrupted bit travels much farther, however,
accumulated noise can change its meaning completely. At that point the original voltage become
unrecoverable and the error can be corrected only by retransmission.
Strength:
Limitations:
Bridge
Bridges operate in both the physical and data link layer of OSI model. Like repeaters, bridges
also can be used to connect two network segments and can connect dissimilar physical media.
However, bridges can also limit the traffic on each segment and eliminate bottlenecks.
A bridge’s primary function is to filter traffic between network segments. As a packet is received
from a network segment, the bridge looks at the physical destination address of the packet before
forwarding the packet on to other segments. If the packet’s destination is on another network
segment, the bridge retransmits the packet. However, if the destination is on the same network
segment, on which the packet was received, the bridge assumes the packet has already reached
its destination and the packet is discarded. As a result, network traffic is greatly reduced.
Bridges work at the data link layer of the OSI model. At this layer the hardware address, both
source and destination, is added to the packet. Because bridges function at this layer, they have
access to this address information. Each computer in the network is given a unique address.
Bridges analyze these address to determine whether or not to forward a packet.
A C
C to K
C to K
LAN1 Bridge
C to K C to K
LAN2
60
In above figure, the packet generated by computer C is intended for computer K. The bridge
allows the packet to cross and relay it to the entire lower segment where it is received by
computer K. IF a packet is destined on a same segment (for example from computer A to
computer F) the bridge will block the packet from crossing into lower segment to reduce the
traffic.
Routers
Brouters
Gateways
Switches
Router
Routers are combination of hardware and software and used to connect separate networks to
form an internetwork. Router can be used like bridges to connect multiple network segments and
filter traffic. Also, unlike bridges, routers can be used to connect two or more independent
networks.
61
Routers can connect complex networks with multiple paths between network segments. Each
network segment, also called a subnetwork, is assigned a network address. Each node on a subset
is assigned an address as well. Using a combination of the network and node address, the router
can route a packet from the source to a destination address somewhere else on the network.
Router has access to first three layers(physical, data link, and network) but works in the network
layer. To successfully route a packet through the internetwork, a router must determine packet’s
path. When the router receives a packet, it analyzes the packet’s destination network address and
look up that address in its routing table. The router than repackages the data ad sends it to the
next router in the path.
Because operate at the higher layers of the OSI model than bridges do, routers can easily send
information over different network architectures. For example, a packet received from a token
ring network can be sent over an Ethernet network. The router removes the token ring frame,
examines the packet to determine the network address, repackages the data into Ethernet frames,
and sends the data out onto the Ethernet networks.
With this kind of translation, however, network speed is affected. As an example, Ethernet
frames have a maximum data frame size of approximately 1,500 bytes, whereas token ring
frames range in size from 4,000 to 18,000 bytes. So, for a single token ring frame of maximum
size (18,000 bytes), 12 Ethernet frames must be created. Although routers are very fast, this type
of translation does affect the network’s speed.
Unlike bridges routers have ability to select the best path that is faster and economical. When a
router receives a packet whose destination address is unknown, it simply discards the packet but
if the same packet received by a bridge the bridge will forward it to all connected network
segments
Routing Table
Routing has a routing table that contains network addresses and the address of the routers that
handle those networks. Following table shows a sample routing table for router A. it includes the
next hop (i.e., where transmission will go next) and cost (i.e., number of hops the packet must
take).
62
1. Static Routing
If router uses static routing, the routing table must be updated manually by the administrator.
Each individual route must be added manually. The router will always use the same path to a
destination, even if it is not necessarily the shortest or most efficient route.
2. Dynamic Routing
Dynamic routers communicate with each other and are constantly receiving and are
constantly receiving updated routing tables from other routers. If multiple routes are
available to a particular network, the router will decide which route is best and enter that
route into its routing table.
Brouters
Brouters combines the best of both bridges and routers. When brouters receive packets that are
routable, they will operate as a router by choosing the best path for the packet and forwarding it
to its destination. However, when a nonroutable packet is received, the brouter functions as a
bridge, forwarding the packet based on hardware address. To do this brouters maintain both
bridging table, which contains hardware address, and a routing table, which contains network
address.
63
Gateway
Gateways operate in all seven layers of OSI model. A gateway is a protocol converter. A router
itself transfers, accepts, and relays packets only across network using similar protocols. A
gateway on the other hand, can accept a packet formatted for one protocol (e.g. AppleTalk) and
convert it to a packet formatted for another protocol (e.g. TCP/IP) before forwarding it.
Netware SNA
Gateway
Network Network
A gateway is generally software installed within a router. The gateway understands the protocol
used by each network linked into the router and is therefore able to translate from one to another.
64
65
CHAPTER SIX
SWITCHING TECHNIQUES
Learning Objectives
A better solution is to uses switching. A switch network consists of a series of inter-linked nodes,
called switches. Switched are hardware and/or software capable of creating temporary
connection between two or more devices linked to switch but not to each other.
Circuit switching
Message switching
66
B 2
1 D
3
A 6 E
4
7
F
Network Station
Node
Dedicated Connection
Non Dedicated
Connection
67
Before any signals can be transmitted, an end-to-end (station to station) circuit must
be established. For example, station A wants to communicate with station E. station A
sends a request to node 4 requesting a connection to station E. typically, the link from
A to 4 is a dedicated line, so that part of connection already exists. On the basis of
routing information and measures availability and perhaps cost, lets assume that node
4,5, and 6 are used to complete the connection. In completing the connection, a test is
made to determine if station E is busy or is prepared to accept the connection.
2. Information Transfer
Information now can transmit from A through the network to E the transmission may
be analog voice, or binary data. Generally the connection is full duplex, and signals
may be transmitted in both direction simultaneously.
3. Circuit Disconnection
One the transmission is completed, the connection is terminated, usually by the action
of one of the two station. Signals must be propagated to the nodes 4,5, and 6 to
deallocate the dedicated resources.
Circuit switching can be rather inefficient. Channel capacity is dedicated for the
duration of a connection, even if no data are being transferred. The connection
provides for transmission at a constant data rate. Thus, each of the devices that are
connected must transmit and receive at the same data rate as the other.
68
A B C
A B
A B
B 2
1 D
3
C A
5
B C A B
A C 6 E
4 C
7
F
Network Station
Node
Dedicated Connection
Non Dedicated
Connection
Figure 6.2 Packet Switching Networks
Above figure illustrate the basic operation. A transmitting computer or other device sends
a message as a sequence of packets. Each packet includes control information including
the destination station. The packets are initially sent to the node to which the sending
station attaches. As each packet arrives at these nodes, the node stores the packet briefly,
and determines the next available link. When the link is available, the packet is
transmitted to the next node. The entire packet eventually delivered to the intended node.
69
There are two popular approaches to packet switching: datagram and virtual circuit.
a) Datagram Approach
A B C
B 2
1 D
3
A 5
A B C
A B 6 E
4 C
7
F
Network Station
Node
Dedicated Connection
Non Dedicated
Connection
b) Virtual Circuit
70
In this approach, a preplanned route is established before any packets are sent. Once
the route is established, all the packets between a pair of communicating parties
follow this same route through the network. Each packet now contains a virtual
circuit identifier as well as the data. Each node on the pre-established route knows
where to direct such packet. No routing decisions are required. At any time, each
station can have more than one virtual circuit to any other station and can have virtual
circuits to more than one station.
The primary uses of message switching have been to provide high-level network service
(e.g. delayed delivery, broadcast) for unintelligent devices. Since such devices have been
replaced, message switching has virtually disappeared. Also delays inherent in the
process, as well as the requirement for large capacity storage media at each node, make it
unpopular for direct communication.
71
72
CHAPTER SEVEN
MULTIPLEXING
Learning Objectives
Computer D Computer
1 path
M E
Computer Computer
Three
U Input Line M
Computer Computer
73
Channel 1
Of Media Channel 2
Guard Band
Channel 3
Time
Bellow figure gives a conceptual view of FDM. In this illustration, the transmission path is
divided into three parts (based on different frequencies), each representing a channel to carry one
Computer Computer
Channel 2
M Channel 3 E
Computer
U M Computer
Computer Computer
74
transmission.
As an analogy, imagine a point where three separate narrow roads merge to form a three-lane
highway. Each of the three roads corresponds to a lane of the highway. Each car merging into the
highway from one of the road still has its own lane and can travel without interfering with cars in
other lane.
A familiar application of FDM is cable television. The coaxial cable used in a cable television
system has a bandwidth of approximately 500 MHz. An individual television channel requires
about 6 MHz of bandwidth for transmission. The coaxial cable, therefore, can carry many
multiplexed channels (theoretically 83 channels, but actually fewer to allow for guard band). A
demultiplexer at your television allows you to select which of those channels you wish to
receive.
75
Synchronous TDM
AAAA
Computer
M C A C A C B A
B
Computer
CCCCC
Computer
Asynchronous TDM provide better utilization of media. Like synchronous TDM, asynchronous
TDM allows a number of lower speed input lines to be multiplexed to a single higher speed line.
Unlike synchronous TDM, however, in asynchronous TDM the total speed of input line can be
greater than the capacity of the media. In asynchronous TDM the number of slots in the frame
are less than numbers of input lines. Slots are not preassigned, each slot is available to any of the
attached input lines that has data to send. The multiplexer scans the input line, accepts the
portion of data until a frame is filed, and then sends the frame across the link.
76
Computer
M A C A C B A 1
Computer
Computer
Since the slots are not pre-assigned for each input line, line address must be added along with the
data to send.
77
78
Mt Kenya University
UNIVERSITY EXAMINATIONS 2010/2011
DEPARTMENT OF I.T
QUESTION 1
Mount Kenya University requires a Network that will cater for their administrative and students needs.
The users range from lecturers, administrative assistants and students. All types of users need to access
the internet through the network. The university management also requires the network to support WIFI
access. The university members of staff need to access the university management information system,
which should not be accessed by the students. The total number of expected users is 500 at any given
time.
(a) Which is the most appropriate network topology for this network. Give the reasons for your
answer (2 marks)
(b) What network devices will be used while designing the network? Briefly explain their use
(8 Marks)
(c) What transmission impairments is the network likely to experience? (8 marks)
(d) What transmission medium will be used to connect the network? Give reasons for your answer
(2 marks)
(e) Briefly explain how the user computers will be configured to access the network (4 marks)
(f) How will this network be secured from intruders and students who might attempt to access
confidential information such as examinations? (4 marks)
(g) What switching technique might be appropriate for the network. Give reasons for your answer
(2 marks)
QUESTION 2
There are several different network topologies:
(a) Bus
(b) Ring
(c)Mesh
79
QUESTION 3
The Open Systems Interconnection (OSI) 7 layer model, sometimes called the International Standards
Organisation (ISO) 7 layer model, is a critical model for modern computer networking.
(a) In the correct sequence from either end, identify the seven layers of the ISO/OSI
7 layer model. (4 marks)
(b) Briefly explain the function of each layer. (2 marks each - 14 marks)
(a) With the aid of diagrams, describe the main features of modulation and demodulationwhen used for
transmitting data across the Public Switched Telephone Network (PSTN).
(8 marks)
(b) With the aid of diagrams, explain what is meant by each of the terms: amplitude modulation,
frequency modulation and phase modulation. (12 marks)
(Total 20 marks)
Question 5
(a) Local Area Networks (LANs) require an 'access method' which determines how computers share a
common transmission medium. Write down the two main approaches for controlling this sharing in wired
networks. Briefly explain how each approach operates.
(8 marks)
(b) Compare four transmission media used in LANs and WANs in terms of maximum data rates and
other limitations. (12 marks)
80
Mt Kenya University
UNIVERSITY EXAMINATION 2010
TIME: 2HRS
Instructions: Question ONE is COMPULSORY and any other TWO from section B.
SECTION A.
QUESTION ONE.
(a) You have the task of designing a network for a medium-sized company.
Identify the ways in which the following factors might influence the design decisions you make:
v) The extent to which E-Commerce is used between the company and its (external) trading partners.
(b) Compare and contrast Half and Full Duplex communication (4 marks)
81
(c) Discuss the main differences between Synchronous and Asynchronous Transmission, emphasising
signal timing issues. (4 marks)
(d) Describe the main elements of the Local Area Network model. (6 marks)
(e) Briefly explain the Open Systems Interconnection (OSI) network reference model by emphasising the
importance of layers for functional communication requirements.
(2 marks)
Question 2
Describe the seven layers of the OSI model by focusing on the responsibilities and interface of each layer.
(20 marks)
Question 3
(c) Briefly discuss the main differences between TCP (Transmission Control Protocol) and UDP (User
Datagram Protocol). (8 marks)
(d) Which of these services in (b) is most suitable for developing a ‘real time’ application? Briefly explain
your reasoning. (4 marks)
Question 4.
business travel but has not been as widely adopted as was hoped.
ii) Video Voice Over Internet Protocol (VOIP) may be more likely to be
widely adopted.
B) Explain how you would find, download and install the software
82
b) Many homes and small offices now have a wireless local area network
(WLAN).
i) What should the owner do to protect his WLAN from eavesdroppers? (4 marks)
ii) Give TWO advantages of using a WLAN rather than a cabled network. (4 marks)
(Total 20 marks)
Question 5
(a) Local Area Networks (LANs) require an 'access method' which determines how computers share a
common transmission medium. Write down the two main approaches for controlling this sharing in wired
networks. Briefly explain how each approach operates.
(8 marks)
(b) Three physical topologies associated with LANs are: the bus, ring and star topologies. Describe each
one, highlighting their strengths and weaknesses from a reliability point of view.
(12 marks)
(Total 20 marks)
83