1 chapter 4. protocols and the tcp/ip suite wen-shyang hwang kuas ee

19
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.

Upload: scott-wells

Post on 19-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

1

Chapter 4. Protocols and the TCP/IP Suite

Wen-Shyang HwangKUAS EE.

Page 2: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

2

TCP/IP Layers

Physical layer (All layers are relative with wireless Network access layer networks in multimedia Communication) Internet layer Host-to-host, or transport layer Application layer

Page 3: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

3

TCP/IP addressing

Page 4: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

4

IP Address Formats

Page 5: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

5

Protocol Data Units (PDUs)

Page 6: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

6

TCP/IP Layers

Physical layer covers the physical interface between a data transmission device and a transmission medium or network

Physical layer specifies: Characteristics of the transmission medium The nature of the signals The data rate Other related matters (coding, Radio Frequence…)

Network access layer concerned with the exchange of data between an end system and the network to which it's attached

Software used depends on type of network Circuit switching Packet switching (e.g., X.25) LANs (e.g., Ethernet) Others (WiFi, WiMAX, Bluetooth…)

Page 7: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

7

TCP/IP Layers

Internet Protocol (IP) Provides routing functions to allow data to traverse multiple

interconnected networks Implemented in end systems and routers (mesh wireless network)

Transport Layer Commonly uses transmission control protocol (TCP) Provides reliability during data exchange

Completeness Order

Application Layer Supports user applications Uses separate modules that are particular to each different type of

application

Page 8: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

8

Common TCP/IP Applications

Simple mail transfer protocol (SMTP) File Transfer Protocol (FTP) TELNET

Page 9: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

9

Layers of the OSI Model

Application Presentation Session Transport Network Data link Physical

Page 10: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

10

OSI Layers

Application Layer Provides access to the OSI environment for users Provides distributed information services

Presentation Layer Provides independence to the application processes from

differences in data representation (syntax) Session Layer

Provides the control structure for communication between applications

Establishes, manages, and terminates connections (sessions) between cooperating applications

Transport Layer Provides reliable, transparent transfer of data between end points Provides end-to-end error recovery and flow control

Page 11: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

11

OSI Layers

Network Layer Provides upper layers with independence from the data

transmission and switching technologies used to connect systems Responsible for establishing, maintaining, and terminating

connections Data Link Layer

Provides for the reliable transfer of information across the physical link

Sends blocks (frames) with the necessary synchronization, error control, and flow control

Physical Layer Concerned with transmission of unstructured bit stream over

physical medium Deals with accessing the physical medium

Mechanical characteristics Electrical characteristics Functional characteristics Procedural characteristics

Page 12: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

12

Internetworking Terms

Communication network provides data transfer service among devices attached to network

Internet collection of communication networks, interconnected by

bridges/routers Intranet

internet used by an organization for internal purposes can exist as an isolated, self-contained internet

End System (ES) device used to support end-user applications or services

Intermediate System (IS) device used to connect two networks

Bridge an IS used to connect two LANs that use similar LAN protocols

Router an IS used to connect two networks that may (not) be similar

Page 13: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

13

Router

Functions Provide a link between networks Provide for the routing and delivery of data between processes on

end systems attached to different networks

Differences Routers must accommodate Addressing schemes

Different schemes for assigning addresses Maximum packet sizes

Different maximum packet sizes requires segmentation Interfaces

Differing hardware and software interfaces Reliability

Network may provide unreliable service

Page 14: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

14

Configuration for TCP/IP Example

Page 15: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

15

Action at Sender

Page 16: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

16

Action at Router

Page 17: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

17

Action at Receiver

Page 18: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

18

IP Headers

Page 19: 1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE

19

TCP Credit Allocation Mechanism