Announcements List Lab is still under construction Next session we will have paper discussion, assign papers,

Slides:



Advertisements
Similar presentations
CSCI-1680 Network Layer: Intra-domain Routing Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Advertisements

Dynamic Routing Overview 1.
CSE331: Introduction to Networks and Security Lecture 8 Fall 2002.
Routing Protocol.
Dynamic Routing Scalable Infrastructure Workshop, AfNOG2008.
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
CS 164: Global Internet Slide Set In this set... More about subnets Classless Inter Domain Routing (CIDR) Border Gateway Protocol (BGP) Areas with.
CSE331: Introduction to Networks and Security Lecture 9 Fall 2002.
CCNA 2 v3.1 Module 6.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
CSEE W4140 Networking Laboratory Lecture 5: IP Routing (OSPF and BGP) Jong Yul Kim
Routing and Routing Protocols
Routing.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
Fundamentals of Networking Discovery 2, Chapter 6 Routing.
CCNP Network Route OSPF Part -I OSPF: Open Shortest Path First Concept of OSPF: 1. It is a link state routing protocol. 2. There are basically only 2 ISIS.
Chapter 12 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Read a routing table  Configure a static route 
Link State Routing Protocol W.lilakiatsakun. Introduction (1) Link-state routing protocols are also known as shortest path first protocols and built around.
Link-State Routing Protocols
Lecture Week 10 Link-State Routing Protocols. Objectives Describe the basic features & concepts of link-state routing protocols. List the benefits and.
Chapter 7: Routing Dynamically
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
M.Menelaou CCNA2 ROUTING. M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes.
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.
Lecture 4: BGP Presentations Lab information H/W update.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
Review the key networking concepts –TCP/IP reference model –Ethernet –Switched Ethernet –IP, ARP –TCP –DNS.
Introduction to OSPF Nishal Goburdhan. Routing and Forwarding Routing is not the same as Forwarding Routing is the building of maps Each routing protocol.
CCNA 3 Week 2 Link State Protocols OSPF. Copyright © 2005 University of Bolton Distance Vector vs Link State Distance Vector –Copies Routing Table to.
1 Module 4: Implementing OSPF. 2 Lessons OSPF OSPF Areas and Hierarchical Routing OSPF Operation OSPF Routing Tables Designing an OSPF Network.
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.
Basic Routing Principles V1.2. Objectives Understand the function of router Know the basic conception in routing Know the working principle of router.
Routing and Routing Protocols
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
Routing protocols. Static Routing Routes to destinations are set up manually Route may be up or down but static routes will remain in the routing tables.
Dynamic Routing Protocols II OSPF
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
Routing Protocols Brandon Wagner.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
Ch 22. Routing Direct and Indirect Delivery.
© 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.
Single Area OSPF Module 2, Review How routing information is maintained Link-state routers apply the Dijkstra shortest path first algorithm against.
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.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing & Switching.
ROUTING.
Scaling the Network Chapters 3-4 Part 2
Dynamic Routing Protocols II OSPF
OSPF (Open Shortest Path First)
Routing Protocols and Concepts
Link-State Routing Protocols
THE NETWORK LAYER.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing.
Chapter 5: Dynamic Routing
Dynamic Routing Protocols II OSPF
Link-State Routing Protocols
Dynamic Routing and OSPF
Chapter 8: Single-Area OSPF
Link-State Routing Protocols
Chapter 10 Link State Routing Protocols
Routing.
Chapter 1 Introduction Networking Architecture Overview.
Presentation transcript:

Announcements List Lab is still under construction Next session we will have paper discussion, assign papers, 3x15 min presentation first homework will be given next class

Review IP protocol –Address formats IPv4, IPv6 –Address per interface –Subnets, network mask, prefix len IP is connectionless, packet forwarding –Packets follow independent paths to destination Based on destination address –DNS to allow me to use symbolic names

Network layer vs. Link Layer Each link has also a link layer address that is technology specific –Ethernet MAC –ATM etc … Network layer address (IP) is independent of the networking technology

Sending to the subnet Nodes are “close” can reach them directly in layer 2 - same “broadcast domain” ! Need to know the MAC address Need to map IP to MAC address ARP, cache response, broadcast No need for any other mechanism, this is not routing But I can not have everything in a single subnet

What is routing/router Device with multiple ports of different networking technologies Forward a packet between subnets Forwarding table –Contains prefixes (and not addresses) –Device –Gateway Longest prefix match (LPM) Default route /0

Concept of ASes A set of systems under the same administration –Forth-net, EDET k.o.k –Same rules, policies Different protocols inside and among the domains –Inside is relatively small Intra-domain –Among is massively huge… Inter-domain

The Big picture Multiple Ases talking to each other PoPs We will revisit later… Some numbers –ASes: 23,400 –Prefixes: 214,000 –Average AS Path lengths: 3,6 –Average Prefix length: 22,3

Hierarchy, what makes it all work Can aggregate multiple routing table entries in large ones (less specific, larger prefix) Is convenient to allocate addresses hierarchically –Global provider, local ISPs, customers There are some problems though: multi- homing

What is important Scale: can have tons of prefixes Speed: need to forward fast Resilience to faults: some link somewhere is bound to fail Management and misconfigurations: there are 23,400 entities that collaborate to make all this work

Some generalities about routing Attempt to find a “good” path for the packet In reality, I just find the best “next-hop” –Routing is packet-packet EXAMPLE

Cost in Routing Good can have multiple definitions –Small delay Do not send the packet to athens through the US –Less loaded (related to delay) –Less expensive (real money) –Less cost (administrative cost) –Less hops In practice it is least cost routing today See example SPF: cost is set according to some recipies/rules of thumb

ECMP May have multiple next-hops with the same cost –Why not use them all –Router will load balance –But have to be done carefully to avoid out-of- order packets ECMP, 8 or 16 in today;s routers EXAMPLE

Standards The role of standards –Necessary if different boxes are to work together –Standards bodies, IETF, ISO The role of IETF –Democratic, collaborative –Working groups Rough consensus and working code Requests for Comments –Standards –Proposed standards –Informational –Historical

The local view – Intra-domain routing Link state routing –The most commonly used today Basic concept: –Each router has a complete view of the topology of the network –Pros: simple and fast convergence –Cons: expensive to maintain reliably Flooding –Compute SPF routes Link state routing allows me to do much-much more

What is important The view of each router about the network has to agree –Else routing loops TTL will catch it EXAMPLE

Basic Structures Each router has –A list of neighbors –The topology database that describes the network –And the routing table

Basic Operations Join the network –Discover neighbors –Forming adjacency –Database exchange Monitor for faults and handle changes –Monitor neighbor’s up status –Reliable Flooding Route Computation Scaling –Multiple areas

OSPF Open SPF, standard protocol today –Not the only one though IS-IS is also strong Has all the elements: –HELLO protocol for neighbor discovery and health monitoring –Database exchange for database syn on start –Reliable flooding for propagating changes

Details Packets sent as an IP protocol (OSPF protocol 89) –Does not use TCP/UDP etc… 5 packet types: hello, LS-req, LS-upd, LS- ack and DD-desc LS-* packets carry link states

What is a LS Describes an object in the network –Router, network, external prefix Is originated by a specific router, has an id and a sequence number –Each OSPF router has a unique router-id Routers exchange LS through flooding, build their LS database and then compute routes EXAMPLE EXAMPLE for link failure

Flooding When receiving an update send it to all your adjacencies except the one it came from It is reliable, each LS sent must be acknowledged (with an LS-ack packet) Can receive duplicates –Discard It is a bit expensive

Joining an OSPF network EXAMPLE

Route computation Build the shortest path tree rooted at the computing node and derive the next hop information for each destination EXAMPLE