Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Slides:



Advertisements
Similar presentations
Ch 20. Internet Protocol (IP) Internetworking PHY and data link layers operate locally.
Advertisements

Chapter 20 Network Layer: Internet Protocol
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.
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.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
Network Layer Packet Forwarding IS250 Spring 2010
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 8 Address Resolution Protocol.
CS335 Networking & Network Administration Tuesday, May 11, 2010.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 7 Internet Protocol Version4.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 9 Internet Control Message.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
Network Layer Last Update Copyright Kenneth M. Chipps Ph.D.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 15 Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv6.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Dr. John P. Abraham Professor UTPA
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
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.
ECE 4110 – Internetwork Programming IP Protocol. 2 * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall Position of IP in TCP/IP Protocol Suite.
Network Layer: Internet Protocol.
Chapter 19 Network Layer Protocols Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Chapter 21 Internetworking Part 2 (Datagram Encapsulation, Transmission, Fragmentation, Reassembly)
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
TCP/IP Protocol Suite 1 Chapter 8 Upon completion you will be able to: Internet Protocol Understand the format and fields of a datagram Understand the.
Chapter 20 Network Layer: Internet Protocol
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 8 Address Resolution Protocol.
TCP/IP Protocol Suite 1 Chapter 8 Upon completion you will be able to: Internet Protocol Understand the format and fields of a datagram Understand the.
CSC 600 Internetworking with TCP/IP Unit 5: IP, IP Routing, and ICMP (ch. 7, ch. 8, ch. 9, ch. 10) Dr. Cheer-Sun Yang Spring 2001.
ICMPv6 Error Message Types Informational Message Types.
1 Computer Communication & Networks Lecture 19 Network Layer: IP and Address Mapping Waleed Ejaz.
Internet Protocol Version 4 VersionHeader Length Type of Service Total Length IdentificationFragment Offset Time to LiveProtocolHeader Checksum Source.
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,
Chapter 9 Introduction To Data-Link Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
COMPUTER NETWORKS CS610 Lecture-30 Hammad Khalid Khan.
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
IP Fragmentation. Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on rcving side,
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 7 Internet Protocol Version4.
IPv4 IPv4 The Internet Protocol version 4 (IPv4) is the delivery mechanism used by the TCP/IP protocols. Datagram Fragmentation Checksum Options Topics.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
20.1 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.
Chapter 9 Introduction To Data-Link Layer
Chapter 9 Introduction To Data-Link Layer 9.# 1
IP Fragmentation. MTU Maximum Transmission Unit (MTU) –Largest IP packet a network will accept –Arriving IP packet may be larger IP Packet MTU.
Chapter 19 Network Layer Protocols
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
7 Network Layer Part IV Computer Networks Tutun Juhana
Internet Protocol Version4
Internet Protocol (IP)
Chapter 20 Network Layer: Internet Protocol
Internet Protocol Version4
Dr. John P. Abraham Professor UTPA
Chapter 9 Introduction To Data-Link Layer 9.# 1
Chapter 20 Network Layer: Internet Protocol
Dr. John P. Abraham Professor UTRGV, EDINBURG, TX
Dr. John P. Abraham Professor UTPA
Chapter 20. Network Layer: IP
Net 323 D: Networks Protocols
Internet Protocol (IP)
ITIS 6167/8167: Network and Information Security
NET 323D: Networks Protocols
Presentation transcript:

Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

20-1 INTERNETWORKING In this section, we discuss internetworking, connecting networks together to make an internetwork or an internet. Need for Network Layer Internet as a Datagram Network Internet as a Connectionless Network Topics discussed in this section: (Study from Book)

Figure 20.1 Links between two hosts

Figure 20.2 Network layer in an internetwork

Figure 20.3 Network layer at the source, router, and destination

Figure 20.3 Network layer at the source, router, and destination (continued)

Switching at the network layer in the Internet uses the datagram approach to packet switching. Note

Communication at the network layer in the Internet is connectionless. Note

20-2 IPv4 The Internet Protocol version 4 (IPv4) is the delivery mechanism used by the TCP/IP protocols. IP Datagram ARP Topics discussed in this section: study from lecure notes

Figure 20.4 Position of IPv4 in TCP/IP protocol suite

Figure 20.5 IPv4 datagram format

IPv4 datagram fields Minimum Header length is 20 bytes without options. With options the maximum can go to 60 bytes Largest data that can be carried in the datagram is – 20 = Version field: will carry the version number which is 4 = (0100) 2 Header length: the length of the header in bytes after dividing it by 4. Min is 20/4 = 5 = (0101) 2 and the max is 60/4 = 15 = (1111 ) 2 Total length: total length of the packet: header + data. Max = bytes Identification, flags, and offset used for fragmentation and reassembly at the destination. Packet can be fragmented at any node between the source and the destination but reassembly is done ONLY at the destination node.

IPv4 datagram fields Time to Live: is used to prevent lost packets from circulating between routers forever. This field is set to certain value depending on the device operating system. Each router will decrement this field by one and check the value. If the value is zero the packet will be dropped. Protocol: contains a code for what is being carried in the data field. Refer to table (20.4) and Figure (20.8) Header checksum: used for checking if there is error in the header only. The checksum is recomputed at each router between the source and the destination.

Fragmentation The Internet Protocol (IP) implements datagram fragmentation, so that packets may be formed that can pass through a physical network with a smaller maximum transmission unit (MTU) than the original datagram size. The Identification field, and Fragment offset field along with Don't Fragment and More Fragment flags in the IP protocol header are used for fragmentation and reassembly of IP datagrams. The value of MTU depends on the physical network protocol. In a case where a router receives a packet larger than the next hop's MTU, it has two options if the protocol is IPv4. Drop the PDU and send an Internet Control Message Protocol (ICMP) message which indicates the condition Packet too Big, or to fragment the IP packet and send it over the link with a smaller MTU.

Figure 20.8 Protocol field and encapsulated data

Table 20.4 Protocol values in Hex

Figure 20.9 Maximum transfer unit (MTU)

Table 20.5 MTUs for some networks

IP RouterSourceDestination Network Fragmentation and Reassembly Fragment at router Fragment at source Reassemble at destination  Fragmentation takes place at the sender and routers  Reassembly takes place at the receiver ONLY.

21.1 Address Resolution Protocol (ARP) At the network level hosts and routers are recognized by their IP address Packets must pass through physical networks to reach hosts and routers. At the physical network, hosts and routers are recognized by their MAC addresses which is local address. ARP is a network layer protocol that translates between Internet IP address and MAC sublayer (layer-2) address

Figure 21.1 ARP operation