Computer Network & Data Communication f3
Computer Network & Data Communication f3
Today computer is available in many offices and homes and therefore there is a need to share data
and programs among various computers. With the advancement of data communication facilities,
the communication between computers has increased and thus it has extended the power of
computer beyond the computer room. Now a user sitting at one place can communicate with
computers of any remote site through communication channel. The aim of this lesson is to
introduce you the various aspects of computer network and data communication.
Learning objectives
It is expected that after going through this lesson, you would be able to
- Understand basics of the various types network technologies in the area of computers,
Local Area Network (LAN) and different components of computer network
- explain the features and the use of computer network and data communication
- describe the OSI model and its 7 layers
- Give some network security problems and eventual solutions
I. BASIC NETWORKING CONCEPTS
• Sharing information: networks allow users to communicate with each other in various ways:
email, chat, forums, etc.
• Sharing resources: Certain computer resources, such as printers or hard drives, can be set up so
that network users can share them. Sharing hard drives involves also sharing of files and folders.
A network can be used to share an Internet connection.
• Sharing applications: several users can work together on a single business application.
Apart from sharing, other benefits of a computer network are:
• Flexible Access: Networks allow their users to access files from computers throughout the
network.
• Reducing of cost: Instead of buying a printer for each computer of a big network, a single printer
can be shared, and then cost is considerably reduced
Slow service: As more users log onto the network and request files, send things to be printed
and open more software applications, the network can start to slow down.
Cost: Building a network isn't cheap.
According to the type of connection, there exist two types of connections. Wired connection and wireless
connection
A wired network is when you physically connect your computer or other compatible device to your Super
Hub with an Ethernet cable. The best thing about a wired connection is the reliability and speed it gives
you (wired is faster than wireless). This makes it ideal for things that use a lot of bandwidth, like playing
online games on your Xbox.
A wireless network, as its name would suggest, is a network of computers and computer peripherals that
are connected to each other without wires.
Advantages
• It is easier to add or move workstations.
• It is easier to provide connectivity in areas where it is difficult to lay cable.
• Installation is fast and easy, and it can eliminate the need to pull cable through walls and
ceilings.
• Access to the network can be from anywhere within range of an access point.
Disadvantages
• As the number of computers using the network increases, the data transfer rate to each
computer will decrease accordingly.
• As standards change, it may be necessary to replace wireless cards and/or access points.
• Security is more difficult to guarantee and requires configuration.
• Devices will only operate at a limited distance from an access point.
According to the geographical area covered, there exist three main types of network: LAN, MAN and
WAN
II.2.1 Local Area Network (LAN)
A LAN is a computer network that spans only a small geographical area such as an office, home building
or closed buildings. A LAN is useful to share resources like files, printers, games and other application.
The infrastructure in a LAN is private. The distance between computers in a LAN cannot be more than
15 Km. Ex: A school network
A MAN is a network of computers spread over a city or closed cities. It may be a single network such as
a cable television network, or it may be many LANS connected together. A MAN may be operated by
one organization (with several offices in one city) or be shared and used by several organizations in the
same city. It can be either a private network or a public network. Ex: A network of all the agencies of
CAMCCUL in Bamenda
A WAN is a system of interconnecting many computers over a large geographical area such as states,
countries or even the whole world. These kind of networks use telephone lines, satellite link and other
long-range communication technologies to connect. Such networks are design to serve an area of hundreds
kilometers such as national telephone network. For instance, a company like Express Union with agencies
at Fundong, Bamenda, Douala, Bafoussam, Yaounde use a WAN to connect all its agencies. Although a
WAN may be owned or rented by private business, it is usually a public network, designed to connect
LANs or MANs together. The most known and the largest WAN is Internet.
According to the strategy used there exist two main types of network: Client/Server network and Peer to
Peer (P2P) network:
Computers that perform a service on behalf of other network devices are called servers. There are several
types of servers. For example, a computer that provides other network nodes with access to network
storage devices is called a file server. Print servers provide other network nodes with access to network
printers. Computers that use the services of a server are called clients. Networks in which servers control
access to network storage and other network resources are called client/server networks. In a
Client/server network, the role of the server is to provide services demanded by client computers
Computers that perform similar functions on a network are called peers. Networks in which no single,
centralized computer controls network functions are called peer-to-peer networks. The idea of peer-to-
peer networking is that each computer on the network can be both a server and a client. Since any computer
on the network can share a resource for other to use. Users can configure their computers so that they can
share directories or printers with other users on the network. All computers are considered to have equal,
or peer, status.
Network topology is the layout pattern of interconnections of the various elements (links, nodes, etc.) of
a computer network. Network topologies may be physical or logical. Physical topology means the
physical design of a network including the devices, location and cable installation. Logical topology
refers to how data is actually transferred in a network as opposed to its physical design. Topology can be
considered as a virtual shape or structure of a network, for it not correspond to the actual physical design
of the devices on the computer network. The computers on a home network can be arranged in a circle
but it does not necessarily mean that it represents a ring topology.
1) There is a limit on central cable length and number of nodes that can be connected.
2) Dependency on central cable in this topology has its disadvantages. If the main cable (i.e. bus)
encounters some problem, whole network breaks down.
3) It is difficult to detect and troubleshoot fault at individual station.
4) Maintenance costs can get higher with time.
1) This type of network topology is very organized. Each node gets to send the data when it receives
an empty token. This helps to reduces chances of collision.
2) Even when the load on the network increases, its performance is better than that of Bus topology.
3) There is no need for network server to control the connectivity between workstations.
4) Additional components do not affect the performance of network.
Disadvantages of Ring Topology
1) Each packet of data must pass through all the computers between source and destination. This makes
it slower than Star topology.
2) If one workstation or port goes down, the entire network gets affected.
3) Network is highly dependent on the wire which connects different components.
1. Because of its basic structure, tree topology, relies heavily on the main bus cable, if it breaks whole
network is crippled.
2. As more and more nodes and segments are added, the maintenance becomes difficult.
3. Scalability of the network depends on the type of cable used.
Reliable: Unlike other networks, fault detection and troubleshooting is easy in this type of topology.
Scalable: It’s easy to increase the size of network by adding new components, without disturbing existing
architecture.
Flexible: Hybrid Network can be designed according to the requirements of the organization and by
optimizing the available resources.
1) Complexity of Design: It’s not easy to design this type of architecture and it’s a tough job for
designers. Configuration and installation process needs to be very efficient.
2) Costly Hub: The hubs used to connect two distinct networks, are very expensive. These hubs are
different from usual hubs as they need to be intelligent enough to work with different architectures
and should be function even if a part of network is down.
3) Costly Infrastructure: As hybrid architectures are usually larger in scale, they require a lot of
cables; cooling systems, sophisticate network devices, etc.
III.2 Logical topology
The logical topology defines how the systems communicate across the physical topologies. Logical
topologies are bound to network protocols and describe how data is moved across the network. Different
network access existing are: CSMA/CD, CSMA/CA and Token Passing.
Data communication is the exchange of data between two devices using some form of wired or wireless
transmission medium. It includes the transfer of data, the method of transfer and the preservation of data
during the transfer process.
Delivery: The system must deliver data to the correct or the intended destination.
Accuracy: The system must deliver data accurately (error-free).
Timeliness: The system must deliver data in a timely manner without enough time lags.
1) Simplex: The information flows in one direction across the circuit, with no capability to
support response in the other direction.
2) Half-duplex: In half-duplex mode, each communicating device can receive and transmit
information, but not at the same time.
3) Full-duplex: allows both communicating devices to transmit and receive data
simultaneously. A full-duplex mode can be compared to a two-way road with traffic flowing
in both directions.
Narrowband: In narrowband, there is a single transmission channel of 64 Kbps or less. There can
be a number of 64 Kbps channels (N × 64 Kbps), but total capacity is not more than 1.544 Mbps.
Wideband: In wideband, the bandwidth lies between 1.544 Mbps (also called T1 line) and 45
Mbps (T3 line).
Broadband: The bandwidth capacity is equal to 45 Mbps. Broadcast television, cable television,
microwave and satellite are examples of broadband technologies.
IV.5 Analog and Digital Data Transmission
The major role of the physical medium is to move the data from one communicating device to another.
Depending on the form of signal used, data
transmission can be analog data transmission or digital
data transmission.
In parallel mode, multiple bits are sent with each clock tick.
While there is only one way to send parallel data, there are two subclasses of serial transmission:
asynchronous, synchronous.
With asynchronous transmission signal timing is not required; signals are sent in an agreed
pattern of bits and if both ends are agreed on the pattern then communication can take place.
With synchronous transmission is data transfer method in which a continuous stream of data
signals is accompanied by timing signals (generated by an electronic clock) to ensure that the
transmitter and the receiver are in step (synchronized) with one another. The data is sent in blocks
(called frames or packets) spaced by fixed time intervals.
V. TRANSMISSION MEDIA
A transmission medium (plural transmission media) refers to the physical media through which
communication signals (data and information) can be transmitted from one point to another media. There
are two categories of transmission media used in computer communications:
Syntax: Syntax refers to the structure or format of the data, meaning the order in which they are
presented.
Semantics: Semantics refers to the meaning of each section of bits. How is a particular pattern
to be interpreted, and what action is to be taken based on that interpretation.
Timing: Timing refers to two characteristics: when data should be sent and how fast they can be
sent.
UDP User Datagram An unreliable connection less protocol used to control the
Protocol management of application level services between computers.
DHCP Dynamic host is a method of assigning and controlling the IP addresses of
configuration protocol computers on a given network
VI.2 The OSI Model
Open Systems Interconnection (OSI) is a standard reference model for communication
between two end users in a network. In 1983, the International Organisation for
Standardisation (ISO) published a document called 'The Basic Reference Model for Open
Systems
Interconnection', which visualizes network protocols as a seven separate but related layers: physical,
data link, network, transport, session, presentation and application layers.
The seven layers of the OSI reference model can be divided into two categories:
• Upper Layers: The upper layers of the OSI model consist of the application, presentation and
session layers. Primarily, these layers deal with application issues and are implemented only in
the software.
• Lower Layers: The lower layers of the OSI model comprise the transport, network, data link,
and physical layers. These layers handle the data transport issues. The physical layer and data
link layer are implemented in both hardware and software. The network and transport are
generally implemented only in software.
Network security problems can be divided roughly into four intertwined areas: secrecy, authentication,
nonrepudiation and integrity control.
1. Secrecy: This is also called confidentiality, and has to do with keeping information out of the hands
of unauthorized users.
2. Authentication: this deal with determining whom you are talking to before revealing sensitive
information or entering into a business deal.
3. Nonrepudiation: This deals with signatures: How does amazon.ca prove that Kartik indeed placed
an order for a book, which Kartik claims he never placed?
4. Integrity of service: How does one ensure that the message received was really the one sent, and
not something that a malicious adversary modified in transit or concocted?
a) Passive Attacks: These attacks are in the nature of eavesdropping on, or monitoring of,
transmissions. The goal of the opponent is to obtain information that is being transmitted. Passive
attacks are very difficult to detect since they do not involve the alteration of the data. Two types of
passive attacks are:
release of message contents where an eavesdropper tries to learn the contents of what is being
transmitted. This can be prevented by encryption
traffic analysis: where the opponent tries to observe the pattern, frequency and length of
messages being exchanged which could be used in guessing the nature of the communication that
is taking place.
b) Active Attacks: Active attacks involve some modification of the data stream or the creation of a
false stream. It is difficult to prevent active attacks absolutely because to do so would require
physical protection of all communications facilities and paths at all times. Instead, the goal is to
detect them and to recover from any disruption or delays caused by them.