ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 21.

Slides:



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

IP datagrams Service paradigm, IP datagrams, routing, encapsulation, fragmentation and reassembly.
Network Layer – IPv4 Dr. Sanjay P. Ahuja, Ph.D.
CSE 461: IP/ICMP and the Network Layer. Next Topic  Focus:  How do we build large networks?  Introduction to the Network layer  Internetworks  Service.
NETWORK LAYER (1) T.Najah AlSubaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
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.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Spring 2003 Week 6 Introduction to Networks and the Internet.
1 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6961:Internet Protocols Quiz 1: Solutions Time: 60 min (strictly enforced) Points: 50 YOUR.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
CSCI 4550/8556 Computer Networks Comer, Chapter 21: IP Encapsulation, Fragmentation, and Reassembly.
Spring 2003CS 4611 Internetworking COS 461 Spring 2003.
CSE331: Introduction to Networks and Security Lecture 7 Fall 2002.
CS335 Networking & Network Administration Tuesday, May 11, 2010.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 15 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 ELEN Lecture 13 LAN Bridges Routers, Switches, Gateways Network layer -IP Reading: 6.7,
Spring 2002CS 4611 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-1 Internetworking: addressing, forwarding, resolution, fragmentation Shivkumar Kalyanaraman Rensselaer.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
1 Kyung Hee University Part 4 : Network Layer. 2 Kyung Hee University Role and Position of Network Layer o Network layer in the Internet model is responsible.
CS 6401 Internet Protocol Outline Introduction to Internet Protocol Header and address formats ICMP Tools.
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.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_a
Fall 2010CMSC 1501 Internetworking. Fall 2010CMSC 1502 Assumptions Data pipe from every machine to every other machine. –Need not be single link (and.
Network Layer Last Update Copyright Kenneth M. Chipps Ph.D.
Chapter 21: IP Encapsulation, Fragmentation & Reassembly
7-1 Last time □ Wireless link-layer ♦ Introduction Wireless hosts, base stations, wireless links ♦ Characteristics of wireless links Signal strength, interference,
Internet Protocol Internetworking Lab 1. Why Internet?
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
Protocols 1 Objective: Build a protocol foundation for Client / Server programming in an Internet Environment Note: RFCs available from
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.
CS 453 Computer Networks Lecture 18 Introduction to Layer 3 Network Layer.
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 13.
Marwan Al-Namari Week 5. Responsible for delivering packets between endpoints over multiple links Physical Link Network Transport Application.
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”
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
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.
IT 210: Web-based IT Fall 2012 Lecture: Network Basics, OSI, & Internet Architecture.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
1 Chapter 4: Internetworking (Internet Protocol) Dr. Rocky K. C. Chang 16 March 2004.
1 Internetworking: IP Packet Switching Reading: (except Implementation; pp )
1 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
COMPUTER NETWORKS CS610 Lecture-30 Hammad Khalid Khan.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Computer Communication Networks
A quick intro to networking
Scaling the Network: The Internet Protocol
COMPUTER NETWORKS CS610 Lecture-45 Hammad Khalid Khan.
Chapter 5 The Network Layer.
Net 431: ADVANCED COMPUTER NETWORKS
CS 457 – Lecture 10 Internetworking and IP
IP - The Internet Protocol
Internetworking Outline Best Effort Service Model
Chapter 20 Network Layer: Internet Protocol
Net 323 D: Networks Protocols
Scaling the Network: The Internet Protocol
Introduction to Networks
Advanced Computer Networks
COMPUTER NETWORKS CS610 Lecture-29 Hammad Khalid Khan.
Anjuman College of Engineering and Technology Department of Computer Science and Engineering VII Sem. TCP and IP (Elective I) Prof. Nazish Khan.
IP - The Internet Protocol
Presentation transcript:

ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 21

ICOM 6115©Manuel Rodriguez-Martinez Lecture Objectives Introduction to Global Internetworking –Layer 3 – The Network Layer Store-and-Forward Service –IP Protocol IP addressing ARP, ICMP –Routing

ICOM 6115©Manuel Rodriguez-Martinez Internetworking What is this? –Process of connecting independent and possibly heterogeneous LANs into a larger network Again: Independent LANs –Each LAN might have a different Layer 2 Ethernet Token Ring b What Layer takes care of this service? –Network Layer (Layer 3)

ICOM 6115©Manuel Rodriguez-Martinez Example internetwork Network 3 (FDDI) H1H2R1 Network 1 (Ethernet) H3H4R2 Network 2 (802.11b) H5H6H7H8R3R4 Network 4 (Ethernet) Network 5 (Point-to-Point)

ICOM 6115©Manuel Rodriguez-Martinez Layer 3 and LAN Integration Multiple, heterogeneous LANs can become Interoperable via IP (Layer 3 example)

ICOM 6115©Manuel Rodriguez-Martinez Layer 3: Packet Switching Layer 3 deals with getting packets forwarded from source to destination –Across LANs Layer 2 was switching within a LAN Routers are computers that provide service of packet forwarding –Must understand the topology of internet –Forwarding must be fast –Routing should produce accurate forwarding tables

ICOM 6115©Manuel Rodriguez-Martinez Store-and-Forward Service Packets are send by end-host to routers Routers –Store each packet until fully arrives –Make checksum calculations –Lookup forwarding tables to determine next hop A router or final destination host –Forward the packet along the line (port) of next hop

ICOM 6115©Manuel Rodriguez-Martinez Store-and-Forward Packet Switching Routers form a subnet of forwarding elements

ICOM 6115©Manuel Rodriguez-Martinez Layer 3 Service Principles Layer 3 will provide Layer 4 (Transport Layer) packet forwarding services –Connectionless –Connection-oriented Driving Principles –Should independent of router technology –Transparency from routers for Layer 4 Type, number and topology –Uniform addressing scheme across network LANs and WANs

ICOM 6115©Manuel Rodriguez-Martinez Connectionless Service Advocated by Internet community –IP Protocol Data is broken into packets, that are moved independently over the network –Datagram –Each one can take a different path Most often they all take the same path Each router moves the datagram along path from src to dst

ICOM 6115©Manuel Rodriguez-Martinez Route Information Routers typically store routes to networks as the router next router to get there

ICOM 6115©Manuel Rodriguez-Martinez Example Forwarding Tables A- BB CC DB EB FC AA BA C- DD EE FE AC BD CC DD E- FF A’s Forwarding Table C’s Forwarding Table E’s Forwarding Table

ICOM 6115©Manuel Rodriguez-Martinez Connection-Oriented Service Advocated by Telephone companies –ATM Protocol Data is broken into packets, that are moved along a virtual circuit (VC) over the network –Circuit must be first set up –Each packet takes the same path Driven by performance guarantees –Bounds on delays for packet arrival

ICOM 6115©Manuel Rodriguez-Martinez Virtual Circuit based network

ICOM 6115©Manuel Rodriguez-Martinez IP: Network Layer on Internet

ICOM 6115©Manuel Rodriguez-Martinez IP features Connectionless Best effort delivery –Every effort is made to deliver datagram No guarantee is made –Can be lost or delivered out of order –Simplicity –Unreliable Need transport to add reliability (TCP) Runs over “anything” –Support many Layer 2 protocols Many invented after IP (e.g b)

ICOM 6115©Manuel Rodriguez-Martinez IP v4 Packet Format Variable length 65KB Max Length

ICOM 6115©Manuel Rodriguez-Martinez Some Issues Header length is measured in terms of 32- bit word Datagram length is measured in terms of number of bytes –Max size is 64KB Fragments indicates offset in terms of 8- byte chunks –Only have 13 bits to expresses offset

ICOM 6115©Manuel Rodriguez-Martinez Fragmentation and Reassembly Packets might get fragmented as they travel over the net Why? –Layer 2 might have different max frame size Example: –10Mbps Ethernet – max frame size is 1500 bytes –100Mbps FDDI – max frame size is 4500 bytes –56Kbps PPP – max frame size is 532 bytes –Packet might get cut to make it fit into Layer 2 frame

ICOM 6115©Manuel Rodriguez-Martinez Example of Fragmentation Packet gets broken along the way to make it fit Layer 2 frame. It must be reassembled by end-receiver

ICOM 6115©Manuel Rodriguez-Martinez Network MTU Each network has a maximum transmission unit (MTU) –Biggest IP datagram that be fit into a frame IP datagram can have variable size Good idea is to keep it under MTU –Avoid fragmentation whenever possible Let it happen on a case by case basis (be flexible) –Send as much data as possible in each frame Good use of bandwidth

ICOM 6115©Manuel Rodriguez-Martinez Reassembly Routers can fragment packet –They won’t reassemble it –Each fragment gets forwarded independently End-receiver deals with the problem of reassembling the packet –Putting pieces back in order –Lost fragment causes retransmission of entire packet!

ICOM 6115©Manuel Rodriguez-Martinez Control Information for reassembly Each packet carries an identification number –Sequence number Fragments are identified as parts of packet with given id number –Fragment identifies offset bytes for a packet –Example: offset for individual bytes Offset 0 of packet Offset 512 of packet Offset 1024 of packet –In reality, offset counts groups of 8-bytes

ICOM 6115©Manuel Rodriguez-Martinez IP Addresses Unique, Global identifier for a network card –Machines with multiple card get multiple IPs e.g. routers IP address is a 32 bit number –For simplicity, expressed in dotted-decimal notation e.g Bits 32

ICOM 6115©Manuel Rodriguez-Martinez What are benefits of IP Addresses? Hierarchical structure –Provide way to identify network and host Ethernet are flat –Example: Host 20 Network Routers need only to keep information about network –subnets

ICOM 6115©Manuel Rodriguez-Martinez IP Address Formats

ICOM 6115©Manuel Rodriguez-Martinez Fragmentation in packets Start of header Id = X 0 Rest of Header 1400 data bytes Offset=0 Start of header Id = X 1 Rest of Header 512 data bytes Offset=0 Start of header Id = X 1 Rest of Header 512 data bytes 512 Offset Start of header Id = X 0 Rest of Header 512 data bytes 1024 Offset Fragmentation Fragment 1 Fragment 2Fragment 3