Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Application TCPUDP IPICMPARPRARP Physical network Application TCP/IP Protocol Suite.

Similar presentations


Presentation on theme: "1 Application TCPUDP IPICMPARPRARP Physical network Application TCP/IP Protocol Suite."— Presentation transcript:

1 1 Application TCPUDP IPICMPARPRARP Physical network Application TCP/IP Protocol Suite

2 2 HTTP Request TCP Header Header contains source and destination port numbers Header contains: source and destination IP addresses; transport protocol type IP Header Header contains: source and destination physical addresses; network protocol type FCS Ethernet Header Encapsulation

3 3 Application Transport Internet Network Interface Application Transport Internet Network 1 Network 2 Machine A Machine B Router/Gateway Network Interface IP and network interface layers

4 4 Version IHL Type of Service Total Length Identification Flags Fragment Offset Time to Live Protocol Header Checksum Source IP Address Destination IP Address Options Padding 0 4 8 16 19 24 31 IP version 4 Header

5 5 0Net IDHost ID Net IDHost ID1 0 Net IDHost ID1 1 0 1 1 1 0Multicast address 1 1 Reserved for experiments Class A Class B Class C Class D Class E 0 1 2 3 8 16 31 Bit position: 5 Classes of Addresses

6 6 Original address Subnetted address Net IDHost ID1 0 Net IDHost ID1 0Subnet ID Subnet Addressing

7 7 R1 H1H2 H3H4 R2H5 To the rest of the Internet 150.100.0.1 150.100.12.128 150.100.12.0 150.100.12.176150.100.12.154 150.100.12.24 150.100.12.55 150.100.12.1 150.100.15.54 150.100.15.0 150.100.15.11 150.100.12.129 150.100.12.4 Address assignment with subnets

8 8 H1H2H3H4 H1H2H3H4 ARP request (what is the MAC address of 150.100.76.22?) ARP response (my MAC address is 08-00-5A-C5-3B-94) 150.100.76.20150.100.76.21 150.100.76.22 150.100.76.23 Address Resolution Protocol

9 9 IP RouterSourceDestination Network Packet Fragmentation

10 10 Version Traffic Class Flow Label Payload Length Next Header Hop Limit Source Address Destination Address 0 4 12 16 24 31 IPv6 Header

11 11 010 Registry ID Provider ID Subscriber ID Subnet ID Interface ID n bitsm bitso bitsp bits(125-m-n-o-p) bits Provider-based Address Format

12 12 Basic header Next header = TCP TCP segment Basic header Next header = routing Routing header Next header = fragment Fragment header Next header = authentication TCP segment Authentication header Next header = TCP Daisy-chain Extension Headers

13 13 Next Header 0 194 Opt Len = 4 Jumbo Payload Length 0 8 16 24 31 Extension Header for Jumbo Packet

14 14 Next Header Reserved Fragment Offset Res M Identification 0 8 16 29 31 Fragment extension Header

15 15 Reserved Strict/Loose Bit Mask Address 1 Address 2 0 8 16 24 31 Next Header Header Length Routing Type = 0 Segment Left... Address 24 Routing Extension Header

16 16 Source Port Destination Port UDP Length UDP Checksum Data 0 16 31 UDP Datagram

17 17 0 0 0 0 0 0 0 0 Protocol = 17 UDP Length Source IP Address Destination IP Address 0 8 16 31 UDP Pseudoheader

18 18 byte stream Send buffer segments Receive buffer byte stream Application ACKs Transmitter Receiver TCP Preview

19 19 Source Port Destination Port Sequence Number Acknowledgement Number Checksum Urgent Pointer Options Padding 0 4 10 16 24 31 U R G A C K P S H R S T S Y N F I N Header Length Reserved Window Size Data TCP Segment

20 20 0 0 0 0 0 0 0 0 Protocol = 6 TCP Segment Length Source IP Address Destination IP Address 0 8 16 31 TCP Pseudoheader


Download ppt "1 Application TCPUDP IPICMPARPRARP Physical network Application TCP/IP Protocol Suite."

Similar presentations


Ads by Google