Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Packet Switching, Layer Models and Protocol Suites.

Similar presentations


Presentation on theme: "1 Packet Switching, Layer Models and Protocol Suites."— Presentation transcript:

1 1 Packet Switching, Layer Models and Protocol Suites

2 2 Outline Packet vs. circuit switching Packet vs. circuit switching Layered tasks Layered tasks Internet protocol suites Internet protocol suites ISO's OSI model ISO's OSI model

3 3 Layered Tasks Computer networks are complex systems Computer networks are complex systems Tasks involve varieties of hardware and software components, and protocols Tasks involve varieties of hardware and software components, and protocols Networking task is divided into several subtasks, or layers Networking task is divided into several subtasks, or layers

4 4 Real World Example Communication between managers of two companies Communication between managers of two companies Communicate

5 5 What Actually Happens Communication takes place thru many layers Communication takes place thru many layers Logical communication Secretary: types a letter Delivery boy: drops the letter Secretary: reads and reports the message Delivery boy: takes the letter Post office: Processes and routes the letter Postal truck

6 6 Layer Model Layer N uses services provided by Layer N -1 Layer N uses services provided by Layer N -1 Layer N Using services Providing services Logical communication path HOST A HOST B Layer N-2 Layer N-1 Virtual Communication System Layer N protocol

7 7 Why Layers? Guidelines for protocol developments Guidelines for protocol developments Reference model Reference model Modularity Modularity Eases maintenance and updating of systems Eases maintenance and updating of systems A change in one layer is transparent to the rest A change in one layer is transparent to the rest Is layering always the best thing to do? Is layering always the best thing to do? Maybe not  cross-layer optimization Maybe not  cross-layer optimization

8 8 OSI Model OSI – Open Systems Interconnection OSI – Open Systems Interconnection Developed by the International Standards Organizations (ISO) Developed by the International Standards Organizations (ISO) Two additional layers Two additional layers Presentation layer Session layer 7.Application Layer 6.Presentation Layer 5.Session Layer 4.Transport Layer 3.Network Layer 2.Data Link Layer 1.Physical Layer User Transmission Medium Hardware Software

9 9 Application Layer The only layer to interact with user The only layer to interact with user Responsible for providing services to the user SMTPHTTPFTPSMTPHTTPFTP Data H5 Application Layer to Transport from Transport DataH5 Data Logical communication

10 10 Presentation Layer Duties/services Duties/services Data translation Data translation Encryption Encryption Decryption Decryption Compression Compression Responsible for handling differences in data representation to applications

11 11 Session Layer Duties/services Duties/services Interaction management Interaction management  Simplex, half-duplex, full-duplex Session recovery Session recovery Responsible for establishing, managing and terminating connections between applications

12 12 Transport Layer Duties/services Duties/services Port addressing Port addressing Segmentation and reassembly Segmentation and reassembly Connection control Connection control Flow control (end-to-end) Flow control (end-to-end) Error control (end-to-end) Error control (end-to-end) Responsible for delivery of a message from one process to another

13 13 Transport Layer Data from Application Data 1 Data 2 Data 3 H4 to Network Data to Application Data 1 Data 2 Data 3 H4 from Network (segments)

14 14 Network Layer Duties/services Duties/services Logical addressing Logical addressing Routing Routing Responsible for the delivery of packets from the original source to the destination

15 15 Network Layer Data from Transport to Data Link Data to Transport from Data Link DataH3DataH3 (packet)

16 16 Network Layer Network 1 Network 6 Network 5 1.11.2 6.6 6.1 6.3 5.7 5.2 Network 3 3.8 3.3 Router Data1.15.7 1.1, 1.2, 6.1, 5.7,... are logical addresses R1 R3 R2

17 17 Data Link Layer Duties/services Duties/services Framing Framing Physical addressing Physical addressing Flow control (hop-to-hop) Flow control (hop-to-hop) Error control (hop-to-hop) Error control (hop-to-hop) Access control Access control Responsible for transmitting frames from one node to the next

18 18 Data Link Layer Data from Network to Physical Data to Network from Physical DataH2DataH2 (frame) T2

19 19 Data Link Layer 3B A3, 3B, 82, 9F,... are physical addresses 9F82A3 Data9FT2A3 Data H2

20 20 Data Link Layer Network 1 Network 6 Network 5 1.11.2 6.6 B1 6.3 5.7 5.2 Network 3 3.8 3.3 Data1.15.7 9732 25 79 62 54 74 12 88 Data1.15.7 2597 Data1.15.7 6279 Data1.15.7 7454 R1 R3 R2

21 21 Physical Layer Duties/services Duties/services Physical characteristics of interfaces and media Physical characteristics of interfaces and media Representation of bits Representation of bits Data rate (transmission rate) Data rate (transmission rate) Synchronization of bits Synchronization of bits Responsible for transmitting individual bits from one node to the next

22 22 Physical Layer Data from Data Linkto Data Link Data 01001011 Transmission medium (bits)

23 23 The Big Picture L5 dataH5 L4 dataH4 L3 dataH3 L2 dataT2H2 0111011010101001010101001 L5 dataH5 L4 dataH4 L3 dataH3 L2 dataT2H2 0111010101010010101010101 5 4 3 2 1 5 4 3 2 1 Transmission medium

24 24 Internet Model ApplicationTransport Network Data Link Physical Network PhysicalNetwork Physical ApplicationTransport Network Physical Transmission medium sender router receiver

25 25 OSI Layers in Real World transmission medium Reads the message Summarizes or translates letter Opens letter Withdraws letter from mailbox Checks address and sorts letter Unpacks packages Unloads from truck Handwrites a message 7.Manager Prepares final version 6.Assistant Provides address and packs letter 5.Secretary Delivers letter to post office 4.Driver Checks address and sorts letter 3.Postal staff Packs letters for certain directions 2.Postal staff Loads on truck 1.Postal staff Pictures from Wikipedia

26 OSI v TCP/IP


Download ppt "1 Packet Switching, Layer Models and Protocol Suites."

Similar presentations


Ads by Google