Professional Documents
Culture Documents
COMPUTER NETWORKS
Data:
Refers to Information, Facts, Concepts,
Instructions
Represented by: binary information units (bits:
0, 1)
Consists of: text, numbers, pictures, sound or
video
3
Data Communication
4
Data Communication (cont.)
5 components
Message, Sender, Medium, Receiver, and
Protocol
5
Data Flow
Simplex
one direction, either as transmitter or receiver
Half-duplex
both direction; can transmit or receive, but one at a
time
Full-duplex
can transmit and receive simultaneously
6
Data flow (simplex, half-duplex, and full-duplex)
A Network
a set of nodes connected by media links for
resource sharing
A Node
computer, printer, etc
A Link
communication Channel
Resource
printer, database, files, Web pages, records, etc
8
Network Criterion (cont.)
Performance
Transit time and response time
Depends on
Number of users
Types of transmission medium
Hardware
Software
Throughput and delay
Reliability
Security
9
Transit Time Is the amount of time required for a
message to travel from one device to another.
10
Network Configuration
11
Point-to-Point Line Configuration
Dedicated link
Entire capacity of the channel reserved for
communication
Examples:
PC to PC (workstation)
Mainframe to PC (Workstation)
Satellite links
12
Types of connections: point-to-point and multipoint
Spatially Ethernet
Time sharing
Laptop computer
Notebook computer
PC
Laser printer
14
Categories of Network
15
Local Area Networks (LANs)
Single organization
Office, building, campus, etc
Resource sharing
Printers, file servers, Internet
connection
One type of medium
Ethernet most common
10, 100, 1000 Mb/s
Wireless LANs
Topologies
bus, ring, star
16
An isolated LAN connecting 12 computers
to a hub in a closet
17
Wide Area Network (WAN)
18
Wide Area Network (WAN)
International networks
Use different kinds of equipment
Public, leased, private equipment
International operators (carriers)
Private WAN
Enterprise networks
19
WANs: a switched WAN and a point-to-point WAN
21
Metropolitan Area Network (MAN)
Connect LANs together
Provide access to WAN
Different kinds of ownership
private company
public company
Network operator
Stadsnt, kommuner, energibolag
22
A heterogeneous network made of four WANs and two LANs
Interfacing Routing
Flow control
Data Communications Model
Transmission Medium
selection is a basic choice
internal use entirely up to business
long-distance links made by carrier
rapid technology advances change mix
fiber optic
wireless
transmission costs still high
hence interest in efficiency improvements
Networking
growth of number & power of computers is driving need for
interconnection
also seeing rapid integration of voice, data, image & video
technologies
two broad categories of communications networks:
Local Area Network (LAN)
Wide Area Network (WAN)
Wide Area Networks
span a large geographical area
cross public rights of way
rely in part on common carrier circuits
alternative technologies used include:
circuit switching
packet switching
frame relay
Asynchronous Transfer Mode (ATM)
The Internet
Internet evolved from ARPANET
first operational packet network
applied to tactical radio & satellite nets also
had a need for interoperability
led to standardized TCP/IP protocols
Internet Elements
Internet Architecture
Example Configuration
Chapter 2 Protocol Architecture,
TCP/IP, and Internet-Based
Applications
Need For Protocol Architecture
data exchange can involve complex procedures, cf. file transfer
example
better if task broken into subtasks
implemented separately in layers in stack
each layer provides functions needed to perform comms for layers
above
using functions provided by layers below
peer layers communicate with a protocol
Protocol
A set of rules that govern data communications
What is communicated?
How it is communicated?
When it is communicated?
Key Elements:
syntax - data format
semantics - control info & error handling
timing - speed matching & sequencing
Protocols (cont.)
Syntax
Structure or Format of data
Order of data
Example:
Address of Receiver (First 8 bit)
Address of Sender (Second 8 bit)
Message (rest of bits)
37
Protocols (cont.)
Semantics
Meaning of each section of bits
Bit pattern and interpretation
Command or action
Timing
When to send ?
How fast it can be sent?
38
Network Models
System structure
Protocol functions
Interfaces between protocols
Separation of functions into layers
Technology
Application areas
Security and charging systems
Examples
Open Systems Interconnection (OSI)
Internet protocols, TCP/IP suite
39
Common Layered Network Models
OSI model
40
ISOs OSI Model
Open Systems
Interconnection
Seven layer model
Three key concepts
Service
Interface
Protocol
Originates from early
80s
Protocol stack was never
fully implemented and
deployed
41
Internet Model
Also known as TCP/IP protocol suite
42
Communication Between Layers
Peer-to-peer processes
Between protocols at the same layer in different devices
Logical connection
Interfaces between layers
Between adjacent layers in the same device
Data is transfered by passing data and network information
through layers
down (sending) or up (receiving)
Communication takes place over well-defined interfaces
43
Communication Between Layers
44
Interfaces Between Layers
The interface of a layer defines how the layer above it can access it
Each layer has its own format for the Protocol Data Unit (PDU)
A layer in the sending device may add more protocol information
to the data unit from the layer above
Headers and trailers
A layer in the receiving device may strip off protocol information
45
Data Exchange
46
Function of Layers
Physical Layer
Data Link Layer
Network Layer
Transport Layer
Application Layer
47
Physical Layer
Interface & Transmission Media
Electrical Specification
Mechanical Specification
Responsible for movement of individual bits from
one hop (node) to the next.
Define functions and procedures for data
transmission
Physical characteristics of interfaces and medium
Representation of bits
Data Rate
Synchronization of Bits
Line configuration
Physical topology
Transmission mode
48
Physical Layer
49
Data Link Layer
Provide a reliable Link
Error free to the upper layer (network
layer)
Responsible for moving frames from one
hop (node) to the next.
Major responsibilities
Framing
Physical addressing
Flow control
Error control
Access control
50
Data Link Layer (cont.)
51
Data Link Layer Hop-to-hop (Node-to-
Node) Delivery
53
Network Layer
54
Network Layer Source-to-Destination
Delivery
56
Transport Layer
59
Session Layer
Advantages
61
Application Layer
Provide user interface and support for services.
Services provided
Network virtual terminal
File transfer, access, and management
Mail services
Directory services
62
Application Layer
67
Relations of layers and addresses in TCP/IP
Advantages
69
Example
07:01:02:01:2C:4B
70
Addressing (cont.)
Logical Addresses
Necessary for communications that are independent of
underlying physical networks.
Each host can be identified uniquely
Currently a 32-bit address in the Internet
The physical addresses will change from hop to hop, but the
logical addresses usually remain the same
71
Addressing
Port Addresses
Internet communication
Process communicates with another process
Processes TELNET, FTP, HTTP etc.
A method to label different processes.
16 bits in TCP/IP
Represented by one decimal number, e.g.
SSH- 22, Telnet -23, Http - 80, ftp - 21
72
Addressing
Specific Addresses
Email address luoh@ipfw.edu
Web url http://www.ects.ipfw.edu/~luo
73
Communicating Systems
Interoperability between different vendors, products, etc
Solution: Standards
Two systems that follow the same rules should function
together
Independent of vendor and realisation method
74
Standards
Advantages:
Assure that there will be a large market for a particular piece of
equipment or software
Allows products from multiple vendors to communicate (more
selections)
Disadvantages
Tends to freeze the technology
Multiple conflicting standards
75
Standards Organization
76
REFERENCES
1. Data Communications and Networking
by Forouzan
2. Data and Computer Communications
by William Stallings