Chapter 1
Chapter 1
Chapter 1
Introduction
By: H. Veisi
Fall 2005
Basic information
Text book
Necessary
Andrew Tanenbaum, “Computer Networks, 3rd
Edition”, 1996. [4th edition is available]
Recommended
James F. Kurose and Keith W. Ross, “Computer
Networking , A Top-Down Approach Featuring the
Internet”, 2001.
Stallings, William, “Data and Computer
Communications, 6th Edition”, 2000.
Lots of terminology
Basics of communications
Internetworking
Network hardware
Protocols and Layering
Network Addressing
Routing, Flow, Error and Congestion Control
Basics
Telephone
Satellite
TV programs
Internet
ftp
mail
Chat
…
Business Applications
online buying
Home Applications
mail, chat
Mobile Users
wireless: laptops, PDA, mobile, in plane
Social Issues
Peer-to-peer (P2P)
Kazaa, Emule,
E-commerce
Discussions about
politics,
religion,
…
Transmission hardware
Special-purpose hardware devices
interconnect transmission media
control transmission
run protocol software
Protocol software
encodes and formats data
detects and corrects problems
Scale Media
Local Area Networks (LAN)
Metropolitan Area Networks (MAN) Wire line
Wide Area Networks (WAN)
Wireless
Wireless Networks
Home Networks
Internetworks
Packets
Messages - the "chunk" of data transmitted from
one machine to the next.
Addressing
One to one: Packet contains specific target address.
Topology …
Bus
Ethernet (IEEE 802.3):
Bus based broadcast network with decentralized
control at 10 or 100 Mbps.
Ring
Token Ring (IEEE 802.5):
Ring based broadcast network with token arbitration
at 4 or 16 Mbps.
(Communication) Subnet:
Connections between hosts - transmission lines + switches.
A "locality" understanding each other's addresses.
Point-to-point/Store-and-forward/Packet-switched -
Moving through a series of routers, packets are received at a
router, stored there, then forwarded to the next router.
Use
Sound
Light and mirrors
Infrared
RF
Microwave
Layers :
The concept that network software is organized
functionally into levels. A level on one host talks to
the same level on another host (its peer).
Protocol :
The protocol is the convention or standard that a
layer uses to talk to the other layer. An
agreement or standard on the conversation.
conversation
Protocol Hierarchies
Layers,
Important that each
layer perform specific
actions.
protocols,
Interfaces
Defines the services
That one layer offers
another (either up
or down.)
Physical Medium:
Underneath the layers is the wire or fiber or whatever.
Network architecture:
A set of layers and protocols. It contains details on what happens in
the layer and what the layers says to its peer.
Functional interfaces and implementation details are not part of the
spec, since that's not visible outside the machine.
Protocol stack:
A list of protocols used by a system, one protocol per layer.
Information flow:
"Send_to_peer" rather than "call_next_layer_down".
Addressing
Error control. (garbled or missing.)
Preservation of message ordering.
Flow control.
Breaking up messages into a smaller chunks (and reassembly.)
Multiplexing messages on same connection.
Routing - how to get from one host to another.
Connectionless service:
Like the post office. Each message has the entire address on
it. Each message may follow a different route to its
destination. Ordering not maintained.
» Data Transfer
Example
Connect.indication Connect.request
Connect.confirm
Data.indication Data.request
Data.request Data.indication
Disconnect.indication Disconnect.request
Disconnect.confirm
Example: Connection-Oriented
Encapsulation
Physical Layer:
Purpose: Transmits raw bits across a medium.
Electrical: Concerns are voltage, timing, duplexing,
connectors, etc.
Network Layer:
Routing: What path is followed by packets from
source to destination. Can be based on a static
table, when the connection is created, or when
each packet is sent.
Transport Layer:
Reliability: Ensures that packets arrive at their destination.
Reassembles out of order messages.
Session Layer:
Sessions: Provides services that span a particular message.
For instance, a login session could be logged.
Synchronization: Provide way to subdivide a long mechanism
for reliability.
Presentation Layer:
Prettiness: Syntax and semantics of information transmitted.
Understands the nature of the data being transmitted.
Converts ASCII/EBCDIC, big endian/little endian
Application Layer:
Interfacing: Terminal type translation.
File transfer: Programs able to understand directory
structures and naming conventions and map them onto various
systems.
Internet Layer
Connector: Provides packet switched connectionless service.
Routing :The IP (Internet Protocol) does delivery and
congestion control.
Transport Layer
TCP (Transmission Control Protocol): provides a reliable
connection oriented protocol that delivers a byte stream from
one node to another. Guarantees delivery and provides flow
control.
UDP (User Datagram Protocol) provides an unreliable
connection-less protocol for applications that provide their
own.
Application Layer
Terminal Telnet
File transfer FTP
The Web HTTP
Mail SMTP