COMPUTER NETWORKS CS610 Lecture-29 Hammad Khalid Khan.

Slides:



Advertisements
Similar presentations
IP datagrams Service paradigm, IP datagrams, routing, encapsulation, fragmentation and reassembly.
Advertisements

CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
CS335 Networking & Network Administration Tuesday, May 11, 2010.
CSCI 4550/8556 Computer Networks Comer, Chapter 20: IP Datagrams and Datagram Forwarding.
Chapter 19 Binding Protocol Addresses (ARP) Chapter 20 IP Datagrams and Datagram Forwarding.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
1 Version 3.0 Module 10 Routing Fundamentals and Subnetting.
IP Routing, Format, Fragmentation Chapters 20-21, 23.
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.
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 4 Routing Fundamentals and Subnets/ TCP/IP Transport and Application Layers.
FALL, 2005CSI Part 2.3 Internetworking & Addressing (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution Robert L. Probert, SITE,
10/8/2015CST Computer Networks1 IP Routing CST 415.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 21.
Chapter 20 IP Datagrams and Datagram Forwarding. Connectionless vs Connection-oriented Service TCP/IP’s fundamental delivery service is connectionless.
Chapter 19 Binding Protocol Addresses (ARP) A frame transmitted across a physical network must contain the hardware address of the destination. Before.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Internet Protocol: Routing IP Datagrams Chapter 8.
1 IP Datagrams And Datagram Forwarding. 2 Motivation For IP Packets Because it can connect heterogeneous networks, a router cannot transmit a copy of.
Routing Fundamentals and Subnets Introduction to IT and Communications Technology CE
COMPUTER NETWORKS CS610 Lecture-30 Hammad Khalid Khan.
COMPUTER NETWORKS CS610 Lecture-32 Hammad Khalid Khan.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
Datagram Forwarding.
ROUTING.
COMPUTER NETWORKS CS610 Lecture-15 Hammad Khalid Khan.
COMPUTER NETWORKS CS610 Lecture-27 Hammad Khalid Khan.
A quick intro to networking
Network Fundamentals – Chapter 5
Chapter 4 Introduction to Network Layer
COMPUTER NETWORKS CS610 Lecture-28 Hammad Khalid Khan.
Scaling the Network: The Internet Protocol
COMPUTER NETWORKS CS610 Lecture-45 Hammad Khalid Khan.
COMPUTER NETWORKS CS610 Lecture-33 Hammad Khalid Khan.
Computer Networks and Internets, 5e By Douglas E. Comer
CS4470 Computer Networking Protocols
Internet Protocol: Connectionless Datagram Delivery
Chapter 6: Network Layer
Network Fundamentals – Chapter 5
Internetworking & Address Resolution
Net 323: NETWORK Protocols
CS 457 – Lecture 10 Internetworking and IP
Chapter 4 Introduction to Network Layer
Dr. John P. Abraham Professor UTPA
Network Fundamentals – Chapter 5
Network Fundamentals – Chapter 5
Network Fundamentals – Chapter 5
Dr. John P. Abraham Professor UTRGV, EDINBURG, TX
Network Fundamentals – Chapter 5
Dr. John P. Abraham Professor UTPA
Routing Fundamentals and Subnets
Network Fundamentals – Chapter 5
COMPUTER NETWORKS CS610 Lecture-35 Hammad Khalid Khan.
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Network Fundamentals – Chapter 5
Network Fundamentals – Chapter 5
CS4470 Computer Networking Protocols
Scaling the Network: The Internet Protocol
Network Fundamentals – Chapter 5
Network Fundamentals – Chapter 5
ITIS 6167/8167: Network and Information Security
UDP Principles (Chapter 24) (User Datagram Protocol)
Review of Internet Protocols Network Layer
Network Fundamentals – Chapter 5
Presentation transcript:

COMPUTER NETWORKS CS610 Lecture-29 Hammad Khalid Khan

Review Lecture 28 Address Resolution Protocol (ARP) ARP Message Delivery & Format Sending an ARP Message Identifying ARP Responses Caching ARP Responses Processing an Incoming ARP Message Layering, Address Resolution and Protocol Addresses

IP Datagrams and Datagram Forwarding Chapter 20 IP Datagrams and Datagram Forwarding

Introduction Fundamental Internet communication service Format of packets Processing of packets by Routers Forwarding Delivery

Connectionless service End-to-end delivery service is connectionless Extension of LAN abstraction Universal addressing Data delivered in packets (frames), each with a header Combines collection of physical networks into single, virtual network.

Connectionless service Transport protocols use this connectionless service to provide: Connectionless data delivery (UDP) and Connection-oriented data delivery (TCP)

Virtual Packets Packets serve same purpose in internet as frames on LAN. Each has a header. Routers (formerly gateways) forward between physical networks.

Virtual Packets Packets have a uniform, hardware-independent format. Includes header and data. Can't use format from any particular hardware. Encapsulated in hardware frames for delivery across each physical network.

IP Datagram Format Formally, the unit of IP data delivery is called a Datagram. Includes header area and data area.

IP Datagram Size Datagrams can have different sizes: Header area usually fixed (20 octets) but can have options. Data area can contain between 1 octet and 65,535 octets (216 - 1). Usually, data area is much larger than header.

Forwarding Datagrams Header contains all information needed to deliver datagram to the destination computer. Destination address Source address Identifier Other delivery information Router examines header of each datagram and forwards datagram along path to destination.

Routing Table For efficiency, information about forwarding is stored in a routing table. Initialized at system initialization. Must be updated as network topology changes. Contains list of destination networks and next hop for each destination.

Routing Table

Routing Tables & Address Masks In practice, additional information is kept in routing table. Destination stored as network address. Next hop stored as IP address of router. Address mask defines how many bits of address are in prefix. Prefix defines how much of address used to identify network. E.g., class A mask is 255.0.0.0. Used for subnetting.

Routing Tables & Address Masks

Address Masks To identify destination network, apply address mask to destination address and compare to network address in routing table. Can use Boolean and if ((Mask[i] & D) == Dest[i]) forward to NextHop[i].

Address Masks

Forwarding, Destination Address and Next-hop Destination address in IP datagram is always ultimate destination. Router looks up next-hop address and forwards datagram. Network interface layer takes two parameters: IP datagram Next-hop address Next-hop address never appears in IP datagram.

Best-Effort Delivery IP provides service equivalent to LAN. Does not guarantee to prevent: Duplicate datagrams Delayed or out-of-order delivery Corruption of data Datagram loss

Best-Effort Delivery Reliable delivery provided by Transport layer Network layer - IP - can detect and report errors without actually fixing them. Network layer focuses on datagram delivery. Application layer not is interested in differentiating among delivery problems at intermediate routers.

Summary IP Datagram and Datagram Forwarding Connectionless service Virtual Packets IP Datagram Format and Size Routing Table and Address Masks Best Effort Delivery