1 - Introduction To Computer Networks
1 - Introduction To Computer Networks
Introduction
Computer Network
An interconnected collection of autonomous
computers.
Two computers are said to be
interconnected if they are able to
exchange information.
A system with one control unit and many
slaves is not a network.
Computer Network (Cont.)
Distributed Systems Computer
Network
The existence of multiple autonomous User must explicitly
computers is transparent to the user. do everything.
Client-server model
Scalability: Ability to
increase system
performance gradually
as the workload grows.
A Communications Model
Source
Generates data to be transmitted
Transmitter
Converts data into transmittable signals
Transmission system
Carries data
Receiver
Converts received signal into data
Destination
Takes incoming data
Simplified Communications Model
- Diagram
Key Communications Tasks
Transmission system utilization
Interfacing
Signal generation
Synchronization
Exchange management
Error detection and correction
Addressing and routing
Recovery
Message formatting
Security
Network management
Network Hardware
Transmission Technology
Broadcast Network Point – To – Point Network
All the others receive “Packets” in A packet may have to visit one
certain contexts, sent by any or more intermediate machine.
machine.
Multicasting: transmission to a
subnet of the machines.
Simplified Data
Communications Model
Networking
Point to point communication not
usually practical
Devices are too far apart
Large set of devices would need
impractical number of connections
Solution is a communications network
Simplified Network Model
Local Area Networks
Smaller scope
Building or small campus
Usually owned by same organization as
attached devices
Data rates much higher
Usually broadcast systems
Now some switched systems and ATM
are being introduced
Local Area Networks (Cont.)
NETWORKS
LAN MAN WAN INTERNET
LAN CHARACTERISTICS
Size Transmission Technology Topology
Establish a connection
Use the Connection
Release the connection
Acts like a tube: receive data by the Messages could be received in
same order was sent different order than it was sent with
Application Layer
Support for user applications
e.g. http, SMPT
TCP/IP Protocol Architecture Model
OSI Model
Open systems interconnection
Developed by the international
organization for standardization (ISO)
Seven layers
A theoretical system delivered too late!
TCP/IP is the de facto standard
OSI References Model
International Standards Organization.
OSI (Open Systems Interconnection).
Reference model: deals with connecting
open systems that are; Open for
communication with other systems.
Principles
A layer should be created where a different level of
abstraction is needed.
Each layer should perform a well-defined function.
The function of each layer should be chosen with an
eye toward defining internationally standardized
protocols.
The layer boundaries should be chosen to minimize
the information flow across the interfaces.
The number of layers should be large enough that
distinct functions need not be thrown together on
the same layer out of necessity.
OSI Layers
Application
Presentation
Session
Transport
Network
Data link
Physical
The Physical Layer
Deals with transmitting raw bits over a
communication channel.
How many volts for 1 or 0.
How many microseconds a bit lasts.
Mechanics, electrical and procedural
interfaces.
Data link Layer
Break the input data up into data frames.
Process the acknowledgement frames sent back by
the receiver.
Insert the frame delimiter.
Solve the problems caused by damaged, lost and
duplicate frames.
Flow control.
Full duplex transmission (piggybacking)
Medium access sub layer deals with how to control
access to the shared channel in broadcast networks.
Network Layer
Routing packets from source to destination.
Routes can be static or dynamic
Bottleneck, congestion
Connect heterogeneous networks (different
addressing method, larger packet service).
In broadcast networks, routing problem is
simple, so the network layer is thin.
Transport Layer
Accept data from the session layer, split it up into
smaller units if needed, pass these to the network
layer and ensure that the all pieces arrive correctly
at the other end
Under normal conditions, the transport layer creates
a distinct network connection for each transport
connection required by the session layer
If the transport connection requires a high
throughput, the transport layer might create
multiple network connections, dividing the data
among the network connections to improve
throughput
Transport Layer (Cont.)
Transport layer determines what type of service to
provide the session layer with and ultimately, the
users of the entire network
The transport layer is a true end-to-end layer, from
source to destination
Multiple connections will be entering and leaving
each host. There is a need to tell which message
belongs to which connection (transport header)
Establishing and deleting connections across the
network
Flow control between hosts (as oppose between
routers) so fast host cannot overrun a slow one
Session Layer
Allows users on different machines to establish
sessions between them
A session might be used to allow a user to log into
a remote timesharing system or to transfer a file
between two machines
Example: token management. Only the side
holding the token may perform the critical
operation.
Synchronization: insert a checkpoint.
Example: sending file for 20 hours. After a crash the
portion after the checkpoint will be resend again.
Presentation Layer
Concerned with the syntax and
semantics of the information
transmitted.
A typical example of a presentation
service is encoding data in a standard
agreed upon way. [Character strings,
integers, floating-point numbers…].
Application Layer
The application layer contains a variety of
protocols that are commonly needed.
Example: incompatible terminal type.
One way to solve this problem is to define an
abstract network virtual terminal that editor can
be written to deal with. To handle each terminal
type, a piece of s/w must be written to map the
functions of the network virtual terminal onto the
real terminal.
Other application is file transfer(ftp).
TCP/IP and OSI Protocol
Architectures
Example Of Networks
Novell NETWARE.
Client-server model.
IPX/SPX.
Network layer runs IPX (internet packet exchange).
IPX uses 10 byte address (IP uses 4 bytes) flat
addressing.
Transport protocol.
• NCP (network core protocol).
• Transport service & other services.
• SPX (sequenced packet exchange):
• Just transport service.
Example Of Networks (Cont.)
The application can choose between NCP & SPX
Transport control field counts how many networks the
packet has traversed.
About once a minute, each server broadcasts a packet
giving its address and telling what services it offers.
SAP (Service Advertising Protocol) is used for
broadcasting
Routers run some kind of special agent processes to
construct databases of which servers are running.
When a client is booted, it sends a request for a server.
The agent on the local router machine sees this request,
and matches up the request with the best server.
Example Of Networks (Cont.)
The APRANET.
Packet switched network, consisting of subnet and host
computers.
IMPS (interface message processors) connected by
transmission lines.
Each IMP would be connected to at least two other imps.
Each node consists of IMP and a host.
Host sends messages of up to 8063 bits to its IMP.
IMP breaks the message into packets of at most 1008 bits
and forwards them independently toward the destination.
56-kbps lines leased from telephone companies interconnect
the IMPS.
By 1990, the ARPANET had been overtaken by newer
networks.
Example Of Networks (Cont.)
NSFNET
By 1984 NSF Fig 1.26(the U.S. national science
Foundation) began designing a high-speed
successor to the ARPANET that would be open to
all university research groups.
By 1995 the NSFNET backbone was no longer
needed to interconnect the NSF regional networks
because numerous companies were running
commercial IP Networks.
Example Of Networks (Cont.)
The Internet.
In 1992, the internet society was set
up, to promote the use of the internet.
Four main applications.
Email.
News.
Remote login: telnet, rlogin.
File transfer: FTP.
Example Of Networks (Cont.)
Gigabit TESTBEDS.
The backbones operate at megabit speeds.
Gigabit networks provide better bandwidth but not
always much better delay.
Example: sending a 1-kbit packet from NYC to san
Francisco at (1 mbps) take.
1 msec to pump the bits out and 20 msec for the delay,
for a total of 21 msec. A 1-Gbps network can reduce this
to 20.001 msec.
For some applications, bandwidth is what counts, and
these are the applications for which gigabit networks will
make a big difference.
Examples:- telemedicine & virtual meeting.
Example Data
Communication Services
SMDS
X.25
FRAME RELAY
BROADBAND ISDN AND ATM