Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 3 TCP and IP 1 Chapter 3 TCP and IP. Chapter 3 TCP and IP 2 Introduction Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Internet.

Similar presentations


Presentation on theme: "Chapter 3 TCP and IP 1 Chapter 3 TCP and IP. Chapter 3 TCP and IP 2 Introduction Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Internet."— Presentation transcript:

1 Chapter 3 TCP and IP 1 Chapter 3 TCP and IP

2 Chapter 3 TCP and IP 2 Introduction Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Internet Protocol (IP) IPv6

3 Chapter 3 TCP and IP 3 TCP RFC 793, RFC 1122 Outgoing data is logically a stream of octets from user Stream broken into blocks of data, or segments TCP accumulates octets from user until segment is large enough, or data marked with PUSH flag User can mark data as URGENT

4 Chapter 3 TCP and IP 4 Similarly, incoming data is a stream of octets presented to user Data marked with PUSH flag triggers delivery of data to user, otherwise TCP decides when to deliver data Data marked with URGENT flag causes user to be signaled

5 Chapter 3 TCP and IP 5 Checksum Field Applied to data segment and part of the header Protects against bit errors in user data and addressing information Filled in at source Checked at destination

6 Chapter 3 TCP and IP 6 Options Maximum segment size Window scale factor Timestamp

7 Chapter 3 TCP and IP 7 Figure 2.1

8 Chapter 3 TCP and IP 8 UDP RFC 768 Connectionless, unreliable Less overhead Simply adds port addressing to IP Checksum is optional

9 Chapter 3 TCP and IP 9 Appropriate Uses of UDP Inward data collection Outward data dissemination Request-response Real-time applications

10 Chapter 3 TCP and IP 10 IP RFC 791 Field highlights: –Type of service, defined in RFC 1349, see Figure 3.1 –More bit –Don’t fragment bit –Time to live (similar to a hop count)

11 Chapter 3 TCP and IP 11 Figure 2.2

12 Chapter 3 TCP and IP 12 Figure 3.1

13 Chapter 3 TCP and IP 13 Fragmentation and Reassembly Networks may have different maximum packet size Router may need to fragment datagrams before sending to next network Fragments may need further fragmenting in later networks Reassembly done only at final destination since fragments may take different routes

14 Chapter 3 TCP and IP 14 Figure 3.2

15 Chapter 3 TCP and IP 15 Type of Service TOS Subfield Set by source system Routers may ignore TOS Router may respond to requested TOS value through: –Route selection –Subnetwork service –Queuing discipline

16 Chapter 3 TCP and IP 16 Table 3.1

17 Chapter 3 TCP and IP 17 Type of Service Precedence Subfield Indicates degree of urgency or priority Like TOS subfield, may be ignored and there are 3 approaches to responding Intended to affect queuing discipline at router –Queue service –Congestion control

18 Chapter 3 TCP and IP 18 IPv4 Options Security Source routing Route recording timestamping

19 Chapter 3 TCP and IP 19 IPv6 Increase IP address from 32 bits to 128 Accommodate higher network speeds, mix of data streams (graphics, video, audio) Fixed size 40-octet header, followed by optional extension headers Longer header but fewer fields (8 vs 12), so routers should have less processing

20 Chapter 3 TCP and IP 20 IPv6 Header Version Traffic class Flow label Payload length Next header Hop limit Source address Destination address

21 Chapter 3 TCP and IP 21 IPv6 Addresses 128 bits Longer addresses can have structure that assists routing 3 types: –Unicast –Anycast –multicast

22 Chapter 3 TCP and IP 22 Figure 3.3

23 Chapter 3 TCP and IP 23 Optional Extension Headers Hop-by-hop options Routing Fragment Authentication Encapsulating security payload Destination options

24 Chapter 3 TCP and IP 24 Figure 3.4


Download ppt "Chapter 3 TCP and IP 1 Chapter 3 TCP and IP. Chapter 3 TCP and IP 2 Introduction Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Internet."

Similar presentations


Ads by Google