Samples of Descriptive Problems CSC/ECE 573, Sections 001 Fall, 2012.

Slides:



Advertisements
Similar presentations
1 IP - The Internet Protocol Relates to Lab 2. A module on the Internet Protocol.
Advertisements

Ch 20. Internet Protocol (IP) Internetworking PHY and data link layers operate locally.
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
CE363 Data Communications & Networking Chapter 7 Network Layer: Internet Protocol.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IPv4 - The Internet Protocol Version 4
IP Fragmentation. MTU Maximum Transmission Unit (MTU) –Largest IP packet a network will accept –Arriving IP packet may be larger IP Packet MTU.
Network Layer – IPv4 Dr. Sanjay P. Ahuja, Ph.D.
MTU Amit Dhamija
1 IP - The Internet Protocol Relates to Lab 2. A module on the Internet Protocol.
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
Configuring a Router with RIP Basic Configuration and Show Commands.
Instructor: Sam Nanavaty TCP/IP protocol. Instructor: Sam Nanavaty Version – Allows for the evolution of the protocol IHL (Internet header length) – Length.
CP476 Internet Computing TCP/IP 1 Lecture 3. TCP / IP Objective: A in-step look at TCP/IP Purposes and operations Header specifications Implementations.
Transport Layer – TCP (Part1) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Network Layer Packet Forwarding IS250 Spring 2010
1 Computer Networks IP: The Internet Protocol. 2 IP is a connection-less, unreliable network layer protocol IP provides best effort services in the sense.
IP Basics. Physical Link Network IP ARP ICMP RoutingTables.
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
© 2009 Pearson Education, Inc. Publishing as Prentice Hall More on TCP/IP Module A Updated January 2009 Raymond Panko’s Business Data Networks and Telecommunications,
Source Port # (16)Destination Port # (16) Sequence Number (32 bits) Acknowledgement Number (32 bits) Hdr Len (4) Flags (6)Window Size (16) Options (if.
IP Basics. IP encapsulates TCP IP packets travel through many different routers (hops) before reaching it’s destination MTU variation at the physical.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
Transport Layer TCP and UDP IS250 Spring 2010
Module A Panko and Panko Business Data Networks and Security, 9 th Edition © 2013 Pearson.
Module 10. Internet Protocol (IP) is the routed protocol of the Internet. IP addressing enables packets to be routed from source to destination using.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
More on TCP/IP Module A Panko’s Business Data Networks and Telecommunications, 6th edition Copyright 2007 Prentice-Hall May only be used by adopters of.
Module A Panko and Panko Business Data Networks and Telecommunications, 8 th Edition © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 5 Internet Protocol (IP) Basics.
Transmission Control Protocol
More on TCP Acknowledgements Sequence Number Field Initial Sequence Number Acknowledgement Number Field.
Dr. John P. Abraham Professor UTPA
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
CS 4396 Computer Networks Lab
Chapter 20 Network Layer: Internet Protocol
Chapter 27 IPv6 Protocol.
1 Computer Communication & Networks Lecture 19 Network Layer: IP and Address Mapping Waleed Ejaz.
1 Figure 3-13: Internet Protocol (IP) IP Addresses and Security  IP address spoofing: Sending a message with a false IP address (Figure 3-17)  Gives.
Internet Protocol Version 4 VersionHeader Length Type of Service Total Length IdentificationFragment Offset Time to LiveProtocolHeader Checksum Source.
1 CSE 5346 Spring Network Simulator Project.
1 Figure 3-5: IP Packet Total Length (16 bits) Identification (16 bits) Header Checksum (16 bits) Time to Live (8 bits) Flags Protocol (8 bits) 1=ICMP,
COMPUTER NETWORKS CS610 Lecture-30 Hammad Khalid Khan.
IP Fragmentation. Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on rcving side,
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
IP Fragmentation. MTU Maximum Transmission Unit (MTU) –Largest IP packet a network will accept –Arriving IP packet may be larger IP Packet MTU.
Introduction to TCP/IP networking
Multiplexing.
IP - The Internet Protocol
7 Network Layer Part IV Computer Networks Tutun Juhana
More on TCP/IP Module A Copyright 2004 Prentice Hall Panko’s Business Data Networking and Telecommunications, 5th edition.
Standards Basics.
IP - The Internet Protocol
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
IP - The Internet Protocol
Dr. John P. Abraham Professor UTPA
Chapter 20 Network Layer: Internet Protocol
Dr. John P. Abraham Professor UTRGV, EDINBURG, TX
IP - The Internet Protocol
Dr. John P. Abraham Professor UTPA
Chapter 20. Network Layer: IP
Net 323 D: Networks Protocols
IP - The Internet Protocol
IPv4 Addressing By, Ishivinder Singh( ) Sharan Patil ( )
IP - The Internet Protocol
NET 323D: Networks Protocols
Presentation transcript:

Samples of Descriptive Problems CSC/ECE 573, Sections 001 Fall, 2012

IP, Fragmentation A 3674 byte IP packet was fragmented by an IP stack for transmission over a link whose MTU and DLC protocol limit the size of the IP packet to 1100 bytes. The original IP packet did not have any IP header options. State what the total length and fragment offset fields of each fragment produced by this stack will be.

IP Header Total Length in bytes (16) Time to Live (8) Options (if any) Version (4) Hdr Len (4) TOS (8) Identification (16 bits)Flags (3)Fragment Offset (13) Source IP Address Destination IP Address Header Checksum (16)Protocol (8) PAD Data Field

Copyright Rudra Dutta, NCSU, Spring, One-hop delivery It is assumed that physical net methods can be used – But physical net capabilities might differ Maximum Transmission Unit (MTU) – Largest IP packet a network will accept – Arriving IP packet may be larger – Solution: break into several packets That is, “fragment” IP Packet MTU

Copyright Rudra Dutta, NCSU, Spring, IP Fragmentation If IP packet is longer than the MTU, the router breaks packet into smaller packets – Called IP fragments – Fragments are still IP packets Only data, header is replicated – Router performs fragmentation IP Packet21 IP Packets Fragmentation MTU 3

Copyright Rudra Dutta, NCSU, Spring, Multiple Fragmentations Original packet may be fragmented multiple times along its route Destination Host Internet Process Source Host Internet Process Fragmentation

Copyright Rudra Dutta, NCSU, Spring, Defragmentation Internet layer process on destination host defragments, restoring the original packet IP Defragmentation only occurs once Destination Host Internet Process Defragmentation Source Host Internet Process

Copyright Rudra Dutta, NCSU, Spring, Fragmentation and IP Fields More Fragments field (1 bit) – 1 if more fragments – 0 if not – Source host internet process sets to 0 – If router fragments, sets More Fragments field in last fragment to 0 – In all other fragments, sets to Original IP PacketFragments

Copyright Rudra Dutta, NCSU, Spring, Identification Field IP packet has a 16-bit Identification field – If router fragments, places the original Identification field value in the Identification field of each fragment 47 Original IP PacketFragments Total Length in bytes (16) Time to Live (8) Version (4) Hdr Len (4) TOS (8) Identification (16 bits)Flags (3)Fragment Offset (13) Header Checksum (16)Protocol (8)

Copyright Rudra Dutta, NCSU, Spring, Identification Field Purpose – Allows receiving host’s internet layer process know what fragments belong to each original packet – Works even if an IP packet is fragmented several times 47 Original IP PacketFragments

Copyright Rudra Dutta, NCSU, Spring, Fragment Offset Field Fragment offset field (13 bits) is used to reorder fragments with the same Identification field Contains the data field’s starting point (in octets) from the start of the data field in the original IP packet Total Length in bytes (16) Version (4) Hdr Len (4) TOS (8) Identification (16 bits)Flags (3)Fragment Offset (13)

Copyright Rudra Dutta, NCSU, Spring, Fragment Offset Field Receiving host’s internet layer process assembles fragments in order of increasing fragment offset field value This works even if fragments arrive out of order! Works even if fragmentation occurs multiple times Fragment Offset Field

IP, Fragmentation Original header is replicated, other than flags – Original has no header, so neither will fragments – 20 byte header on each packet 3654 bytes of data – Must fragment into whole number of 8-bytes – Trick to accommodate flags yet specify fragment length – 1080, 1080, 1080 and 414 bytes of data – Lengths are 20 bytes more in each case – Offset value for first one is zero – Next one? And next? And next?

TCP A TCP packet is seen to have the following bit values in the header: – Bits 106 – 111: Which of the following fields are valid, and which invalid (i.e. the values have no significance) ? – Bytes 0 – 1 – Bytes 2 – 3 – Bytes 4 – 7 – Bytes 8 – 11 – Bytes 16 – 17 – Bytes 18 – 19

TCP Header

TCP Flags 16 FlagDescription URGThe value of the urgent pointer is valid ACKThe value of the acknowledgment number is valid PSHPush the data (pass data to receiver as quickly as possible, later) RSTThe connection must be reset SYNSynchronize the sequence numbers during connection establishment FINThe sender has no more data to transmit

Copyright Rudra Dutta, NCSU, Spring, Three-Way Handshake