Top Banner
COS 420 Day 13
38

COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

COS 420

Day 13

Page 2: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Agenda

Assignment 3 Posted Covers chapters 11-15 Due March 23

2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will discuss Interior

Routing protocols (Rip, HELLO, OSPF)

Page 3: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Group Project Initial Discussion Deliverables

Programs requirements Protocol Definition Working Network Application

Client Server (or) Peer to Peer

Paper User Manual Protocol specification Program requirements Implementation Technical Specifications

Presentation Journal?

More Discussion after Break, be ready to pick a group project by March 23

Page 4: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Project 2 Grading Meeting Timelines 10% Deliverables

Program requirements Due March 30 15%

Protocol Definition Due April 13 15% Working Network Application Due May 4 25% Final Paper Due May 1 25%

User Manual Protocol Program requirements Technical Specifications

Presentation Due May 4 10%

Page 5: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

PART XVI

ROUTING: INSIDE ANAUTONOMOUS SYSTEM

(RIP, OSPF, HELLO)

Page 6: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Static Vs. Dynamic Interior Routes Static routes

Initialized at startup Never change Typical for host Sometimes used for router

Dynamic router Initialized at startup Updated by route propagation protocols Typical for router Sometimes used in host

Page 7: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Illustration Of Topology In WhichStatic Routing Is Optimal

Page 8: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Illustration Of Topology In WhichDynamic Routing Is Needed

Page 9: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Exchanging Routing InformationWithin An Autonomous System

Mechanisms called interior gateway protocols, IGPs

Choice of IGP is made by autonomous system

Note: if AS connects to rest of the world, a router in the AS must use an EGP to advertise network reachability to other autonomous systems.

Page 10: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Example Of Two Autonomous SystemsAnd the Routing Protocols Used

Page 11: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Example IGPs

RIP HELLO OSPF Many Others

Page 12: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Routing InformationProtocol (RIP) Implemented by UNIX program routed Uses hop count metric Distance-vector protocol Relies on broadcast (very chatty!) Assumes low-delay local area network Uses split horizon and poison reverse

techniques to solve inconsistencies Current standard is RIP2

Page 13: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Two Forms Of RIP Active

Form used by routers Broadcasts routing updates periodically Uses incoming messages to update routes

Passive Form used by hosts Uses incoming messages to update routes Does not send updates

Page 14: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Illustration Of HostsUsing Passive RIP

Page 15: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

RIP Operation

Each router sends update every 30 seconds

Update contains pairs of (destination address, distance in hops)

Distance of 16 is infinity (i.e., no route)

Page 16: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Slow Convergence Problem(Slow Count To Infinity)

Page 17: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Fixing Slow Convergence Use technique know as Split-horizon

update Cannot announce routes to networks

from same interface you got route information from

Use technique know as Poison-reverse update If a router notices a connection is down,

advertise an infinity cost to that network

Page 18: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Rip Update Format

•Uses family field to support multiple protocols•IP address sent in octets 3 - 6 of address field•Message travels in UDP datagram (uses UDP LEN)

Page 19: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Rip commands 1

Request for partial or full routing informatoin 2

Response containing network-distance pairs from sender’s routing table

9 Update request

10 Update response

11 Update acknowledge

Page 20: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Changes To RIP In Version 2

Update includes subnet mask Authentication supported Explicit next-hop information Messages can be multicast

(optional) IP multicast address is 224.0.0.9

Page 21: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

RIP2 Update Format

•Packet format is backward compatible•Infinity still limited to 16•RIP2 can be broadcast•Route Tag identifies originator

Page 22: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Measures Of DistanceThat Have Been Used

Hops Zero-origin One-origin (e.g., RIP)

Delay Throughput Jitter

Page 23: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

HELLO: A Protocol ThatUsed Delay

Developed by Dave Mills Measured delay in milliseconds Used by NSFNET fuzzballs

A specially configured PDP11 computer made by DEC (16-bit)

http://starfish.osfn.org/rcs/pdp-11/Fuzzball/fuzz.txt

Now historic

Page 24: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

How HELLO Worked

Participants kept track of delay between pairs of routers

HELLO propagated delay information across net

Route chosen to minimize total delay

Page 25: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Route Oscillation

Effective delay depends on traffic (delay increases as traffic increases)

Using delay as metric means routing traffic where delay is low

Increased traffic raises delay, which means route changes

Routes tend to oscillate

Page 26: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Why HELLO Worked

HELLO used only on NSFNET backbone

All paths had equal throughput Route changes damped to avoid

oscillation

Page 27: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Open Shortest Path First (OSPF)

Developed by IETF in response to vendors’ proprietary protocols RFC 2328 OSPF Ver. 2

Uses SPF (link-state) algorithm More powerful than most

predecessors Permits hierarchical topology More complex to install and manage

Page 28: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

OSPF Features Type of service routing Load balancing across multiple paths Networks partitioned into subsets called areas Message authentication Network-specific, subnet-specific, host-specific,

and CIDR routes Designated router optimization for shared

networks Virtual network topology abstracts away

details Can import external routing information

Page 29: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

OSPF Message Header

Page 30: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

OSPF Message Types

Page 31: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

OSPF HELLO Message Format

Field descriptions on Page 311

Page 32: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

OSPF Database Description Message Format

Field descriptions on Page 289 & 290

Page 33: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Values In The LINK Field

Page 34: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

OSPF Link Status Request Message Format

Page 35: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

OSPF Link Status Update Message Format

Page 36: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Header Used In OSPF Link Status Advertisements

Four possible formats follow Links from a router to given area Links from a router to physical net Links from a router to physical nets of a subnetted IP

network Links from a router to nets at other sites

Page 37: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Discussion Question

What are the tradeoffs connected with the issue of routing in the presence of partial information?

Page 38: COS 420 Day 13. Agenda Assignment 3 Posted Covers chapters 11-15 Due March 23 2 Days till Daytona Beach Bike Week Midterm Exam is Due Today Today we will.

Summary

Interior Gateway Protocols (IGPs) used within an AS

Popular IGPs include RIP (distance vector algorithm) OSPF (link-state algorithm)