CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.

Slides:



Advertisements
Similar presentations
4 IP Address (IPv4)  A unique 32-bit number  Identifies an interface (on a host, on a router, …)  Represented in dotted-quad notation
Advertisements

20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP datagrams Service paradigm, IP datagrams, routing, encapsulation, fragmentation and reassembly.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
Network Layer – IPv4 Dr. Sanjay P. Ahuja, Ph.D.
4: Network Layer4a-1 IP Addressing: introduction r IP address: 32-bit identifier for host, router interface r interface: connection between host, router.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Announcement r Recitation tomorrow on Project 2 r Midterm Survey at the end of this class.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 24 Introduction to Computer Networks.
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.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 23 Introduction to Computer Networks.
CSCI 4550/8556 Computer Networks Comer, Chapter 21: IP Encapsulation, Fragmentation, and Reassembly.
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 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 13.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 15 Introduction to Networks and the Internet.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 19 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.
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
IP Address 0 network host 10 network host 110 networkhost 1110 multicast address A B C D class to to
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 14 Introduction to Networks and the Internet.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Chapter 4 Queuing, Datagrams, and Addressing
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.
Chapter 21: IP Encapsulation, Fragmentation & Reassembly
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
7-1 Last time □ Wireless link-layer ♦ Introduction Wireless hosts, base stations, wireless links ♦ Characteristics of wireless links Signal strength, interference,
1 CSE3213 Computer Network I Network Layer (7.1, 7.3, ) Course page: Slides modified from Alberto Leon-Garcia.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals.
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.
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.
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.
1 Network Layer Lecture 15 Imran Ahmed University of Management & Technology.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 21.
Network Layer4-1 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection RIP, OSPF, BGP IP 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”
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
The Internet Network layer
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 Internetworking: IP Packet Switching Reading: (except Implementation; pp )
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,
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
Routing and the IP v4 Address Space BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Computer Communication Networks
Chapter 5 Network and Transport Layers
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Internet Protocol: Connectionless Datagram Delivery
CS 457 – Lecture 10 Internetworking and IP
Dr. John P. Abraham Professor UTPA
Chapter 20 Network Layer: Internet Protocol
Dr. John P. Abraham Professor UTRGV, EDINBURG, TX
Dr. John P. Abraham Professor UTPA
Overview The Internet (IP) Protocol Datagram format IP fragmentation
Net 323 D: Networks Protocols
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
COMPUTER NETWORKS CS610 Lecture-29 Hammad Khalid Khan.
Data Communication and Computer Networks
NET 323D: Networks Protocols
Presentation transcript:

CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet

CMPE 80N - Introduction to Networks and the Internet 2 Announcements Fourth quiz on Monday, March 1 st. Third HTML discussion session today by Kiran (before class). Summary posted on the Web page. FINAL HTML discussion session by Debasree on Thu 3-4pm in BE 109. Quiz review session on Friday by Kiran in BE 354I from 4:45-5:45. –Practice quiz. In order to schedule a second review session, we will wait to hear from you first.

CMPE 80N - Introduction to Networks and the Internet 3 Networks and IP addressing IP address: –Network part + Host part Network: –Any host can physically be reached by any other host without intervening router –All hosts in the same network have the same network number network consisting of 3 IP networks (for IP addresses starting with 223 (class C), first 24 bits are network address).

CMPE 80N - Introduction to Networks and the Internet 4 Routing Table (revisited) A B E Dest. Net. next router Nhops routing table in A

CMPE 80N - Introduction to Networks and the Internet A B E Datagram from A to B: look up net. address of B find B is on same net. as A link layer will send datagram directly to B inside link-layer frame B and A are directly connected Dest. Net. next router Nhops misc fields data Routing Example 1

CMPE 80N - Introduction to Networks and the Internet A B E Dest. Net. next router Nhops Datagram from A to E: look up network address of E E on different network A, E not directly attached routing table: next hop router to E is link layer sends datagram to router inside link-layer frame datagram arrives at continued….. misc fields data Routing Example 2

CMPE 80N - Introduction to Networks and the Internet A B E Arriving at , destined for look up network address of E E on same network as router’s interface router, E directly attached link layer sends datagram to inside link-layer frame via interface datagram arrives at !!! (hooray!) misc fields data network router Nhops interface Dest. next Routing Example 2 (cont’d)

CMPE 80N - Introduction to Networks and the Internet 8 Internetwork Routing Internetworks are collections on networks. The Internet interconnects autonomous systems (ASs). Hierarchical structure. US backbone European backbone Regional network National network Transcontinental links Transcontinental links

CMPE 80N - Introduction to Networks and the Internet 9 Internetwork Routing 2-level hierarchy: –Routing within each network: interior gateway protocol. –Routing between networks: exterior gateway protocol. Within each network, different routing algorithms can be used. Each network is autonomously managed and independent of others: autonomous system (AS).

CMPE 80N - Introduction to Networks and the Internet 10 Internetwork Routing (cont’d) Typically, packet starts in its LAN. Gateway receives it (broadcast on LAN to “unknown” destination). Gateway sends packet to gateway on the destination network using its routing table.

CMPE 80N - Introduction to Networks and the Internet 11 The Internetworking Layer The Internet as a collection on networks or autonomous systems (ASs). Hierarchical structure. US backbone European backbone Regional network National network Transcontinental links Transcontinental links

CMPE 80N - Introduction to Networks and the Internet 12 The Internet Protocol: IP Glues Internet together. Common network-layer protocol spoken by all Internet participating networks. Best effort datagram service: –No reliability guarantees. –No ordering guarantees.

CMPE 80N - Introduction to Networks and the Internet 13 IP (cont’d) IP is responsible for datagram routing. Important: each datagram is routed independently! –Two different datagrams from same source to same destination can take different routes! –Why? –Implications?

CMPE 80N - Introduction to Networks and the Internet 14 IP (cont’d) IP provides a best effort delivery mechanism –Does not guarantee to prevent duplicate datagrams, delayed and out-of-order delivery, corruption of data or datagram loss Reliable delivery is provided by the transport layer, not the network layer (IP) Network layer (IP) can detect and report errors without actually fixing them

CMPE 80N - Introduction to Networks and the Internet 15 Datagrams Transport layer breaks data streams into datagrams which are transmitted over Internet, possibly being fragmented. When all datagram fragments arrive at destination, reassembled by network layer and delivered to transport layer at destination host.

CMPE 80N - Introduction to Networks and the Internet 16 IP Datagram Format IP datagram consists of header and data (or payload). Header: –20-byte fixed (mandatory) part. –Variable length optional part.

CMPE 80N - Introduction to Networks and the Internet 17 IP Versions IPv4: IP version 4. –Current, predominant version. –32-bit long addresses. IPv6: IP version 6. –Evolution of IPv4. –Longer addresses (16-byte long).

CMPE 80N - Introduction to Networks and the Internet 18 IP(v4) Header Format Header Payload

CMPE 80N - Introduction to Networks and the Internet 19 Encapsulation Revisited Each datagram is encapsulated within a data link layer frame –The whole datagram is placed in the data area of the frame. –The data link layer addresses for source and destination included in the frame header.

CMPE 80N - Introduction to Networks and the Internet 20 Encapsulation - Example

CMPE 80N - Introduction to Networks and the Internet 21 Encapsulation Across Multiple Hops Each router in the path from source to destination: –Decapsulates datagram from incoming frame. –Forwards datagram - determines next hop. –Encapsulate datagram in outgoing frame.

CMPE 80N - Introduction to Networks and the Internet 22 Encapsulation Across Multiple Hops - Example

CMPE 80N - Introduction to Networks and the Internet 23 Maximum Transfer Unit Each data link layer technology specifies the maximum size of a frame. –Called the Maximum Transfer Unit (MTU). Ethernet: 1,500 bytes. Token Ring: 2048 or 4096 bytes. What happens when large packet wants to travel through network with smaller MTU? Maximum payloads (data portion of datagram) range from 48 bytes (ATM cells) to 64Kbytes (IP packets).

CMPE 80N - Introduction to Networks and the Internet 24 MTU (cont’d) A possible solution: –The sender may limit the size of the datagrams to the MTU of the network –What if there are other networks in the path to destination with smaller MTU?

CMPE 80N - Introduction to Networks and the Internet 25 Fragmentation Another solution (used by IP): fragmentation. Gateways break packets into fragments to fit the network’s MTU; each sent as separate datagram. Gateway on the other side have to reassemble fragments into original datagram.

CMPE 80N - Introduction to Networks and the Internet 26 Keeping Track of Fragments Fragments must be numbered so that original data stream can be reconstructed. Define elementary fragment size that can pass through every network. When packet fragmented, all pieces equal to elementary fragment size, except last one (may be smaller). Datagram may contain several fragments.

CMPE 80N - Introduction to Networks and the Internet 27 Fragmentation - Example