Data Communications & Networking Chapter 1 Introduction

advertisement
Data Communications & Networking
Chapter 1
Introduction
 Communication
 Sharing information.
 Sharing can be local (face to face) or remote (over distance)
Tele communication
(telephone, television, telegraphy) means communication
at a distance remote communication. (tele: far)
Data communication:
exchange of data between two devices via transmission
medium (wire cable)
Communicating devices
made up of : H.W( physical equipments )and S.W
2
Why Study Data Communication &
Networking?
 Because Data Communication & Networking are changing the way we do
business and the way we live
Require immediate access to accurate information
Database, online shopping
Enable long distance communication
Internet, IP phone
Access variable of information (text, voice and image)
Email, messenger, video conference
3
A Data Communication Model
 Protocol
 is a set of rules that governs data communications. It represents an
agreement between the communicating devices.
 Without a protocol two devices may be connected but not
communicating
4
Data Representation
 Text
 represented as a bit pattern; codes often used
ASCII: 7-bit pattern (128 different symbols)
Extended ASCII: 8-bit pattern (with an extra 0 at left from
00000000 to 0111111
Unicode:32 bits pattern (65,536,216) symbols, which is definitely
enough to represent any symbol in the world
ISO
 Numbers
 represented by binary equivalent, However, a code such as ASCII is
not used to represent numbers; the number is directly converted to a
binary number to simplify mathematical operations.
 Images
 represented by matrix of pixels, small dot.
 The size of pixel represent the resolution
 One method to represent color images is RGB
 Audio represent sound by continuous (analog) signal
5
 Video
Effectiveness of data communication depends on
 Delivery
 System must deliver data to correct destination. Data
must be received by only intended device or user.
 Accuracy
 Data delivered accurately
 Altered data which left uncorrected are unusable.
 Timeliness
 Data delivered in timely manner without delay (real-time)
 Jitter
 variation in packet arrival time, It is the uneven delay in
the delivery of audio or video packets
6
Direction of Data Flow
 Simplex
 communication is unidirectional. (one-way-street). Only one of the two devices
on a link can transmit; the other can only receive, As Keyboard and monitors

 Half-duplex
 Each station can both transmit and receive , but not at the same time. When one
device is sending the other can receive and vice versa. one-lane road with two
direction)
 Full-duplex
 Both stations can transmit and receive simultaneously. ( telephone network)
 Like two way street with traffic flowing in both directions at the same time
 Signals going in either direction share the capacity of the link in two ways:
 Either the link must contain two physically separate transmission paths one for
sending and other for receiving.
 Capacity of the channel is divided between signals traveling in both direction
7
Networks
Network
is a set of devices (often referred to as nodes) connected by
communication links.
A node can be a computer, printer, or any other device can
capable of sending and/or receiving data generated by
other nodes on the network.
Nodes attached to media through NIC (network interface card)
Distributed Processing
Most network uses distributed processing , in which a task
is divided among multiple computers. Instead of a single
machine responsible for all aspects of a process, separate
8
 Performance
Network Criteria
Performance can be measured in many ways, including transit
time and response time.
Transit time is the amount of time required for a message to
travel from one device to another.
Response time is the elapsed time between an inquiry and a
response
Performance– depends on
 Number of user
 Type of transmission media,
 Capabilities of connected H.W and the efficiency of software
 Reliability – measured by
 Frequency of failure
 The time it takes to recover from failure
 Network’s robustness in a catastrophe.
9
 Security
Protection from unauthorized access and Viruses,
access, protecting data from damage and
development, and implementing policies and
procedures for recovery from breaches and data
losses.
10
TYPE OF CONNECTION
 Point to point
 A dedicated link is provided between two devices
 Most of them uses an actual length of wire or cable
to connect the two ends but other options ,such as
microwave satellite are possible
Point – to – point connection
 Example: change television channels by infrared
remote control
 Multipoint
 More than two devices share a single line.
 The capacity is shared either spatially or
temporally.
 Spatially: Several devices can use link simultaneously
 Temporally: Users take turns , it is a timeshared
Multipoint connection
11
Topology
 Physical topology
 Is how the wires are run
 The way in which a network is laid out physically
 Logical topology is how the signal travels.
 A device can be wired to implement any logical topology.
 LANs are logical busses or rings, depending on how the hub is wired
 4 basic types: mesh, star, bus, ring
 The most common physical topology is the star.
 All the wires come back to a central point
 May often see hybrid
12
Mesh Topology
 Every device has a dedicated point-to-point link to every other devices in
network
 Mesh topology often used in MANs and WANs
 A fully connected mesh network has n(n-1)/2 physical channels to link n
devices, Every device on the network must have n-1 I/O ports
 Advantage
 Privacy or security(every message travels along a dedicated line, only the intended
recipient sees it. Physical boundaries prevents other user from gaining access the
message
 eliminating the traffic problems. The use of dedicated links guarantees that each
connection can carry its own data load; that can occur when links must be shared
by multiple devices.
 A mesh is robust. If one link becomes unusable, it does not incapacitate the entire
system.
 Fault identification and fault isolation easy. This enables the network manager to
discover the precise location of fault and aids in finding its cause and solution.
 Disadvantage
 Need more resource (cable & ports)
 Expensive to implement
13
Star Topology
 Each device has a dedicated point-to-point link only to a central device (hub,
switch, router)
 No direct traffic and link between devices
 Advantages of star topology
 Easy to install and reconfigure and less expensive
 Each device need only one link and I/O port to connect it to any other
devices.)
 Robustness, If one link fails, only that link affected and other links
remain active.
 Identification and fault isolation
 Disadvantages of star topology
 Failure of central device may cause network failure
 Requires more cable than (Ring ,bus)
 The star topology is used in local-area networks (LANs), as we will see in
,High-speed LANs often use a star topology with a central hub.
14
Tree topology
Is a variation of star
 Not every device plugs directly into the central hub. The majority of devices
connect to secondary hub that in turn is connected to the central hub
 The advantages and disadvantages of tree topology are generally the same
as those of star.
 The addition of secondary hubs bring more advantage:
 Allow more devices to be attached to a single central hub, therefore increase the
distance a signal can travel between devices.
15
Bus Topology
 A multipoint topology
 Consists of cables connecting PCs or file servers
 Terminator attached to each end of bus cable segment
 to absorb signal and prevent signal reflection back on to covered path
 Transmitting packet across bus
 Detected by all nodes on segment
 Given time limit to reach destination
 Advantages of bus design
 Requires less cable than other topologies
 Easy to install and extend bus with a workstation
 Disadvantages of bus topology
 Not secured
 Can become quickly congested with network traffic
 A fault in bus cable stops all transmissions even between devices on the
same side of the problem. The damaged area reflects signals back the
direction of origin, creating noise in both directions
16
Ring Topology
 Each device is dedicated point-to-point connection only with
the two devices on either side of it
 Signal is passed from device to device until it reaches
destination
 Each device functions as a repeater
 Advantage
 Relatively easy to install and reconfigure
 Fault isolation is simplified
 Disadvantage
 Unidirectional traffic
 A break in the ring can disable the entire network. This can be solved
by use dual ring
17
Hybrid topology
a star backbone with three bus networks
18
Networks Categories
 Network category is determined by its size, ownership,
the distance it cover and its physical architecture
19
LAN
 Privately owned and links the devices in a single office, building or campus
 LANs designed to allow resources to be shared between PCs or






workstations. The resources may be H.W or S.W or data.
In LANs one of the computers has a large capacity drive and becomes a
server to other clients.
SW stored on server and used as needed by the whole group.
LAN size determined by licensing restrictions( No of users per copy of SW)
LAN use only one type of transmission medium.
The most common LAN topologies are bus, ring and star.
Today, LAN speed can be 100Mbps or 1000MBps(1G)
20
MAN
 Owned by private company or it may be a service provided by public
company ( such as local tel.-company)
 Extended over an entire city.
 May be single network such as a cable television network, or it may be
connected number of LANs into a large network so that resources may be
shared LAN-TO-LAN.
 Examples:
 Company can use MAN to connect the LANs in all its offices throughout the
city.
 A part of the telephone line network that can provide DSL line to the customer
21
WAN
 Provides long distance transmission of data, voice , image
and video information over large areas ( country or whole
world)
 In contrast to LAN, WAN may utilize public or private
communication equipment's or combination
22
Switched and a Point-to-point WAN
23
Categories of Networks Based on Control
Peer-to-Peer Network
 No single computer controls the network.
 Each computer is the same (a peer) to all others
 It is suitable for small offices.
Server-Based Network
 The network is controlled by a special high-powered server.
 The server is dedicated to running the network.
 Print and file servers, application servers, communication servers, and
directory service servers are common.
24
Interconnections of networks :internetwork
An internet (small i) is two or more networks that can
communicate with each other
25
The Internet
 Collaboration of more than 100s of thousands of interconnected networks
 In mid of 1960
 The Advanced Research Projects Agency (ARPA) in the department of
defense was interested in finding a way to connect computers so that the
researchers they funded could share their findings, to reduce costs and
eliminating duplication of effort.
 1n1967
 ARPA presented its ideas for ARPANET, small network of connected computers
 1n 1969
 ARPANET was reality. Four nodes at the University Of California (at los angles and
Santa Barba), University of Utah and Stand ford Research Institute connected via
IMPs computers to form a network. Software called Network Control Protocol (NCP)
provided communication between the hosts.
 1n 1972,
 Protocol to achieve end -to-end delivery of packets, TCP.
 Authorities made decision to split TCP into 2 protocols:
 IP: Internetworking protocol to handle datagram routing and
 TCP: responsible for higher-level-functions such as error detection, segmentation and reassembly
26
Protocols
 Protocols are set of rules that govern data communication to define
What is communicated?
How it communicated?
When it is communicated?
 Key elements
 Syntax
Structure or format of the data, meaning the order in which they are
presented
Example: A simple protocol might expect the first byte of data to be the
address of the sender, the second byte to be the address of the receiver and
the reset of the stream to be the message itself.
 Semantics
Refers to the meaning of each section of bits.
Example: does an address identify the route to be taken or the final
destination of the message
 Timing
When data to should be sent?
How fast they can be sent?
27 the
If a sender produces data at 100Mpbs but the receiver can process data at only 1Mpbs, transmission will overload
receiver and data will be largely lost
Standards
 Standard
provides a model for development
allows for interoperability
Types
De jure/Formal
legislated by an officially recognized body
De facto
Have been adopted as standers through widespread use
Established by manufacturers that define the functionality of a
new product or technology
Standards Organizations





International Organization for Standardization (ISO)
International Telecommunication Union Telecommunication standard sector ( ITU-T)
American National Standards Institute (ANSI)
Institute of Electrical and Electronics Engineers (IEEE)
Electronic Industries Association (EIA)
28
Download