College 5, Routing, Internet. Host A. Host B. The Network Layer: functions



Similar documents
Introduction to LAN/WAN. Network Layer

CS335 Sample Questions for Exam #2

Computer Networks. Main Functions

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

Routing in packet-switching networks

Chapter 5: Sample Questions, Problems and Solutions Bölüm 5: Örnek Sorular, Problemler ve Çözümleri Örnek Sorular (Sample Questions):

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Introduction to TCP/IP

The Network Layer Functions: Congestion Control

Transport and Network Layer

Network Layer: Network Layer and IP Protocol

The IP Transmission Process. V1.4: Geoff Bennett

ELEC3030 (EL336) Computer Networks. How Networks Differ. Differences that can occur at network layer, which makes internetworking difficult:

Answers to Sample Questions on Network Layer

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

What is CSG150 about? Fundamentals of Computer Networking. Course Outline. Lecture 1 Outline. Guevara Noubir noubir@ccs.neu.

Transport Layer Protocols

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

CS 348: Computer Networks. - IP addressing; 21 st Aug Instructor: Sridhar Iyer IIT Bombay

The Internet. Internet Technologies and Applications

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

Chapter 6. The Network Layer

IP - The Internet Protocol

CSET 4750 Computer Networks and Data Communications (4 semester credit hours) CSET Required IT Required

IP Multicasting. Applications with multiple receivers

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

Chapter 10 Link-State Routing Protocols

Lecture Computer Networks

Final for ECE374 05/06/13 Solution!!

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

Ethernet. Ethernet. Network Devices

Route Discovery Protocols

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

8.2 The Internet Protocol

- Hubs vs. Switches vs. Routers -

O /27 [110/129] via , 00:00:05, Serial0/0/1

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

Introduction to LAN/WAN. Network Layer (part II)

Router and Routing Basics

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Introduction to IP v6

Internet Control Message Protocol (ICMP)

Lecture 2.1 : The Distributed Bellman-Ford Algorithm. Lecture 2.2 : The Destination Sequenced Distance Vector (DSDV) protocol

Network layer: Overview. Network layer functions IP Routing and forwarding

Protocols and Architecture. Protocol Architecture.

UPPER LAYER SWITCHING

IT 3202 Internet Working (New)

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Routing with OSPF. Introduction

Internetworking and Internet-1. Global Addresses

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

Data Communication and Computer Network

Internet Protocol version 4 Part I

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing

Introduction to Metropolitan Area Networks and Wide Area Networks

Chapter 1: Introduction

NETWORK LAYER/INTERNET PROTOCOLS

Module 15: Network Structures

10CS64: COMPUTER NETWORKS - II

Based on Computer Networking, 4 th Edition by Kurose and Ross

Internet Packets. Forwarding Datagrams

PART-A Questions. 9. What are the two parts of message inside the envelope?

Internetworking. Problem: There is more than one network (heterogeneity & scale)

Comparison of RIP, EIGRP, OSPF, IGRP Routing Protocols in Wireless Local Area Network (WLAN) By Using OPNET Simulator Tool - A Practical Approach

RARP: Reverse Address Resolution Protocol

WANs and Routers. M.Sc. Aleksandra Kanevce M.Sc. Aleksandra Bogojeska

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Computer Networks Vs. Distributed Systems

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

The OSI Model: Understanding the Seven Layers of Computer Networks

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Protocol Data Units and Encapsulation

Chapter 14: Distributed Operating Systems

QoS Switching. Two Related Areas to Cover (1) Switched IP Forwarding (2) 802.1Q (Virtual LANs) and 802.1p (GARP/Priorities)

Link-State Routing Protocols

Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP

Architecture and Performance of the Internet

IST 220 Exam 3 Notes Prepared by Dan Veltri

CHAPTER 10 IP MULTICAST

Final Exam. Route Computation: One reason why link state routing is preferable to distance vector style routing.

SSVP SIP School VoIP Professional Certification

DATA COMMUNICATION AND NETWORKS

CHAPTER 3 STATIC ROUTING

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

Chapter 3. Enterprise Campus Network Design

04 Internet Protocol (IP)

Communication Systems Internetworking (Bridges & Co)

Chapter 16: Distributed Operating Systems

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

Slide 1 Introduction cnds@napier 1 Lecture 6 (Network Layer)

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Module 2: Assigning IP Addresses in a Multiple Subnet Network

Transcription:

CSN-s 5/1 College 5, Routing, Internet College stof 1 Inleiding: geschiedenis, OSI model, standaarden, ISOC/IETF/IRTF structuur Secties: 1.2, 1.3, 1.4, 1.5 2 Fysieke laag: Bandbreedte/bitrate Secties: 2.1, 2.2, 2.3, 2.4, 2.6 3 Datalink laag: Error corrrectie, sliding window protocol Secties:, 3.1, 3.2, 3.3, 3.4, 3.7 4 MAC sublaag: ALOHA, CSMA/CD, WLAN, Ethernet, bridges/switches Secties 4.1, 4.2, 4.3.1-4.3.4, 4.4, 4.5.1-4.5.2 5 Internet: Routing Secties: 5.1, 5.2, 5.3, 5.4, 5.5 6 Internet: IP, TCP/IP Secties: 5.5, 6.1, 6.2, 6.3, 6.4 7 Internet Applications Secties: 7.2, 7.3, 7.4, 7.5, 7.6, 7.7.5 Zie: www.cs.uu.nl/docs/vakken/csn CSN-s 5/2 7 Application 6 Presentation 5 Session 4 3 2 1 Physical Host A The OSI Reference Model Application Presentation Session Physical Physical Physical IMP IMP Subnet boundary Host B = data path IMP = interface message processor CSN-s 5/3The Layer: requirements CSN-s 5/4 The Layer: functions Layer requirements: Services should be independent of subnet technology, No knowledge if running on Ethernet, token ring,... transportlayer should be shielded from number, type and topology of subnets present no difference in working with next host compared to other end of world network addresses should be an uniform numbering plan one addressing scheme for entire universe Functions: controls operation of a subnet Routing: tables to know where to forward packets congestion control & handling Internetworking accounting protocol translation fragmentation of large packets CSN-s 5/5 layer playfield CSN-s 5/6 Connection (less)? Internet community: Subnet is unreliable Error correction is higher layers necessary Connectionless service (Datagram Service) Telephone Companies: Reliable network (more or less) Easier for users Quality of Service Connection Oriented (Virtual Circuits)

CSN-s 5/7 Layer Functions CSN-s 5/8 Forwarding / Switching Forwarding / Switching 'pushes' a packet (is a PDU) through a network. Routing: determines what the routes are for packets to follow. Congestion Handling: 'protects' the network when there are too many packets. Contention Handling: handles the packets that content for a 'port'. Addressing: To identify the system we want to reach we need its address (for instance: telephone number, IP address). Segmentation & Reassembly: Packet size may be larger than the DL frame size: So we need to split the packet (at the sender) and reassemble it again (at the receiver). #1 Routing Routing/switching table Forwarding/switching #2 #3 #4 #5 #6 Data-Link Service Data-Link Service PC/host router/switch PC/host CSN-s 5/9 Routing schemes Routing Algorithms requirements: - minimize mean packet delay - maximize total network throughput - reduce number of hops Routing algorithms grouped in two major classes: - Nonadaptive algorithms compute in advance, download -> static routing - Adaptive algorithms monitor traffic, topology changes get info from nearby or from all routers CSN-s 5/10 Routing: Connectionless #1 DL-Service Routing Address X Y Z SAP / Port 3 3 10 Forwarding/switching #10 DL-Service router/switch #n DL-Service CSN-s 5/11 Routing: Connectionless CSN-s 5/12 Routing: Connection Oriented Some properties: Each packet (this is a PDU) follows its own route Each packet contains the full source and destination address (this is part of the PCI) There is no in-sequence delivery guarantee! There is no error correction or retransmission in the network layer. The motto is: Keep the network as simple as possible Put intelligence in the hosts (PC's), because these are cheap and powerful. Properties: First set up a connection, Then transport data over the connection Release the connection All packets on a connection follow the same route The packets have a virtual circuit number in them Routing table indexed by virtual circuit number The motto is: Put the intelligence/complexity in the network Keep the hosts simple

CSN-s 5/13 Routing Function To be able to forward packets, we need a routing table. This table has be be filled. The routing function is responsible for filling the routing table. Filling is possible by gathering, storing and sharing topology information so that routes through a network can be determined. Information must be exchanged between systems to fill a routing table. Special routing protocols exists for this. See routing table in your computer with netstat -r CSN-s 5/14 The optimality Principle If router J is on the optimal path from I to K, then the optimal path J to K is along the same route Suppose there is a better route from J to K, concatenate that after I to J and I have a better route from I to K, so the first one was not optimal -> contradiction All optimal routes from sources to a destination form sink tree CSN-s 5/15 Nonadaptive (static routing) Shortest Path Routing define a metric or a "costfunction" distance, bandwidth, average traffic, communication cost, mean queue length, measured delay, number of hops, use an algorithm like Dijkstra's shortest path algorithm to compute shortest path to A for all nodes (fig 5.6) CSN-s 5/16 Dijkstra s algorithm CSN-s 5/17 Dijkstra s algorithm CSN-s 5/18 Nonadaptive (static routing) Flooding send all packets on all output ports except input port Used in transparent bridges Will replicate all packets indefinitely Limit e.g. with hop counter (decremented with each hop) Number the packets and let router keep a list of received packets Selective flooding: send packets only in the right direction, etc. For broadcast/multicast

CSN-s 5/19 Nonadaptive (static routing) Flow Based Routing take amount of traffic into account use queuing theory to determine the mean packet delay for each line from capacity and average flow From delay for each line find minimum average delay for the subnet CSN-s 5/20 Adaptive routing Two popular dynamic routing algorithms: Distance vector routing Link state routing Distance vector routing maintain a table with best known distance to each destination via which link distance by a metric tables are updated by exchanging information with neighbours old tables are not used in calculating new ones reacts fast to good news, slow on bad news used in RIP (Routing Information ) RFC 1723 CSN-s 5/21 Distance vector routing CSN-s 5/22 Link state routing 1) Discover neighbors and learn their network addresses - send hello packets on all outgoing point to point lines - special case LAN's with several routers, LAN = node CSN-s 5/23 Link state routing 2) measure delay or cost to each of neighbors - use echo packets RTT's - including or not the queue delays, -> oscillations 3) construct packet with the information of 1) and 2) - when building them? periodically, when there is a change 4) send this packet to all routers - not trivial - use flooding with 32 bit seq number and age 5) compute shortest path to all other routers - Dijkstra's algorithm - large tables - limit damage Used in OSPF (Open Shortest Path First) RFC 2178 CSN-s 5/24 Hierarchical Routing Divide network in regions Limits the size of routing tables Router knows Other routers/hosts in own region Destination for other regions Compare to telephone system: area code and subscriber number If necessary more levels

CSN-s 5/25 Mobile Routing Every mobile station has a Home Location Home location keeps track of the location where the station is CSN-s 5/26 Broadcast / multicast routing several types of broadcast routing: 1) send to every destination a packet - waste of resources 2) flooding 3) multi-destination routing - each packet contains list of destinations or bitmap representing destinations 4) use sink tree of router initiating the broadcast 5) reverse path forwarding - forward to all other outgoing lines only packets from a source coming from line, which would be used when sending packets to that source Multicast routing -> See MBONE.