CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 23 Introduction to Computer Networks.

Slides:



Advertisements
Similar presentations
Quality of Service Requirements
Advertisements

The Network Layer Chapter 5. Network Layer Design Issues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation of.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 19 Introduction to Computer Networks.
The Network Layer Functions: Congestion Control
Review: Routing algorithms Distance Vector algorithm. –What information is maintained in each router? –How to distribute the global network information?
1 Quality of Service Requirements Techniques for Achieving Good Quality of Service Integrated Services Differentiated Services Label Switching and MPLS.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
Two Types of Fragmentation
Lecture 2 Protocol Layers CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 24 Introduction to Computer Networks.
Internetworking Introduction How Networks Differ How Networks Can Be Connected Concatenated Virtual Circuits Connectionless Internetworking Tunneling Fragmentation.
Internetworking Different networks –Different bit rates –Frame lengths –Protocols.
School of Information Technologies Internet Multicasting NETS3303/3603 Week 10.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Spring 2003 Week 6 Introduction to Networks and the Internet.
COS 420 Day 18. Agenda Group Project Discussion Program Requirements Rejected Resubmit by Friday Noon Protocol Definition Due April 12 Assignment 3 Due.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 15 Introduction to Networks and the Internet.
1 ELEN Lecture 13 LAN Bridges Routers, Switches, Gateways Network layer -IP Reading: 6.7,
CMPE 150 – Winter 2009 Lecture 11 February 12, 2009 P.E. Mantey.
CMPE Introduction to Computer Networks
IP Routing: an Introduction. Quiz
MULTICASTING Network Security.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
1 CSCI 6433 Internet Protocols Class 7 Dave Roberts.
Module 10. Internet Protocol (IP) is the routed protocol of the Internet. IP addressing enables packets to be routed from source to destination using.
1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Multicast Routing Protocols NETE0514 Presented by Dr.Apichan Kanjanavapastit.
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
10/8/2015CST Computer Networks1 IP Routing CST 415.
CSC 600 Internetworking with TCP/IP Unit 8: IP Multicasting (Ch. 17) Dr. Cheer-Sun Yang Spring 2001.
Multicast Routing Algorithms n Multicast routing n Flooding and Spanning Tree n Forward Shortest Path algorithm n Reversed Path Forwarding (RPF) algorithms.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals.
Network and Communications Ju Wang Chapter 5 Routing Algorithm Adopted from Choi’s notes Virginia Commonwealth University.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
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.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
The Network Layer Chapter 5 1/4/2016www.ishuchita.com1.
1 Addressing, Internetworking. 2 Collection of Subnetworks The Internet is an interconnected collection of many networks.
Multicast Communications
Routing and the IP v4 Address Space BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
Assignment 1  Chapter 1:  Question 11  Question 13  Question 14  Question 33  Question 34  Chapter 2:  Question 6  Question 39  Chapter 3: 
The Network Layer UNIT-4 snistforum.com. Network Layer Design Issues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation.
The Network Layer Chapter 5 Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education- Prentice Hall, 2011.
Chapter 9 Introduction To Data-Link Layer 9.# 1
Chapter 5 Network and Transport Layers
Chapter 4 Introduction to Network Layer
Chapter 5 Network and Transport Layers
Scaling the Network: The Internet Protocol
THE NETWORK LAYER.
Chapter 5 The Network Layer.
Chapter 4 Introduction to Network Layer
PRESENTATION COMPUTER NETWORKS
Scaling the Network: The Internet Protocol
IP Multicast COSC /5/2019.
EE 122: Lecture 13 (IP Multicast Routing)
Virtual LAN (VLAN).
Presentation transcript:

CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 23 Introduction to Computer Networks

CMPE 150- Introduction to Computer Networks 2 Announcements Homework 4 due on Wed., No class on Friday, We will have a “real” lab next week.

CMPE 150- Introduction to Computer Networks 3 Last Class… Routing (cont’d). Finished DV. Link State. Hierarchical routing.

CMPE 150- Introduction to Computer Networks 4 Today Finish routing. –Many-to-many routing. Broadcast. Multicast. Internetworking.

CMPE 150- Introduction to Computer Networks 5 Many-to-Many Routing Support many-to-many communication. Example applications: multi-point data distribution, multi-party teleconferencing.

CMPE 150- Introduction to Computer Networks 6 Broadcasting Send to ALL destinations. Several possible routing mechanisms to broadcasting. Simplistic approach: send separate packet to each destination. –Simple but expensive. –Source needs to know about all destinations. Flooding: –May generate too many duplicates (depending on node connectivity).

CMPE 150- Introduction to Computer Networks 7 Multidestination Routing Packet contains list of destinations. Router checks destinations and determines on which interfaces it will forward packet. –Router generates new copy of packet for each output line and includes in packet only the appropriate set of destinations. –Eventually, packets will only carry 1 destination.

CMPE 150- Introduction to Computer Networks 8 Spanning Tree Routing Use spanning tree (sink tree) rooted at broadcast initiator. No need for destination list. Each on spanning tree forwards packets on all lines on the spanning tree (except the one the packet arrived on). Efficient but needs to generate the spanning tree and routers must have that information.

CMPE 150- Introduction to Computer Networks 9 Reverse Path Forwarding Routers don’t have to know spanning tree. Router checks whether broadcast packet arrived on interface used to send packets to source of broadcast. –If so, it’s likely that it followed best route and thus not a duplicate; router forwards packet on all lines. –If not, packet discarded as likely duplicate.

CMPE 150- Introduction to Computer Networks 10 Broadcast Routing Reverse path forwarding. (a) A subnet. (b) a Sink tree. (c) The tree built by reverse path forwarding.

CMPE 150- Introduction to Computer Networks 11 Multicasting Special form of broadcasting: –Instead of sending messages to all nodes, send messages to a group of nodes. Multicast group management: –Creating, deleting, joining, leaving group. –Group management protocols communicate group membership to appropriate routers.

CMPE 150- Introduction to Computer Networks 12 Multicast Routing Each router computes spanning tree covering all other participating routers. –Tree is pruned by removing branches that do not contain any group members. 1,

CMPE 150- Introduction to Computer Networks 13 Shared Tree Multicasting Source-rooted tree approaches don’t scale well! –1 tree per source, per group! –Routers must keep state for m*n trees, where m is number of sources in a group and n is number of groups. Core-based trees: single tree per group. –Host unicast message to core, where message is multicast along shared tree. –Routes may not be optimal for all sources. –State/storage savings in routers.

CMPE 150- Introduction to Computer Networks 14 Internetworking

CMPE 150- Introduction to Computer Networks 15 Internetworking What is it? –Connecting networks together forming a single “internet”.

CMPE 150- Introduction to Computer Networks 16 Connecting Networks A collection of interconnected networks.

CMPE 150- Introduction to Computer Networks 17 How Networks Differ 5-43

CMPE 150- Introduction to Computer Networks 18 How Networks Can Be Connected (a) Two Ethernets connected by a switch. (b) Two Ethernets connected by routers.

CMPE 150- Introduction to Computer Networks 19 How to Internet? Connection-oriented versus connectionless internetworking. Connection oriented internetworking: –Based on VC concatenation. Connectionless internetworking follows the datagram model.

CMPE 150- Introduction to Computer Networks 20 Concatenated Virtual Circuits. Builds VC crossing the different networks.. Use of gateways to perform necessary conversions. Gateway

CMPE 150- Introduction to Computer Networks 21 Connectionless Internetworking. Follows datagram model.. Packets from Host X to Host Y may follow different routes.. Gateways make routing decisions and perform translations.

CMPE 150- Introduction to Computer Networks 22 Translating versus “Gluing” Translation: converting between different protocols. Hard! Alternative: “gluing”. –I.e., using the same network layer protocol everywhere. –That’s what IP does!

CMPE 150- Introduction to Computer Networks 23 Tunneling Interconnecting source and destination on separate networks but of the same type. S D

CMPE 150- Introduction to Computer Networks 24 Tunneling Analogy

CMPE 150- Introduction to Computer Networks 25 More Tunneling …

CMPE 150- Introduction to Computer Networks 26 Internetwork Routing: Example (a) An internetwork. (b) A graph of the internetwork.

CMPE 150- Introduction to Computer Networks 27 Internetwork Routing Inherently hierarchical. –Routing within each network: interior gateway protocol (IGP). –Routing between networks: exterior gateway protocol (EGP). Within each network, different routing algorithms can be used. Each network is autonomously managed and independent of others: autonomous system (AS).

CMPE 150- Introduction to Computer Networks 28 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. If it can use the packet’s native protocol, sends packet directly. Otherwise, tunnels it.

CMPE 150- Introduction to Computer Networks 29 Fragmentation Happens when internetworking. Network-specific maximum packet size. –Width of TDM slot. –OS buffer limitations. –Protocol (number of bits in packet length field). Maximum payloads range from 48 bytes (ATM cells) to 64Kbytes (IP packets).

CMPE 150- Introduction to Computer Networks 30 Problem What happens when large packet wants to travel through network with smaller maximum packet size? Fragmentation. Gateways break packets into fragments; each sent as separate packet. Gateway on the other side have to reassemble fragments into original packet. 2 kinds of fragmentation: transparent and non-transparent.

CMPE 150- Introduction to Computer Networks 31 Types of Fragmentation (a) Transparent fragmentation. (b) Nontransparent fragmentation.

CMPE 150- Introduction to Computer Networks 32 Transparent Fragmentation Small-packet network transparent to other subsequent networks. Fragments of a packet addressed to the same exit gateway, where packet is reassembled. –OK for concatenated VC internetworking. Subsequent networks are not aware fragmentation occurred. ATM networks (through special hardware) provide transparent fragmentation.

CMPE 150- Introduction to Computer Networks 33 Problems with Transparent Fragmentation Exit gateway must know when it received all the pieces. –Fragment counter or “end of packet” bit. Some performance penalty but requiring all fragments to go through same gateway. May have to repeatedly fragment and reassemble through series of small-packet networks.

CMPE 150- Introduction to Computer Networks 34 Non-Transparent Fragmentation Only reassemble at destination host. –Each fragment becomes a separate packet. –Thus routed independently. Problems: –Hosts must reassemble. –Every fragment must carry header until it reaches destination host.

CMPE 150- Introduction to Computer Networks 35 Keeping Track of Fragments Fragments must be numbered so that original data stream can be reconstructed. Tree-structured numbering scheme: –Packet 0 generates fragments 0.0, 0.1, 0.2, … –If these fragments need to be fragmented later on, then 0.0.0, 0.0.1, …, 0.1.0, 0.1.1, … –But, too much overhead in terms of number of fields needed. –Also, if fragments are lost, retransmissions can take alternate routes and get fragmented differently.

CMPE 150- Introduction to Computer Networks 36 Keeping Track of Fragments (Cont’d) Another way is to 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). Packet may contain several fragments.

CMPE 150- Introduction to Computer Networks 37 Fragmentation: Example Fragmentation when the elementary data size is 1 byte. (a) Original packet, containing 10 data bytes. (b) Fragments after passing through a network with maximum packet size of 8 payload bytes plus header. (c) Fragments after passing through a size 5 gateway.

CMPE 150- Introduction to Computer Networks 38 Keeping Track of Fragments Header contains packet number, number of first fragment in the packet, and last-fragment bit A B C D E F G H I J A B C D E F G H I J Packet number Number of first fragment Last-fragment bit (a) Original packet with 10 data bytes. (b) Fragments after passing through network with maximum packet size = 8 bytes. 1 byte

CMPE 150- Introduction to Computer Networks 39 The Internet