Networking and Protocol Architectures Examples ITS323: Introduction - - PowerPoint PPT Presentation

networking and protocol architectures
SMART_READER_LITE
LIVE PREVIEW

Networking and Protocol Architectures Examples ITS323: Introduction - - PowerPoint PPT Presentation

ITS323 Networks Layering TCP/IP Networking and Protocol Architectures Examples ITS323: Introduction to Data Communications Sirindhorn International Institute of Technology Thammasat University Prepared by Steven Gordon on 24 October 2014


slide-1
SLIDE 1

ITS323 Networks Layering TCP/IP Examples

Networking and Protocol Architectures

ITS323: Introduction to Data Communications

Sirindhorn International Institute of Technology Thammasat University

Prepared by Steven Gordon on 24 October 2014 ITS323Y14S1L09, Steve/Courses/2014/s1/its323/lectures/networks.tex, r3386

slide-2
SLIDE 2

ITS323 Networks Layering TCP/IP Examples

Contents

Layering and Protocol Architectures TCP/IP Protocol Architecture Example of TCP/IP Operation

slide-3
SLIDE 3

ITS323 Networks Layering TCP/IP Examples

Data Communications Across a Link

NIC Computer B Computer A NIC LAN cable Tx Rx

◮ Converting data (e.g. bits) into signals to be sent across

the link (Physical layer)

◮ Ensuring link is ready for data transmission,

reliable/efficient transmission of data (Data link layer)

slide-4
SLIDE 4

ITS323 Networks Layering TCP/IP Examples

Data Communications Across a Network

Tx Tx Tx Tx Rx Rx Rx Rx Source Destination System A Intermediate System B Intermediate System N Intermediate

◮ Data traverses multiple links; each link may have its

  • wn Physical and Data Link layer protocols

◮ How do intermediate systems receive/send data? How

to select which intermediate systems to send via? (Network layer)

◮ What happens if failures within intermediate systems?

How to create applications without knowing the details

  • f underlying network and technologies?
slide-5
SLIDE 5

ITS323 Networks Layering TCP/IP Examples

Layers

Divide-and-Conquer

◮ As data communications is complex, separate tasks into

layers

◮ Design and implement protocols for each layer

Advantages

◮ Simplify design and implementation ◮ Change/upgrade protocols without modifying the whole

system

◮ Select implementations from different vendors

Disadvantages

◮ Sub-optimal designs, overheads of each layer

slide-6
SLIDE 6

ITS323 Networks Layering TCP/IP Examples

General Layered Architecture

Source Destination System A Intermediate System B Intermediate System N Intermediate Link Link Link

Network Network Network Network Network Application Support Application Support

◮ Layers to support:

◮ Communications across a link ◮ Communications across a network ◮ Applications to operate efficiently on end devices

◮ Different specific layered architectures have been

developed

◮ Some are standards (e.g. OSI); others are loosely

defined (e.g. Internet stack)

slide-7
SLIDE 7

ITS323 Networks Layering TCP/IP Examples

OSI 7-layer Protocol Architecture

Transmit data across link in efficient, reliable way Addressing of devices on links Converts data between different formats, encryption and decryption Maintains session between applications Application specific functionality Reliable data transfer between end devices Allow computers to communicate across different networks Provide routes, optionally performance enhancements Physical interface between transmission device and medium How to send bits over medium

Transport Network Data Link Physical Session Presentation Application

Link Network Application Support

◮ ISO developed Open Systems Interconnection (ISO) in

1970’s

◮ TCP/IP became more popular; but concepts and

terminology still used today

◮ Others: IBM SNA, Appletalk, Novel IPX; SS7, UMTS,

IEEE 802, . . .

slide-8
SLIDE 8

ITS323 Networks Layering TCP/IP Examples

Contents

Layering and Protocol Architectures TCP/IP Protocol Architecture Example of TCP/IP Operation

slide-9
SLIDE 9

ITS323 Networks Layering TCP/IP Examples

TCP/IP Protocol Architecture

◮ ARPANET used two key protocols, TCP and IP;

together (as well as other related protocols) referred to as TCP/IP protocol suite

◮ Used in global Internet today ◮ Many protocol standardised by Internet Architecture

Board (IAB) and Internet Engineering Task Force (IETF)

◮ No official protocol architecture; generally divided into 5

layers

◮ Different names: TCP/IP protocol architecture,

TCP/IP protocol suite, Internet stack, . . .

slide-10
SLIDE 10

ITS323 Networks Layering TCP/IP Examples

TCP/IP 5-layer Protocol Architecture

Transmit data across link in efficient, reliable way Addressing of devices on links Allow computers to communicate across different networks Provide routes, optionally performance enhancements Physical interface between transmission device and medium How to send bits over medium Reliable data transfer between end devices Maintains session between applications Application specific functionality

Transport Network Data Link Physical Application

Link Network Support Application

◮ There is no standard definition of the layers ◮ Sometimes have different names, and overlap between

functionality

slide-11
SLIDE 11

ITS323 Networks Layering TCP/IP Examples

Layers and Devices

◮ One or more protocols are implemented in each layer in

a device

◮ End devices (hosts) implement all layers in stack ◮ Intermediate devices usually do not implement all layers ◮ May refer to device by highest layer it implements, e.g.

“layer 2 device”

◮ Modems, amplifiers and repeaters are related to

physical layer, layer 1 devices

◮ Layer 2 switches, Ethernet switches, WiFi access points

are layer 2 devices

◮ Routers are layer 3 devices

slide-12
SLIDE 12

ITS323 Networks Layering TCP/IP Examples

Implementing Layers

Physical Data Link Network Transport Application User Processes Operating System Network Interface Card

slide-13
SLIDE 13

ITS323 Networks Layering TCP/IP Examples

Contents

Layering and Protocol Architectures TCP/IP Protocol Architecture Example of TCP/IP Operation

slide-14
SLIDE 14

ITS323 Networks Layering TCP/IP Examples

Example Protocols in the TCP/IP

Physical Data Link Network Transport Application

IP TCP, UDP HTTP, FTP, SMTP, SSH

ICMP, OSPF, ARP

Ethernet ATM Frame Relay Twisted pair, optical fibre, satellite

SCTP, DCCP

SDH PDH Wireless LAN

slide-15
SLIDE 15

ITS323 Networks Layering TCP/IP Examples

Example Application: Web Browsing with HTTP

<html> <head> <title>Test</title> ... </html> HTTP/1.1 200 Ok 3 1 2 GET /test/index.html

Web Server Web Browser

slide-16
SLIDE 16

ITS323 Networks Layering TCP/IP Examples

Encapsulation in TCP/IP

Example: web browser has requested web page from server; server needs to send the page requested back to browser

TCP segment Ethernet frame IP datagram Application message User data Physical bits Physical signal Ethernet header Ethernet trailer IP header TCP header HTTP header Data 10100110110111010010100101...10010111010110100001101011010