FoN One
FoN One
FoN One
Collage Of Computing
Software Engineering Department
Fundamentals Of Networking
(SEng7022)
Benefits of network
Components of Data Communications
Data Represenation Technique
Transmission Impairments
Modes of Data Transmission
Elements of Data Communication
Network Types
The Ineternet
Transmission Media
Circuit Switching and Packet Switching
Network Protocol Standards
Network (Reference) Models
2 / 65
Data Communication Basics Introduction
Introduction
3 / 65
Data Communication Basics Introduction
5 / 65
Data Communication Basics Introduction
Definations
Definations
The word data refers to information presented in whatever form is
agreed upon by the parties creating and using the data.
7 / 65
Data Communication Basics Data Representation Techniques
The type of data to be transmitted can be in the form of text, audio, and
video in the form of electrical signal, radio, laser, or other radiated
energy source.
Example: analog clock (with second, minute and hour hands) and digital
clock
8 / 65
Data Communication Basics Data Representation Techniques
9 / 65
Data Communication Basics Data Representation Techniques
10 / 65
Data Communication Basics Data Representation Techniques
11 / 65
Data Communication Basics Transmission Impairments
Transmission Impairments
12 / 65
Data Communication Basics Transmission Impairments
Transmission Impairments
Delay distortion means that the signal changes its form or shape.
Each signal component has its own propagation speed through a medium
and, therefore, its own delay in arriving at the final destination.
13 / 65
Data Communication Basics Transmission Impairments
Transmission Impairments
14 / 65
Data Communication Basics Modes of Data transmission
16 / 65
Data Communication Basics Modes of Data transmission
17 / 65
Data Communication Basics Modes of Data transmission
18 / 65
Data Communication Basics Modes of Data transmission
19 / 65
Data Communication Basics Modes of Data transmission
Asynchronous: Add 3 bits (1 Start and 2 Stop bits) for every byte
transmitted.
64 kbits + 24 kbits = total of 88 kbits transmitted
Efficiency = 64/88*100% = 73%
Synchronous: Add 4 bytes (32 bits) for the complete 8K byte data
packet.
64 kbits + 32 bits = total of 64.032 kbits transmitted
Efficiency = 64/64.032*100% = 99.9%
20 / 65
Data Communication Basics Signal Encoding
21 / 65
Data Communication Basics Elements of Data Communication
22 / 65
Data Communication Basics Network Types
23 / 65
Data Communication Basics Network Types
24 / 65
Data Communication Basics Network Types
Network Topology
Physical Topology refers to the shape of a network, or the network’s
layout
There are four basic topologies: Bus, Star, Ring and Mesh.
In Bus Topology:
All devices are connected to a central cable, called the bus or backbone
The bus is terminated at its ends
Advantages:
Ease of installation.
Less cabling than mesh or star topologies
Disadvantages:
Difficult to isolate network faults.
Difficult to add new devices.
Signal reflection at the taps.
Inefficient with heavy traffic
25 / 65
Data Communication Basics Network Types
Network Topology
In Star Topology:
Central device, called hub or concentrator
The hub:
manages and controls all functions of the network.
acts as a repeater for the data flow.
RJ-45 Connectors.
Advantages:
Less expensive than a mesh topology.
Easy to install and reconfigure additions, moves, and deletions involve only
one connection.
It is robust.
Disadvantages:
A single point of failure, the hub.
More cabling than in bus.
26 / 65
Data Communication Basics Network Types
Network Topology
In Ring Topology:
All devices are connected to one another in the shape of a closed loop
Actually connected to a central device called MSAU (multistation access
unit), forming a star-wired ring topology.
Advantages:
Relatively easy to install and reconfigure.
Performance is even despite many users
Disadvantages:
Limitations on media length and traffic (number of devices).
A break in the ring can disable the entire network. Solution: a dual ring or a
switch capable of closing off the break
27 / 65
Data Communication Basics Network Types
Network Topology
In Mesh Topology:
Redundant interconnection.
Full mesh: every node to every other node
Noofcables = 12 ∗ n(n − 1), where n = number of nodes
Advantages:
Dedicated link security and privacy
Robust: Failure of link does not affect network
Easy fault identification and isolation
Disadvantages:
Difficult installation and reconnection
Requires large wiring space
Expensive: I/O ports and cables
28 / 65
Data Communication Basics Network Types
Network Topology
There are basically three categories of networks based on its size and
geographical coverage
LAN (Local Area Network).
Small area, private media, high speed
Equipments: hubs, switches, routers
E.g. Ethernet, Token Ring, FFDI
Network Topology
Client/Server
Security is centralized
Backup is centralized (backup operator)
Specialized OS, E.g. Windows Server, Solaris, Linux server
Scalable: may be used with large-scale networks
30 / 65
Data Communication Basics Network Types
Network Topology
Client/Server vs. Peer-to-Peer: Advantages and Disadvantages
Client/Server: Advantages
Very secure OS, Better performance.
Centralized servers, easy to manage.
Centralized backups, High reliability
Client/Server: Disadvantages
Expensive administration.
More hardware intensive.
Peer-to-peer: Advantages
Uses less expensive networks.
Easy to administer.
Contain both network operating system and application software.
Ideal for small business and home users (up to 10 computers).
Peer-to-peer: Disadvantages
Individual user performance easily affected, Not very secure, and Hard to
back up. 31 / 65
Data Communication Basics The Internet
The Internet
1990 - ARPAnet ceased to exist and the Internet effectively took its role
32 / 65
Data Communication Basics The Internet
The Internet
The Internet has no owner, but it follows accepted standards and
protocols.
Manufacturers of hardware and software concentrate on product
improvements, knowing that the new products can integrate with
and enhance the existing infrastructure.
33 / 65
Data Communication Basics Transmission Media
Transmission Media
Unguided media transmit the signal through space. E.g. infra-red, radio
wave, microwave
34 / 65
Data Communication Basics Transmission Media
Transmission Media
35 / 65
Data Communication Basics Transmission Media
Transmission Media
Unguided media transmit the signal through space. E.g. infra-red, radio
wave, microwave
36 / 65
Data Communication Basics Circuit switching and Packet switching
37 / 65
Data Communication Basics Circuit switching and Packet switching
Packet Switching
Messages are broken into discrete units called packets
Each packet contains data and headers
Store and forward, on a packet basis
Two approaches:
Datagram– mainly used in the Network Layer
Virtual Circuit– a Data Link Layer technology
39 / 65
Data Communication Basics Circuit switching and Packet switching
40 / 65
Data Communication Basics Circuit switching and Packet switching
41 / 65
Data Communication Basics Circuit switching and Packet switching
43 / 65
Data Communication Basics Network Protocols and Standards
Encapsulation
The inclusion of control information to data is called encapsulation.
Each frame contains not only data but also control information
Such control information falls into three categories: address
(sender/receiver), error-detecting code and protocol control
(information about protocol functions)
46 / 65
Data Communication Basics Network Protocols and Standards
Segmentation
Disadvantages of Segmentation
Since a frame contains certain amount of control information, the
smaller the block size, the greater the percentage overhead
Frame arrivals may generate an interrupt that must be serviced;
hence smaller blocks result in more interrupts
More time is spent processing smaller, more numerous frames
The counterpart of segmentation is reassembly
On receipt, the receiving device must reassemble the segmented data into
a message appropriate to the application
48 / 65
Data Communication Basics Network Protocols and Standards
Connection Control
Two types of protocols (services)
Connectionless service
The packets are sent from one party to another with no need
for connection establishment or connection release
The packets are not numbered, they may be delayed, lost, or
arrive out of sequence; there is no acknowledgement either
UDP (User Datagram Protocol), one of the transport layer
protocols, is connectionless
49 / 65
Data Communication Basics Network Protocols and Standards
Multiplexing
Occurs when multiple connections share a single connection (multiple
access)
Transmission services
A variety of additional services can be provided
Priority: messages such as control messages may need to get through to
the destination station with minimum delay
Security: security mechanisms, restricting access, may be invoked
51 / 65
Data Communication Basics Network (Reference) Models
52 / 65
Data Communication Basics Network (Reference) Models
Hierarchy
There are three different activities at the sender side and another three at
the receiver’s side
The tasks must be done in the order given in the hierarchy
53 / 65
Data Communication Basics Network (Reference) Models
Why layering?
Reduces complexity (one big problem to smaller ones)
Standardizes interfaces (between layers) facilitates modular engineering
(different teams work on different modules)
Assures interoperable technology
54 / 65
Data Communication Basics Network (Reference) Models
55 / 65
Data Communication Basics Network (Reference) Models
57 / 65
Data Communication Basics Network (Reference) Models
Physical Layer
Responsible for transmitting individual bits from one node to the next
Design issues:
Mechanical: the size and shape of the network connector, how many pins
does the network connector has and what each pin is used for
Electrical: how many volts represent a 1 and how many a 0
Timing: how many nanoseconds a bit lasts whether communication is one
way or in both directions simultaneously
58 / 65
Data Communication Basics Network (Reference) Models
59 / 65
Data Communication Basics Network (Reference) Models
Transport Layer
Accepts data from above, splits it up into smaller units if need be, passes
them to the network layer, and ensures that the pieces all arrive correctly
at the other end
Allows peer entities on the source and destination machines to hold
conversations
In the case of the OSI model, determines types of services to provide to
the session layer
Deliver messages in the order they were sent or without guarantee
of the order of delivery
Broadcasting messages to multiple destinations
61 / 65
Data Communication Basics Network (Reference) Models
62 / 65
Data Communication Basics Network (Reference) Models
63 / 65
Data Communication Basics Network (Reference) Models
Application Layer
contains all the higher level protocols that are commonly needed by
users; examples are
HTTP (Hypertext Transfer Protocol) - for fetching pages on the WWW
TELNET - virtual terminal, to log on to a remote machine
FTP - file transfer
SMTP - e-mail
DNS - for mapping host names onto their network addresses
64 / 65
Data Communication Basics Network (Reference) Models
65 / 65