Lecture 18 Internet Routing: The goal is to find any route that is loop free- Global optimization is a distant dream depending on economic and political.

Slides:



Advertisements
Similar presentations
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_b Subnetting,Supernetting, CIDR IPv6 Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Advertisements

Courtesy: Nick McKeown, Stanford
Computer Networks: Global Internet Global Internet.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
CS 164: Global Internet Slide Set In this set... More about subnets Classless Inter Domain Routing (CIDR) Border Gateway Protocol (BGP) Areas with.
Spring 2003CS 4611 Routing Outline Algorithms Scalability.
CSE331: Introduction to Networks and Security Lecture 9 Fall 2002.
Routing So how does the network layer do its business?
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
Unicast Routing Protocols: RIP, OSPF, and BGP
1 ELEN 602 Lecture 19 Routing. 2 Overview Forwarding vs Routing –forwarding: to select an output port based on destination address and routing table –routing:
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: EGP, BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
Ion Stoica October 2, 2002 (* this presentation is based on Lakshmi Subramanian’s slides) EE 122: Inter-domain routing – Border Gateway Protocol (BGP)
Announcement r Project 2 Extension ? m Previous grade allocation: Projects 40% –Web client/server7% –TCP stack21% –IP routing12% Midterm 20% Final 20%
Routing in Wired Nets CS 215 W 01 - Mario Gerla. Routing Principles Routing: delivering a packet to its destination on the best possible path Routing.
1 Autonomous Systems An autonomous system is a region of the Internet that is administered by a single entity. Examples of autonomous regions are: UVA’s.
Spring 2002CS 4611 Routing Outline Algorithms Scalability.
Border Gateway Protocol(BGP) L.Subramanian 23 rd October, 2001.
1 CIDR Classless Inter-Domain Routing Rizwan Rehman, CCS, DU.
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
CSS 432: Subnetting, CIDR, and Global Internet
Inter-domain Routing Outline Border Gateway Protocol.
INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is.
Network Layer Moving datagrams. How do it know? Tom-Tom.
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.
Dr. John P. Abraham Professor University of Texas Pan American Internet Routing and Routing Protocols.
Exam 2 Review Networking CS 3470, Section 1 Sarah Diesburg.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
1 Routing Outline Algorithms Scalability. 2 Overview Forwarding vs Routing –forwarding: to select an output port based on destination address and routing.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Introduction to BGP.
1 Introduction to Computer Networks Ilam University By: Dr. Mozafar Bag-Mohammadi Routing.
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
4: Network Layer4a-1 Hierarchical Routing r aggregate routers into regions, “autonomous systems” (AS) r routers in same AS run same routing protocol m.
IP Addressing & Subnetting
1 Routing Distance Vector Routing Link State Routing Hierarchical Routing Routing for Mobile Hosts.
1 Introduction to Computer Networks University of Ilam By: Dr. Mozafar Bag-Mohammadi Routing.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Routing in the Internet The Global Internet consists of Autonomous Systems (AS) interconnected with eachother: Stub AS: small corporation Multihomed AS:
David Wetherall Professor of Computer Science & Engineering Introduction to Computer Networks Hierarchical Routing (§5.2.6)
Network Layer4-1 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection RIP, OSPF, BGP IP protocol.
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.
23-Dec-154/598N: Computer Networks Overview 4.2: Routing Forwarding vs Routing –forwarding: to select an output port based on destination address and routing.
An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.
Spring 2010CS 3321 Interdomain Routing. Spring 2010CS 3322 How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Ch 22. Routing Direct and Indirect Delivery.
Spring 2006CS 3321 Interdomain Routing. Spring 2006CS 3322 How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical.
1 Lecture, November 20, 2002 Message Delivery to Processes Internet Addressing Address resolution protocol (ARP) Dynamic host reconfiguration protocol.
1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is referred.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Spring 2008CPE Computer Networks1 Routing: Part II Outline Algorithms Scalability Reading: Section 4.3.
Inter-domain Routing Outline Border Gateway Protocol.
1. 2  An autonomous system is a region of the Internet that is administered by a single entity.  Examples of autonomous regions are:  UVA’s campus.
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.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Autonomous Systems An autonomous system is a region of the Internet that is administered by a single entity. Examples of autonomous regions are: UVA’s.
Chapter 14 Routing Protocols (RIP, OSPF, and BGP)
Networking CS 3470, Section 1 Sarah Diesburg
COMP 3270 Computer Networks
Intra-Domain Routing Jacob Strauss September 14, 2006.
Net 323 D: Networks Protocols
شبکه هاي کامپيوتري فصل پنجم: لايه شبکه (NetworkLayer)
Net 323 D: Networks Protocols
Autonomous Systems An autonomous system is a region of the Internet that is administered by a single entity. Examples of autonomous regions are: UVA’s.
Inter-domain Routing Outline Homework #3 solutions
IP Addressing Introductory material
IP Addressing & Subnetting
Presentation transcript:

Lecture 18 Internet Routing: The goal is to find any route that is loop free- Global optimization is a distant dream depending on economic and political drivers Homework: , 37-45

Distance-vector routing: A’s routing table just after link A-E failure DCNH B  B C  C D  C E  - F1F G  F

DestCostNH B  B C  C D  C E  - F1F G  F Dest.CostNHop A  A B  A C  A D  G E2A G  G A F Dest.CostNHop A  A B  A C  A D  G E  - G  G Dest.CostNHop A  F B  F or C C  D D  D E3F F  F G Dest.CostNHop A  F B  F C  D D  D E3F F  F Dest.CostNHop A  F B  F C  D D  D E  - F  F What happens when G advertises its table to D? How does D get the message that A-E has failed?

Loops -A A advertises [E,  ] to B and B advertises [E, 2] to A (they cross intransit) A advertises [E,3] and B advertises [E,  ] etc. B resets [E, , -] (since A is next hop) A updates [E, 3, B] since 3<  B updates [E, 4,A] and A resets [E, , -] since B is next hop etc. Split horizon: B should not advertise a route [E, 2] it got from A (in the first step )

Loops -B A advertises [E,  ] to B & C Advertisement to C is delayed B may advertise [E,  ] to C C advertises [E, 2] to B A’s advertisement [E,  ] arrives at C B advertises [E,3] to A C advertises [E,  ] to B A advertises [E,4] to C B advertises [E,  ] to A C advertises [E,5] to B B resets [E, , -] since A is next hop C will not update (why) B updates [E, , C] since 3<  C updates [E, , -] since A is next hop A updates [E,4, B] since 4<  B updates [E, , -] since C is next hop C updates [E, 5, A] since 5<  A updates [E, , -] since B is next hop B updates [E, 6, A] since 6<  Split horizon will not solve this problem

Link State Routing ABCD A B C D You have a global view: routing table is spanning tree as seen from root node

The Internet circa 1990: A hierarchical collection of autonomous systems (AS)

Today’s multiple backbone Stub AS Multi-homed AS Transit AS

Inefficiency of IP address classes If you have 257 end users, you need class B and then you have 16K addresses. We need finer distinctions. Two issues: –How do you give different network addresses to physical networks within 1 class A, B or C network--- subnetting –How do you aggregate networks within an domain to simplifier routing outside the domain--supernetting

Forwarding Table of R1 Subnet NumberSubnet MaskNextHop Interface Interface R2

More Subnetting You can break the same physical network into subnets—forcing hosts to speak through a router Each host has it’s own subnet in the new engineering network Subnet mask=IP address---non-contiguous 1’s and 0’s

Classless Interdomain Routing (CIDR) We can get better utilization if we hand out Class C addresses This would increase the size of forwarding tables We aggregate contiguous class C blocks

Aggregation of 16 Class C network addresses into a single 20 bit CIDER address Class C network numbers XYZ XYZ XYZCIDR 20 bit network address XYZ = / XYZ XYZ XYZ XYZ XYZ XYZ XYZ XYZ XYZ XYZ XYZ XYZ

Intradomain Routing Border Gateway Routers—Default router for outbound traffic

Intradomain routing issues Scale—100,000 network addresses Autonomy Trust Flexibility—hot potato routing

BGP example 1 BGP speaker/AS: Advertise routes-prevents looping Withdrawn broken routes

Routing Areas in OSPF