Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών: OSPF Cost

Σχετικά έγγραφα
Δίκτυα Επικοινωνιών ΙΙ: OSPF Configuration

Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών: IOS Routing Configuration

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

Homework 3 Solutions

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

Approximation of distance between locations on earth given by latitude and longitude

Modbus basic setup notes for IO-Link AL1xxx Master Block

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006

EE512: Error Control Coding

C.S. 430 Assignment 6, Sample Solutions

2 Composition. Invertible Mappings

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

Every set of first-order formulas is equivalent to an independent set

[1] P Q. Fig. 3.1

The Simply Typed Lambda Calculus

Main source: "Discrete-time systems and computer control" by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1

Instruction Execution Times

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

Section 8.3 Trigonometric Equations

ST5224: Advanced Statistical Theory II

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ. Ψηφιακή Οικονομία. Διάλεξη 7η: Consumer Behavior Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

Calculating the propagation delay of coaxial cable

The challenges of non-stable predicates

derivation of the Laplacian from rectangular to spherical coordinates

Finite Field Problems: Solutions

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1

Partial Trace and Partial Transpose

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit

Πώς μπορεί κανείς να έχει έναν διερμηνέα κατά την επίσκεψή του στον Οικογενειακό του Γιατρό στο Ίσλινγκτον Getting an interpreter when you visit your

Example Sheet 3 Solutions

5.4 The Poisson Distribution.

VBA ΣΤΟ WORD. 1. Συχνά, όταν ήθελα να δώσω ένα φυλλάδιο εργασίας με ασκήσεις στους μαθητές έκανα το εξής: Version ΗΜΙΤΕΛΗΣ!!!!

department listing department name αχχουντσ ϕανε βαλικτ δδσϕηασδδη σδηφγ ασκϕηλκ τεχηνιχαλ αλαν ϕουν διξ τεχηνιχαλ ϕοην µαριανι

Statistical Inference I Locally most powerful tests

the total number of electrons passing through the lamp.

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ. Ψηφιακή Οικονομία. Διάλεξη 10η: Basics of Game Theory part 2 Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών

Problem Set 3: Solutions

Section 7.6 Double and Half Angle Formulas

Second Order RLC Filters

Εργαστήριο «Δίκτυα Υπολογιστών Ι»

Μηχανική Μάθηση Hypothesis Testing

Concrete Mathematics Exercises from 30 September 2016

Reminders: linear functions

Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων. Εξάμηνο 7 ο

4.6 Autoregressive Moving Average Model ARMA(1,1)

Advanced Subsidiary Unit 1: Understanding and Written Response

Potential Dividers. 46 minutes. 46 marks. Page 1 of 11

Matrices and Determinants

Exercises 10. Find a fundamental matrix of the given system of equations. Also find the fundamental matrix Φ(t) satisfying Φ(0) = I. 1.

Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών: IOS Routing Configuration - Παραδείγματα

Section 9.2 Polar Equations and Graphs

Other Test Constructions: Likelihood Ratio & Bayes Tests

Business English. Ενότητα # 9: Financial Planning. Ευαγγελία Κουτσογιάννη Τμήμα Διοίκησης Επιχειρήσεων

상대론적고에너지중이온충돌에서 제트입자와관련된제동복사 박가영 인하대학교 윤진희교수님, 권민정교수님

Fractional Colorings and Zykov Products of graphs

Ψηφιακή Οικονομία. Διάλεξη 11η: Markets and Strategic Interaction in Networks Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών

Εργαστήριο «Δίκτυα Υπολογιστών Ι»

b. Use the parametrization from (a) to compute the area of S a as S a ds. Be sure to substitute for ds!

Pg The perimeter is P = 3x The area of a triangle is. where b is the base, h is the height. In our case b = x, then the area is

Lecture 2. Soundness and completeness of propositional logic

Στο εστιατόριο «ToDokimasesPrinToBgaleisStonKosmo?» έξω από τους δακτυλίους του Κρόνου, οι παραγγελίες γίνονται ηλεκτρονικά.

Math221: HW# 1 solutions

Block Ciphers Modes. Ramki Thurimella

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

Capacitors - Capacitance, Charge and Potential Difference

Numerical Analysis FMN011

Démographie spatiale/spatial Demography

Special edition of the Technical Chamber of Greece on Video Conference Services on the Internet, 2000 NUTWBCAM

ΚΥΠΡΙΑΚΟΣ ΣΥΝΔΕΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY 21 ος ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ Δεύτερος Γύρος - 30 Μαρτίου 2011

6.1. Dirac Equation. Hamiltonian. Dirac Eq.

2. THEORY OF EQUATIONS. PREVIOUS EAMCET Bits.

Εργαστήριο 9. Styling with Javascript

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 11/3/2006

Homework 8 Model Solution Section

Areas and Lengths in Polar Coordinates

Math 6 SL Probability Distributions Practice Test Mark Scheme

6.003: Signals and Systems. Modulation

1) Formulation of the Problem as a Linear Programming Model

Strain gauge and rosettes

Αναερόβια Φυσική Κατάσταση

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ

PARTIAL NOTES for 6.1 Trigonometric Identities

Assalamu `alaikum wr. wb.

Right Rear Door. Let's now finish the door hinge saga with the right rear door

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ. Ψηφιακή Οικονομία. Διάλεξη 9η: Basics of Game Theory Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών

1. For each of the following power series, find the interval of convergence and the radius of convergence:

Galatia SIL Keyboard Information

Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in

Srednicki Chapter 55

(1) Describe the process by which mercury atoms become excited in a fluorescent tube (3)

CHAPTER 48 APPLICATIONS OF MATRICES AND DETERMINANTS

ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΤΜΗΜΑ ΠΛΗΡΟΦΟΡΙΚΗΣ. ΕΠΛ342: Βάσεις Δεδομένων. Χειμερινό Εξάμηνο Φροντιστήριο 10 ΛΥΣΕΙΣ. Επερωτήσεις SQL

Βασικές ρυθμίσεις, στατική δρομολόγηση και VLANs

Solution Series 9. i=1 x i and i=1 x i.

Συντακτικές λειτουργίες

Volume of a Cuboid. Volume = length x breadth x height. V = l x b x h. The formula for the volume of a cuboid is

Transcript:

Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών: OSPF Cost Πανεπιστήμιο Πελοποννήσου Τμήμα Επιστήμης & Τεχνολογίας Τηλεπικοινωνιών Ευάγγελος Α. Κοσμάτος

Basic OSPF Configuration Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 2

Basic OSPF Configuration Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 3

Setting OSPF Priority The priorities can be set to any value from 0 to 255. A value of 0 prevents that router from being elected. A router with the highest OSPF priority will win the election for transmission. Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 4

Modifying OSPF cost (1) The auto-cost reference-bandwidth command allows you to change the reference bandwidth that OSPF uses to calculate its metrics: RouterA#configure terminal Enter configuration commands, one per line. End with CNTL/Z. RouterA(config)#router ospf 87 RouterA(config-router)#auto-cost reference-bandwidth 1000 RouterA(config-router)#exit RouterA(config)#end RouterA# Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 5

Modifying OSPF cost (2) You can also adjust the OSPF cost of a single interface with the ip ospf cost configuration command: RouterA#configure terminal Enter configuration commands, one per line. End with CNTL/Z. RouterA(config)#interface Ethernet0 RouterA(config-if)#ip ospf cost 31 RouterA(config-if)# exit RouterA(config)#end RouterA# Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 6

Reference bandwidth (1) The custom in OSPF networks is to make the link cost inversely proportional to the bandwidth of a link. This is the default behavior for Cisco routers. The reference bandwidth defines the link speed that has an OSPF cost of 1. In Cisco routers, by default, the reference bandwidth is 100 Mbps Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 7

Reference bandwidth (2) If he have faster links in the network, such as gigabit Ethernet or OC-3 connections, OSPF can't give these links a better cost than 1. So you should set the reference bandwidth to at least as high as the fastest link in your network. In fact, you may want to set this value higher than the bandwidth of your fastest link to ensure that you don't have to reconfigure your whole network when you eventually upgrade some of your core links. Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 8

Reference bandwidth (3) It is important to set the same reference bandwidth on all routers in an area, and preferably throughout the entire network. Suppose you set the reference bandwidth differently on two routers, so that they advertise different link costs for their Ethernet interfaces. This could cause seriously strange routing patterns as OSPF will try to avoid using the higher cost links. It may decide, for example, that a FastEthernet interface on one router is faster than a Gigabit Ethernet interface on the other router. Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 9

Calculate cost from reference bandwidth (1) Each interface has an associated cost. It is computed as follows: reference bandwidth / configured bandwidth of interface in kbps On Cisco routers, the reference bandwidth defaults to 100000. So, a DS-3 interface, with a configured bandwidth of 45000, has a cost of: 100000000 / 45000 = 2222 The interface bandwidth must be explicitly configured. If not, the router will probably get it wrong. It is configured using the following syntax: int h1/0 bandwidth 45000 Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 10

Calculate cost from reference bandwidth (2) Different manufacturers use different reference bandwidths. It is therefore common practice for every router to have it's OSPF reference bandwidth set. Many sysadmins set it to 10000(k) using the following syntax: router ospf 100 auto-cost reference-bandwidth 10000 This reference bandwidth should be the same on all of your routers. Once this is done, our DS-3 interface will have a cost of: 10000000 / 45000 = 222 Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 11

Problem in Reference bandwidth (1) The OSPF metric is only 16 bits long, giving it a maximum per-link cost value of 65,535. If the fastest links use 10 Gbps Ethernet, and you set the cost of this link to 1, then a relatively common 56 kbps serial link would need to have a cost of 178,571 a 128 kbps circuit would cost 78,125. Since this is not possible, OSPF would use the maximum link cost of 65,535 for both of these lowspeed links. This could cause some very poor routing patterns. Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 12

Problem in Reference bandwidth (2) The cost of a link doesn't actually have to be 10 times as high just because the link is 1/10 as fast. In fact, this default behavior implies that it is better to go through a succession of 10 FastEthernet links rather than use a single Ethernet, which is probably not true in most cases. So a useful alternative strategy is to use the square root of the bandwidth instead of the bandwidth when calculating the link cost. Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 13

Problem in Reference bandwidth (3) Medium Nominal bandwidth Default cost Changing reference bandwidth Cost with 1/square root model Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 14

Modifying OSPF cost (3) Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 15

Configuring OSPF Timers Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 16

Verifying OSPF Configuration show ip protocol show ip route show ip ospf interface shop ip ospf show ip ospf neighbor detail show ip ospf database Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 17

The debug and clear Commands for OSPF Verification Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών 18