CSE331: Introduction to Networks and Security Lecture 9 Fall 2002.

Slides:



Advertisements
Similar presentations
Network Layer – Routing 2 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Advertisements

COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
CSE331: Introduction to Networks and Security Lecture 8 Fall 2002.
Routing Protocol.
Courtesy: Nick McKeown, Stanford
Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol –Datagram format.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
Routing.
1 Computer Networks Routing Algorithms. 2 IP Packet Delivery Two Processes are required to accomplish IP packet delivery: –Routing discovering and selecting.
CS 4700 / CS 5700 Network Fundamentals Lecture 9: Intra Domain Routing Revised 7/30/13.
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
TCP/IP Protocol Suite1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
CS 453 Computer Networks Lecture 24 IP Routing. See…
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
Interior Gateway Protocols: RIP & OSPF
1 CS 4396 Computer Networks Lab Dynamic Routing Protocols - II OSPF.
Lecture Week 10 Link-State Routing Protocols. Objectives Describe the basic features & concepts of link-state routing protocols. List the benefits and.
Introduction to Routing and Routing Protocols By Ashar Anwar.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
1 Routing Protocols. 2 Distributed Routing Protocols Rtrs exchange control info Use it to calculate forwarding table Two basic types –distance vector.
Routing/Routed Protocols. Remember: A Routed Protocol – defines logical addressing. Most notable example on the test – IP A Routing Protocol – fills the.
Spring 2008CS 3321 Intradomain Routing Outline Algorithms Scalability.
Routing Protocols RIP, OSPF, BGP. A Routing Protocol’s Job Is to Find a “Best” Path between Any Pair of Nodes Routers in a network exchange their routing.
Routing and Routing Protocols Routing Protocols Overview.
Review Routing fundamental W.lilakiatsakun. Review Routing Fundamental VLSM VLSM Route Summarization Route Summarization Static & Dynamic Routing Static.
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
CSE 331: Introduction to Networks and Security Fall 2001 Instructor: Carl A. Gunter Slide Set 3.
Network Layer4-1 Intra-AS Routing r Also known as Interior Gateway Protocols (IGP) r Most common Intra-AS routing protocols: m RIP: Routing Information.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Spring 2006CS 3321 Intradomain Routing Outline Algorithms Scalability.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
4: Network Layer4b-1 OSPF (Open Shortest Path First) r “open”: publicly available r Uses Link State algorithm m LS packet dissemination m Topology map.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
Routing Protocols Brandon Wagner.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Ch 22. Routing Direct and Indirect Delivery.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Link-State Routing Protocols Routing Protocols and Concepts – Chapter 10.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
1 Chapter 14-16a Internet Routing Review. Chapter 14-16: Internet Routing Review 2 Introduction Motivation: Router performance is critical to overall.
Inter-domain Routing Outline Border Gateway Protocol.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
Distance Vector and Link State Routing Pragyaditya Das.
CSE 421 Computer Networks. Network Layer 4-2 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside.
CSE390 – Advanced Computer Networks
Link-State Routing Protocols
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing.
CS 4700 / CS 5700 Network Fundamentals
CS 3700 Networks and Distributed Systems
Link-State Routing Protocols
CS 3700 Networks and Distributed Systems
Link-State Routing Protocols
Communication Networks
EE 122: Intra-domain routing: Distance Vector
Communication Networks
Computer Networks Protocols
Routing.
Presentation transcript:

CSE331: Introduction to Networks and Security Lecture 9 Fall 2002

CSE331 Fall Recap IPv4 Adressing –Hierarchical names –Subnetting Today: –DNS –IP Routing

CSE331 Fall Domain Name System System for mapping mnemonic names for computers into IP addresses. Domain Hierarchy Name Servers Name Resolution zeta.cis.upenn.edu

CSE331 Fall Domain Name Hierarchy edu com gov mil org net cornell … upenn cisco…yahoo nasa … nsf arpa … navy … cis seas wharton …

CSE331 Fall Hierarchy of Name Servers Root Name Server Cornell Name Server Upenn Name Server CIS Name Server SEAS Name Server Wharton Name Server …

CSE331 Fall Records on Name Servers Types –A Host to address mappings –NS Name server address mappings –CNAME Aliases –MX Mail server mappings Class IN for IP addresses

CSE331 Fall Name resolution client Local Name server Root Name server Upenn Name server CIS Name server zeta.cis.upenn.edu zeta.cis.upenn.edu

CSE331 Fall IP Routing Begin by partitioning problem: Intradomain Routing –Inside administrative domains (AD’s) Interdomain Routing –Between administrative domains (e.g., companies) –Exterior Gateway Protocol (EGP) –Border Gateway Protocol (BGP) [Replaced EGP]

CSE331 Fall Intradomain Routing RIP - Routing Information Protocol –Uses distance vector algorithm –Limited to small nets; <15 hops OPSF - Open Shortest Path First –Augmented version of link-state –Augmentation includes authentication, load- balancing, and defined areas

CSE331 Fall Distance Vector Algorithm (RIP) Similar to the Spanning Tree Algorithm –Except that information about distance to ALL nodes is forwarded (not just info. about root.) –Sometimes called Bellman-Ford algorithm Each node constructs a Distance Vector –Contains distances (costs) to reach all other nodes –Initially: Distance to neighbors = 1 Distance to others =  –Routing table reflects node’s beliefs

CSE331 Fall Example Network Graph A B C D E FG Dest. Cost NextHop B 1 B C 1 C D  - E 1 E F 1 F G  - A’s initial information

CSE331 Fall Iteration Steps Each host sends its DV to its neighbors Neighbors can update their distance vectors and routing information accordingly. –As in spanning tree, the nodes ignore worse information –Update any better routes If host changed its tables, send new DV to neighbors After a few iterations, routing information converges

CSE331 Fall Example Iteration Steps A B C D E FG Dest. Cost NextHop B 1 B C 1 C D  - E 1 E F 1 F G  - A’s initial information F sends A its DV. - A discovers that G can be reached in two hops through F C sends A its DV. - A discovers that D can be reached in two hops through C X 2 X C X 2 X F

CSE331 Fall Details Note: No single host has all routing information. When to send update vectors? –When your routing table changes (triggered) –Periodically (“I’m alive!”) Detecting link/node failure –(1) Periodically exchange “I’m alive!” messages. –(2) Timeout mechanism

CSE331 Fall Stability problem Loops may form and stability cannot occur without “counting to infinity”. Timing of events may cause cycles of updates   2 3  2

CSE331 Fall (Partial) Solutions for Stability Pick small value for “infinity” –If “infinity” is 16 then at most 15 hops in network –Distance of 16 considered unreachable Disallow cyclic updates –Called split horizon algorithm –Don’t send updates learned from a neighbor back to that neighbor –Only works for small (e.g. 2-hop) cycles

CSE331 Fall Open Shortest Path First (OSPF) Each node sends a reliable flood of information to all other nodes These Link-State Packets (LSPs) contain –ID of the node that created the packet –List of (neighbor, cost) pairs associated with the source node –Sequence Number (64bits—no wrapping) –Time To Live (ensure old info is eventually removed)

CSE331 Fall Transmission between adjacent routers is made reliable through ACKs & retransmission Source sends to all neighbors Each recipient –Sends to all neighbors except the one it got the message from –Ignores duplicates C A Reliable Flooding X BD

CSE331 Fall OSPF continued Once all of the link-state info has been flooded each node has complete network topology Compute routing information using Dijkstra’s shortest-path algorithm Periodic updates and failure detection are like RIP.

CSE331 Fall OSPF Features Authentication of routing messages –Misconfigured or malicious host could advertise bad route info (i.e. reach anywhere in 0 hops) –(Eventually added to RIP too.) Additional Hierarchy –Partitions domains into areas –Reduces transmission & storage overhead Load Balancing –Multiple routes with same cost –Traffic evenly distributed