Computer Communication Networks CS-418: Lecture 1 - 2 Network Architectures & Protocol Basics
Computer Communication Networks CS-418: Lecture 1 - 2 Network Architectures & Protocol Basics
CS-418
Lecture 1 – 2
Network Architectures & Protocol Basics
• Communication Model
• Key Elements:
• Source – generates data to be transferred
• Transmitter – converts data into transmittable signals
• Transmission system – carries the data
• Receiver – converts received signal into data
• Destination – takes incoming data
• What is a Network?
• Set of nodes connected by communication links, capable of sending
and/or receiving data generated by other nodes on the network.
• Fundamental aim of networks: Resource sharing , Services
• Network Topologies
• Mesh
• Star
• Bus
• Ring
• Network Coverage Areas
• Local Area Networks(LANs)
• Wide Area Networks(WANs)
• Switching Techniques
• Circuit Switching
• Packet Switching
protocol entity.
• An N-PDU is treated as payload / user N-1
Hdr
N Hdr N+1 data N Trl
N-1
Trl
N-1
Hdr
N Hdr N+1 data N Trl N-1
Trl
data by the N − 1 layer.
N-1
• Each layer adds own header and
N-2 N-1 N Trl N-2
N-2 N-1 N-1 N-2 N Hdr N+1 data
N Hdr N+1 data N Trl Hdr Hdr Trl Trl
Hdr Hdr Trl Trl
trailer before handing down to lower
layer.
• Receiving layer removes its header /
trailer before handing payload to
upper layer.
• Presentation layer:
• Translates between different representations of data types used on
different end hosts
• Example: host A uses low-endian , host B big-endian
Spring Semester 2021 20
OSI RM – Application Layer
• Contains variety of protocols that are commonly needed by
users.
• Examples:
• HTTP(HyperText Transfer Protocol) – for Web document request and
transfer
• SMTP(Simple Mail Transfer Protocol) – for transfer of email messages
• FTP(File Transfer Protocol) – for transfer of files between two end
systems
• Packet of information at the application layer is called a
message.
• Focus: Transport Layer and Lower.
Spring Semester 2021 21
TCP/IP Reference Model
• The TCP/IP protocol architecture is a
result of protocol research and Layer 5: Application
development conducted on the
experimental packet-switched network,
ARPANET, funded by the Defense Layer 4: Transport
Advanced Research Projects Agency
(DARPA).
• It is generally referred to as the TCP/IP Layer 3: Internet
protocol suite.
• This model is used in the Internet.
Layer 2: Network Access
• TCP/IP model consists of five layers:
• Application
• Transport Layer 1: Physical
• Internet
• Network Access
• Physical