DD2490 p Lecture 4: OSPF. Link-state routing and Open Shortest Path First. Olof Hagsand KTH CSC

Size: px
Start display at page:

Download "DD2490 p Lecture 4: OSPF. Link-state routing and Open Shortest Path First. Olof Hagsand KTH CSC"

Transcription

1 DD2490 p4 20 Lecture 4: OSPF Link-state routing and Open Shortest Path First Olof Hagsand KTH CSC OSPF is the routing protocol that we deal with in most detail in this course. OSPF is a complex protocol, more so than many other protocols. Still, the main reason for going into details in OSPF is to understand the principles guiding the design of any routing protocol, most principles being general to other routing protocols.

2 Literature RFC 2328: Browse through Section. Section 2 gives a very good understanding of OSPF issues. The example is realistic (complex) and the section can be quite hard to get through. But it is well worth the reading. In particular, the figures can be difficult to get a grasp of since they are written in ASCII. Section 2.. can be skipped. Section 3 introduces areas to the previous example. Again, the example is quite demanding, but a thorough reading of this section will give you a good understanding of OSPF areas. Section 3.5, only the last two paragraphs, the rest discusses CIDR: you should know this already. 2 There are whole books about OSPF, but the RFC is actually quite readable.

3 Comparison with Distance-Vector Link-state uses a distributed database model Distance-vector uses a distributed processing model Link-state pros: More functionality due to distribution of original data, no dependency on intermediate routers Easier to troubleshoot Fast convergence: when the network changes, new routes are computed quickly Less bandwidth consuming Distance-vector pros: Less complex easier to implement and administrate Needs less memory 3 Distributed database means that a link-state protocol distributes the data-structures between all nodes. Each node then composes all datastructures into one common whole (a database) which is equal between nodes of a domain(area). All computation, eg Dijkstra is then made on the resulting database. One could in principle have used a replicated database between all peers.

4 Link-state routing Obtain info about locally connected links and spread this information to the neighbours. Flood this information to every router in the routing domain so that every router has knowledge of the entire network topology. Local operations: Using Dijkstra's algorithm, the shortest path to each prefix in the network is calculated Construct OSPF Routing table Merge with other routing protocols: RIB Compile forwarding table: FIB 4

5 N4 N 3 RT N3 RT RT N3 N2 N2 3 RT RT3 Ia 7 RT6 N4 Network example from RFC2328 Fig 2 N5 Ib RT0 3 RT7 N H 3 0 RT9 RT2 2 N9 RT 2 N8 RT8 N6 4 N0 N7 5

6 N4 N 3 RT N3 0 RT4 8 8 RT N3 N2 N2 3 RT2 2 RT RT6 7 External N4 Database, graphical form All routers have this db after flooding 5 Ia 7 Ib N5 N H 3 0 RT9 0 RT2 2 N0 0 N9 0 RT N8 RT N6 0 RT8 4 N7 2 9 RT7 6

7 N4 N 3 RT 0 0 N3 0 RT4 RT N3 N2 N2 3 RT2 2 RT3 6 6 RT6 7 N4 7 Ib SPF after Dijkstra from RT6 Ia 5 N5 N H 3 0 RT9 0 RT2 2 N0 0 N RT N8 RT0 0 N6 0 RT8 4 N7 2 RT7 9 7

8 Building a routing table Local routing table (RIB) computed from Dijkstra shortest path calculation Next-hop routing: only nexthop router even if complete path is known Example: RT6 Local destinations Destination Next Hop Distance N RT3 0 N2 RT3 0 N3 RT3 7 N4 RT3 8 Ib * 7 Ia RT0 2 N6 RT0 8 N7 RT0 2 N8 RT0 0 N9 RT0 N0 RT0 3 N RT0 4 H RT0 2 RT5 RT5 6 RT7 RT0 8 Remote Destination Next Hop Distance N2 RT0 0 N3 RT5 4 N4 RT5 4 N5 RT0 7 8

9 Original OSPF requirements These original requirements were set when IETF specified OSPFv2 in the early 90s. The requirements were based on experience with distance-vector protocols: A more descriptive routing metric Link metric: Equal-cost multipath Multiple best paths: load balance Routing hierarchy Two-level routing scheme: areas Separate internal and external routes External routes can be imported from eg BGP Security Cryptographic authentication 9 These original requirements were set when IETF specified OSPFv2 in the early 90s. The requirements were based on experience with distance-vector protocols, such as RIP. IS-IS actually already existed but was not seen as an option by IS-IS since it belonged to the competing OSI protocols at the time. Some of these requirements are now of less importance, including the security extension, which is better achieved by other means. ECMP has been retro-fitted into most RIP implementations in practice. The routing hierarchy (areas) is maybe less important now as routing processors are much more powerful and can handle quite large Dijkstra routing domains.

10 OSPF Network Topology Area 0 is the backbone area. All (inter-area) traffic goes via the backbone. All other areas are connected to the backbone (-level hierarchy) An Area Border Router (ABR) has one interface in each area. An AS Boundary Router (ASBR) redistributes external routes Backbone router at least one interface in backbone area External AS boundary router: External routing Area Border Router: Interfaces in different areas Area AS2 0 Internal router All areas connected to backbone area Area Area 2 Area 3 Internal router + ASBR External 0 Compare this to IS-IS areas: the area border is 'passes through' routers in OSPF and links in IS-IS. The routing state therefore gets more complicated in OSPF since every router may be member of several areas. Not so in ISIS. Note that an ASBR does not really have to be a border router in the AS/BGP sense. It is actually only a redistributing router that imports external routes from another protocol. External routes can be redistributed static routes, RIP routes, or something else. A 'true' ASBR would be a router that runs BGP and peers externally to another BGP speaker in a separate AS. Note also that an ASBR does not have to be in the backbone. That is, a router that imports routes to OSPF can be within a non-backbone area as is shown in Area 3 in the figure.

11 Protocol parts and messages. The hello protocol Detection of neighboring routers Election of designated routers Detection of failure of link and neighbors Messages: Hello 2. The exchange protocol Exchange database between neighbours Messages: Database Description, Link-State Request, Link-state update 3. Reliable flooding When links change/age send: update to neighbours and flood recursively. Messages:Link-State Update, Link-State Acknowledge 4. Shortest path calculation Dijkstra's algorithm Compute shortest path tree to all destinations The first three points (-3) are different parts of the actual protocol, each part has different OSPF message types. The fourth point is not really a part of the protocol, this is achieved by the router when it has received all LSAs in a routing domain. One could also add an initial OSPF point (0) as detecting which links a router is connected to - its local link-state.

12 OSPF Encapsulation OSPF runs directly on IP Needs its own reliable protocol The flooding protocol No port numbers Need to run as root raw sockets No checksum Computes its own checksum or digest Since it runs on IP (IS-IS runs on the link-level) OSPF messages can be routed tunneled or routed by some other protocol 2 If OSPF is unreliable and IP-based, why does it not run on UDP? Good question, with UDP, OSPF could have used port numbers and run separate OSPF instances. The argument of running as root providing better 'security' is not really a valid argument. In retrospect, this is probably a misdesign. The fact that you need to use 'raw sockets' is an argument valid on the BSD socket interface that is common on most operating systems today. That is, you cannot use the more convenient 'stream' or 'datagram' sockets that you use when programming TCP or UDP protocol code. Note that running directly on IP has some consequences (in comparison with ISIS). Routing OSPF messages themselves (recursive routing) may be flexible, but OSPF then needs another routing protocol to send the OSPF messages,...

13 OSPF header Version # Type Packet length Router ID Area ID Checksum AuType Authentication Authentication IP OSPF common header OSPF specific header 3 This is the common header part that all OSPF messages starts with after the IP header. All multi-byte integer fields are in 'network byte order' = 'big-endian' = 'most significant byte first'.

14 OSPF common header Version 2 for IPv4 3 for IPv6 Type Hello DD database description Link-State Request Link-State Update Link-State Acknowledge Router ID A unique number within the domain Area ID Backbone: Other areas, eg: Checksum Standard IP checksum AUtype NULL Simple password Cryptographic authentication 4 Note that the router ID can be any unique number. But it is typically an IP address on the router which by definition should be unique within the routing domain (or even globally). It is also typically an address on a loopback interface to ensure that the address is always reachable. But this is recommended practice, the router-id does not have to be a reachable IP address for OSPF. Other protocols (eg PIM) may have stronger requirements.

15 Cryptographic authentication Key ID Auth Data Len Cryptographic sequence number Authentication field (see figure) Checksum field set to zero Create message digest from complete packet Eg, MD5 Append digest to packet Set key (if many keys are used), seq#, and digest length. IP OSPF common header OSPF specific header Digest 5 Instead of each protocol having its own authentication, one can use IPSEC or other mechanisms to authenticate OSPF messages. Note that there is also LSA checksum which is separate from actual message authentication (see later slide)

16 Part : The Hello protocol How does a router know who its neighbours are? By sending each other Hello packets Multicast to AllSPFRouters ( ) Hello is typically sent every 0 seconds Hello interval Three failed Hello attempts result in a link failure report. Router dead interval You can reduce Hello periods but it is difficult to make OSPF detect errors insub-second realm For sub-second failure detection, OSPF can use BFD Hello:s are also used to negotiate some options between neighbors Designated router, router dead interval, etc 6 BFD (Bidirectional Forwarding Detection) can also be used to support other protocols on the router with fault detection.

17 The Hello packet Network Mask HelloInterval Options Rtr Pri RouterDeadInterval Designated Router Backup Designated Router Neighbor IP OSPF common header Hello 7 Conflicting fields in hello packets between peers result in negotiation, or ultimately loss of connection.

18 Adjacency on a broadcast network N-squared problem: too many adjacencies if the network is fully meshed: n(n-)/2 We elect one router to represent the network Designated router (DR) We elect one router to take over in case of failure Backup designated router (BDR) OSPF communication From a router to the DR and BDR Multicast: AllDRouters ( ) The DR sends messages to other neighbours Multicast: AllSPFRouters ( ) Data traffic still forwarded directly! 8 This means that a router connected to a transit network (eg an Ethernet) only forms adjacency with the DR. The DR however, keeps track of all nodes connected to the network.

19 Electing designated router Election algorithm First router always DR Second router always BDR Only in case of failure change DR/BDR Elect DR and BDR from router priority If equal prio => Highest router ID Routerprio is 0 => can never be DR/BDR Why is a BDR necessary? For fast failover if DR fails The BDR runs in parallelwith the DR Note that this method is undeterministic 9 This algorithm is non-deterministic if the start of individual routers is unknown. DR and BDR election depends on which order the routers are initiated. You can never know in advance which router is DR and BDR. Unless you set router priority. Note that DR election is deterministic in IS-IS and therefore preemptive.

20 Variants of multi-point networks Broadcast networks The link-layer is broadcast capable Non-Broadcast Multiple Access (NBMA) Any two routers can communicate but no broadcast X.25, ATM, FR Neighbour detection via configuration Point-to-Multipoint Not all routers can communicate Packet radio, cloud of point-to-point links No DR/BDR, treated more like many point-to-point protocols. Can be modelled as a set of point-to-point links 20 A large part of the OSPF RFC deals with different variants of multipoint networks. In this course we only deal with broadcast networks such as Ethernet and Wavelan. The big advantage with broadcast networks is their ability to send link-supported multicast that reaches all nodes in the network. You may not have this capability in the other variants.

21 Part 2: Database exchange When two routers has established adjacency, the databases need to get synchronized. First: mutually send summary to each other's databases. The Database description packet includes a list of Linkstate headers Only database headers not actual entries. Then: Request explicitly database entries Link-State requests Last: Send database entries Link-state updates 2 In the database exchange phase, several messages are used: database description (DD), link-state request and link-state updates. The DD packet can be seen as an index of which LSAs appear in the database. Database exchange can be seen as an optimization of flooding - to quickly get synchronized with a neighbor instead of waiting for flooding of LSAs to occur.

22 Part 3: Flooding of link-state LSAs are the elements of the distributed database Sometimes called LSPs (Link-State packets) A router describes its environment in the form of networks that it is connected to Fundamental task in OSPF: Distribute the LSAs to all nodes in a reliable way Then, each node can compute Dijkstra on the same database Every router spreads its LSAs to all its peers That is, all information about its own links All routers forward the LSAs to its other peers LSAs are acknowledged When a link changes, a new instance of the LSA is distributed Periodic updates every 30 minutes Flood a new instance 22 LSAs are described in detail in later slides.

23 Reliable flooding example () A link-state changes in the originator The originator floods an LSA over the network Update is resent until acknowledged u u 23 The router in the lowest part of the network originates the link-state. 'u' denotes OSPF link-state update messages which are sent to all adjacent links/neighbors.

24 Reliable flooding example (2) An update already received is taken as an implicit acknowledgement Updates not sent on links where they were received (unless designated router - later) u u u 24 The two middle routers receive updates on the link, and treat them as implicit acknowledgements (no need to resend).

25 Reliable flooding example (3) LS Acknowledgements sent after timeout Several acks can be sent in one LS acknowledgement a a a 25 'a' denote OSPF link-state acknowledgement messages. The middle routers can send acks to the originator before receiving acks from the upper router.

26 Flooding in a transit network () In a transit network, the roles of the designated router (and backup designated router) are important DR BDR u 26 More info about transit networks later (see Router LSA: transit network).

27 Flooding in a transit network (2) From peer to DR and BDR Using multicast address AllDRRouters ( ) Only DR and BDR listen to AllDRRouters DR BDR a u u 27 Multicast is used for scaling purposes: if there are many nodes in a transit network, fewer OSPF signaling messages need to be sent. Note however that OSPF routers keep state about its neighbors, but neighbors are defined using the DR concept. That is, the leftmost router in the network is only aware of the DR (and BDR) as neighbor.

28 Flooding in a transit network (3) From designated routers to all others Using multicast address AllSPFRouters ( ) All OSPF routers listen to AllSPFRouters Acks sent by unicast If the BDR does not hear an update from the DR, it assumes the DR has crashed and takes over DR BDR u u u u u 28 Link-state acknowledgements will be sent back after this stage (not shown)

29 LSA structure summary Identifer Age Sequence Advertising Router Checksum Type Router point-to-point link transit link stub link virtual link Network Network Summary ASBR Summary AS External 29 This summary is meant as an overview of the following detailed OSPF description of an LSA. You can see an LSA as one piece of a puzzle describing one component of a network topology. All LSAs in a routing domain is the completed puzzle that describes the complete network topology. This individual piece of a puzzle need to be expressable: you should be able to express anything an IP network may consist of, such as different kind of links, metrics, error cases, etc. The structure of an LSA is therefore somewhat complex.

30 LSA header Every LSA has a common header The rest is different depending on LSA type LSA headers appear in DD, LS update and LS ack LS age Options LS type Link State ID Advertising Router LS sequence number LS checksum length LSA hdr LSA body IP OSPF common header LSA LSA 2... LSA n 30 Several LSAs may be a part of an OSPF message. This adds some complexity in comparison to ISIS where there is exactly one LSA per packet (LSP). It also increases the flexibility. An advantage is that one can form larger and flexible packets by concatenating LSAs, fewer messages may be sent. A drawback is that several layers of checksums are necessary, one per LSA and one per message. IS-IS have atomic LSPs that can simply be forwarded. In the following slides, most field in the LSA header are described

31 The link-state ID field The identifier of the LSA that is unique within a domain The ID is different for different types: Type Router LSA: Router ID /eg a loopback address) Type 2 Network LSA: IP address of Designated Router) Type 3 - Destination IP network Type 4 - Router-id of ASBR Type 5 - Destination IP network 3 The link-state id is a 4-byte unique identifier of the LSA. Note that router-ids are by definition unique, but destination IPv4 networks in four bytes may not be unique. For example, /24 and /6 have the same 4-byte identifier. To make these unique the host bits are used, according to an algorithm that is beyond the scope of this course,...

32 The age field An LSA is valid up to 30 minutes When an LSA reaches 30 minutes, the originating router makes a new instance New instance: increment sequence number If not refreshed, the LSA will be deleted after one hour (MaxAge) Premature aging is used to flush LSAs from the database Age == MaxAge is the same as delete! If deleted by another router that router floods the LSAs with MaxAge To ensure that all deletes the LSA at the same time 32 Note that age and sequence are different. The age denotes how long a particular instance of an LSA has existed. That is, the age of an LSA with a particular sequence number. Such an instance cannot change: If you change the LSA you need to increment the sequence number, and thus reset the age to 0. The age provides a way to flush old data from a system.

33 Sequence numbers Sequence numbers are incremented when the link-state changes. An originating router also increments the sequence ~every 30 minutes - when age has expired But how do you define larger if sequence numbers wrap? Original ARPANET: Circular OSPFv: Lollipop OSPFv2: Linear Initial sequence number: 0x , max: 0x7fffffff When sequence number reaches max, the router deletes LSA By flooding of a prematured aged LSA (0x7fffffffff) And then reintroduce the LSA Sequence number is 32-bits, if router updates sequence # every 5 seconds it takes 600 years to wrap-around! circular lollipop linear 33 Note that if the content of the LSA does not change, a new LSA with new sequence number is introduced anyway att approximately age 30 minutes. It is only if an LSA changes (a field in the LSA) that sequence numbers are upgraded more often than that. A flapping link that goes up and down several times a second, for example, can cause bursts of sequence numbers updates.

34 The LSA checksum The LSA checksum ensures that the LSA data has not changed in transit. The originator computes the checksum The LSA checksum is separate from message authentication, A single LSA can be a part of several OSPF messages (flooding of LSAs) Several LSAs can be a part of a single OSPF message. 34 The LSA checksum is different from the OSPF message authentication

35 Metric The metric is dependent on LSA and is not in the common header The metric is a scalar It can mean anything: hops,, delay, load,... Metrics are asymmetric On many systems, default metric is inversely proportional to link bandwidth: 0^8 / <linkbw> Eg 0Mb eth has metric 0 E (serial 2Mbps) has metric 50 Juniper does not have this by default 35

36 The type field )Router LSA Describes all locally connected links (including IP route information) of a router 2)Network LSA Describes a transit (broadcast) link 3) Network Summary LSA Describes an aggregated route 4) ASBR Summary LSA Special form of route: an ASBR that occurs in another area 5) AS External LSA Describes a redistributed, external route 6) Group Membership LSA (MOSPF) 7) NSSA external information LSA 8) External attributes LSA 36 The type field defines which type this LSA has. We will go through each LSA type in detail in the following slide and later (look for LSA type, LSA type 2, etc)

37 LSA type : Router LSA A list of links that a true router is connected to The router LSA consists of a set of links with the following types: Link to stub networks No other router Link to a point-to-point network Link to transit networks Broadcast, NBMA or point-to-multipoint Virtual link Tunnel to other router Used in error cases and to keep the backbone connected LSA hdr Router LSA hdr Link # Link #2 Link #n 37 The router LSA is the central and most complex LSA. It describes the links a single router is connected to. The complexity comes from the fact that there are several types of links, and they are modelled somewhat differently. The following slides will go through each link type of a router LSA in detail. Thereafter we will go to LSA type 2. Every router in an OSPF domain (actually within an area) constructs and distributes a router LSA describing its local environment throughout an area. Outside of an area, the router LSA is not visible

38 Router LSA: Stub network RFC 2328, fig a Stub network: only one entry point Represented by IP address and network mask Note that the database arrow is not bidirectional Network view RT7 LSA (database) view RT7 N3 N3 RT7's router LSA (part of a LS update) LSA hdr Packet view Router LSA hdr Stub Link: N3 38

39 Stub networks and passive interfaces A stub network denotes an IP sub-network where there are no other OSPF routers with which the router communicates. Where do these occur? Pure host networks. Maybe customer networks without routers. AS border Packets are forwarded on a stub-network, but OSPF signaling messages are not sent. You declare an interface as passive -> network is modelled as a stub. Security issues: if you speak HELLO on an access network or towards another AS, another (bad) OSPF router may inject routes into your internal network leading to black-holing or other DOS attacks Always declare interfaces as passive on the border of your OSPF domain! 39 Always declare DMZ towards other ASs as passive. Always declare interfaces to customers or untrusted host networks as passive.

40 Router LSA: Point-to-point A point-to-point link simply points to the router-id to the other router The router connected on the other side of the p-t-p link But often (like in our labs) point-to-point links have addresses and sometimes sub-networks. These sub-networks are modelled as stub networks. The example below is a combination of p-t-p and stub links /24 RT RT2 RT RT /24 RT's router LSA LSA hdr Router LSA hdr P-t-p link:rt2 Stub Link: /24 RT2's router LSA LSA hdr Router LSA hdr P-t-p link:rt Stub Link: /24 40 The example shows two routers interconnected with a point-topoint link. RT and RT2 are denoted by a router LSA each, as seen in the picture. Each such router LSA contains a point-to-point link containing the router-id of the other router. Thus, RT points to RT2 and RT2 point to RT. Furthermore, since there are addresses (sub-networks) on the pointto-point link (this is not necessary for un-numbered interfaces), each router LSA also contains a stub-link (previous slide), indicating the addresses to the subnetwork /24 Alternatively, you can have individual unrelated addresses (Ia and Ib) on a point-to-point link. This is modelled as shown. RT points to Ia and RT2 to Ib, this is an obcurity of OSPF. Ia Ib RT RT2 RT RT2 Ia Ib

41 Router LSA: Transit network The link points to a transit network's IP address The address of the designated router Example: Ethernet, token ring, Wavelan,... RT3 RT4 RT3 RT4 RT4 RT6 N2 N2 RT5 RT6 RT3's router LSA LSA hdr Router LSA hdr Transit link:n2 4 A transit network is a multi-point network (two end-points is pointto-point), where nodes can communicate between each other. See earlier slide for different variants of multi-point networks.

42 Router LSA: Virtual link The link points to a remote router connected by an IP network Similar to point-to-point, but remote peer is not physically connected Used to keep the backbone connected We will talk more about virtual links in the area section 42 This is where OSPF adjacency actually can be formed over an IP routed network not routed by the protocol itself (recursive routing). This means that the virtual link needs to be set up by some other mechanism, typically static routing or some other internal protocol (RIP?).

43 LSA Type 2: Network LSA Links of a transit network distributed from a designated router The designated router distributes the information on behalf of the connected routers Metric on entry to network but zero cost to leave Example: (RT3 is DR) DR RT3 RT4 RT3 RT4 RT4 RT6 N2 N2 RT5 RT6 RT3's network LSA LSA hdr Network LSA hdr RT3, RT4, RT5, RT6 43

44 External routes An external route is a prefix that OSPF has learnt from another protocol (or static route) Has been redistributed into OSPF External routes come in two flavors based on the metrics: External Type (E): use same metrics as internal External Type 2 (E2): external metric takes precedence If RIP routes are imported as E, and OSPF uses hop-count metric, then OSPF and RIP can work seamlessly BGP routes are imported as E2, where metric is AS-path length 44

45 AS External- LSA (Type 5) But how are the external routes communicated to the network? Router and network LSAs are not applicable AS External LSAs Originated by AS boundary routers Announces an external particular prefix Redistributed route from another protocol A forwarding address (may be different than AS boundary router) External route tag Eg an BGP AS path would enable the use of OSPF instead of IBGP AS External LSAs are flooded throughout the AS RT3 RT3 N N ASBR ASBR RT3's AS External LSA LSA hdr AS External LSA hdr N 45 Important that external routes are flooded throughout a whole OSPF domain, regardless of areas (though there are exceptions -see totally stub area). The LSA ID of an external LSA is the destination network itself. But since the external network is not unique (see earlier slide) the host-bits may be used to distinguish between IDs.

46 Exercise /24 A B C / /27 G.2 D DR E BDR F / /28 Create an LSA table for the network above Type LSAId AdvRouter LSA Specific data Solution on web after lecture 46 Solution will appear on web after the lecture.

47 OSPF Areas Divides the OSPF domain into smaller zones Smaller link-state database in each zone Also decreases signaling traffic Routers have limits on processing power and memory Router CPUs are typically much slower than PCs CISCO used to recommend ~80 routers as a limit in a single area You need a large network to benefit from areas Typical large companies Example: KTHLAN used OSPF with 5-20 routers used to have areas but now only uses area 0. However, areas are less used today. 47

48 Smaller database Using areas makes the database smaller That is, fewer and more compact LSAs The destinations inside the area is still fully described by type- router and type-2 network LSAs Full Dijkstra algorithm But destination networks outside the area are summarized Transit networks (Network LSAs) Stub networks (Router LSA stub links) Router-LSAs are not distributed outside an area Unless they are ASBR Only the (cumulative) metric and prefix necessary Not full link state This leads to a smaller database and less processing to compute shortest path 48

49 Summary LSAs: types 3 and 4 To distribute the summary information, we need two new LSAs Type 3 Network summary LSA Destination, network mask and cumulative metric Type 4 ASBR Summary LSA 8 Same as type 3, but destination is an AS boundary router Next hop for external routes Why is LSA type 4 needed? Because type 5 AS external LSAs are flooded throughout the AS, but the ASBR might not be visible from inside an area N ABS R 49

50 N 4 N N RT RT2 N 3 2 RT4 RT RT5 6 Ia RT6 N 3 N 2 Area N 4 N 5 N H Area 3 3 RT9 RT2 0 2 N0 N 9 RT0 3 2 RT N8 Area 2 RFC 2328 fig 6 Ib 6 RT8 N 6 4 N RT7 50

51 Comment : Route summarization When the details of an area has been hidden it makes sense to aggregate the prefixes Typically, all networks within an area, can be summarized into one LSA Routes can also be summarized at redistribution to/from another protocol The metric uses the max of all summarized metrics In the example, area 3's routes are summarized: N9-N, H With max cost (to H) 5

52 Comment 2: Virtual links The backbone must be logically connected But it does not have to be physically connected You can use virtual links (tunnels) to make the backbone virtually connected Traffic passing in the backbone may then physically use a non-backbone area: this is called a transit area. Example: A virtual link is (manually) configured between RT0 and RT For robustness, RT7 and RT may also have a virtual link 52

53 Virtual link example A virtual link is (manually) configured between RT0 and RT, and RT7 and RT0 Area 2 is now a transit area RT0 3 RT7 2 RT Area 2 N8 RT8 N 6 4 N7 53

54 Example: Areas in 0 and Note : The Area Border Routers (RT3 and RT4) injects summaries both Into Area from the backbone and other areas Into Area 0 (backbone) from area Note 2: The external routes are flooded through all areas Note 3: Area has two points of exits Internal routers can make intelligent decisions, and load balance between exit points Example: RT uses RT4 to N6, and load balances to N8! 54

55 Backbone Database: RFC 2328 fig 8 N N 2 N 3 RT4 8 RT3 8 8 RT RT N 4 N 3 N 2 N 4 Area Ib Max of all individual metrics 5 Ia 5 RT RT7 N 5 N9-N, H Area 3 RT 2 N 6 Area 2 N7 N8 55

56 Area 's database: RFC 2328 fig 7 LSA Type : Router N N 2 Area LSA Type 2: Network 3 RT 0 3 RT2 0 0 N 3 0 N 4 LSA Type 4: ASBR Summary 2 RT4 RT LSA Type 3: Network Summary 8 8 LSA Type 5: AS External 2 0 RT5 RT7 Ia 2 N9-N, H 8 9 Ib N 6 N8 8 8 N7 N 4 N 3 N 2 N 5 56

57 Stub areas A problem with flooding external LSAs: Suppose many external routes are injected into OSPF Maybe the core carries transit traffic (between other AS:s) High performance routers But large parts of the areas do not Simpler routers This will give a high burden on the smaller routers In a stub area, the ABR does not flood external LSAs into the area Instead, one (or many) default routes are injected Then all external traffic must use the default route announced by the ABRs But the inter-area networks are still announced by summaries from the ABRs 57

58 Stub area example N 4 N N RT RT2 N 3 default 2 RT4 RT RT RT6 N 3 N 2 Area N N 5 RT7 58

59 Motivation for NSSA Sometimes, the restrictions on stub areas are too strict: You would like to import a limited number of external routes Example: You want to block large routing tables from transit traffic, but want to import a small number of routes But in stub areas, you cannot import any external routes. 59

60 Example: NSSA motivation A Peering with other AS C Large amount of transit routes Area Want to import routes from C but not from A and B Area 0 Peering with other AS B 60

61 Not-So-Stubby Area (NSSA) RFC 30 NSSA allows to inject external routes into a stub area LSA type 7 are spread through the NSSA At ABRs, the Type-7 LSA are translated to Type-5 (External-AS LSA) and spread through the AS But other External-AS LSAs are still not inserted in the NSSA 6

62 Example: NSSA solution A Peering with other AS C Area Area 0 Routes from C spread as Type-7 LSA Routes from C translated to Type-5 LSAs Peering with other AS B 62

63 Totally stub areas Totally stub area In addition to external routes, do not distribute inter-area routes into an area Just use default route CISCO-specific Like IS-IS L without leaking NSSA totally stub area Combination of NSSA and totally stub area 63

64 Summary of LSAs: regular areas Regular area Area 0 AB R -----> -----> 3* > -----> >x >x > -----> > 5 (stub links) Regular area Area 0 AB R 3* <----- < <----- < <----- < <----- < <----- < <----- Note: (*) Only stub links of type translated to type 3 Type 5 passes through but generates a new type 4 (ASBR) Type 3 and 4 from other areas passes through but changes origin (to ABR) Summaries (3 and 4) are not forwarded into backbone 64

65 Summary of LSAs: stub areas Stub area Area 0 AB R -----> -----> 3* > -----> >x >x >x (stub links) Stub area Area 0 AB R 3* <----- < <----- < <----- < x< x< /0 <----- Note: All type 5 blocked. Replaced with default route (in a type 3 LSA) 65

66 Summary of LSAs: not-so-stubby areas Stub area Area 0 Stub area Area > -----> 3* > -----> >x >x >x > -----> > 5 3* <----- < <----- < <----- < x< x< /0 <----- x<

67 Opaque LSA Option RFC 2370 For Future extensibility Standard LSA header Followed by application-specific information Three new LSA, difference in scope: Type 9-LSA: Link-local scope Type 0-LSA: Area-local scope Type -LSA: AS-local scope 67

68 Traffic Engineering extensions RFC 2370 It adds bandwidth and administrative constraints So that a (network) manager can control traffic in more detail Distribute it in an area Uses Type-0 opaque LSA, area scope Call it Traffic Engineering LSA The LSA payload contains nested TLVs, for example: Traffic engineering metric Maximum bandwidth Maximum reservable bandwidth Unreserved bandwidth Administrative group 68

69 OSPFv3 OSPF for IPv6 is OSPFv3 Unchanged: Flooding, DR election, area support, SPF calculations, etc Authentication removed (use IPSEC) New LSAs for IPv6 addresses Addressing semantics removed from basic LSAs and msgs Avoid IPv4/IPv6 addresses prefer RouterID Network-protocol independence Renaming: Type-3 summary LSA -> Inter-Area-prefix LSA Type-4 summary-las -> Inter-Area-router LSA 69

70 Summary This was OSPF essentials But there are many more issues, for more reading consult: RFC 2328 J Moy, OSPF Anatomy of an Internet Routing Protocol Lots of vendor documentation 70

71 Homework fe-/0/ RTB fe-/0/ /30 AS fe-/0/ /30 fe-2/0/0 RTE4 RTB..2 AS fe-/0/ / / /24 fe-/0/ /29 fe-/0/ RTB fe-/0/0 RTB Write a table as follows: LS Type LS Id Adv Router LSA specific data 7

DD2490 p Link-state routing and OSPF. Olof Hagsand KTH/CSC

DD2490 p Link-state routing and OSPF. Olof Hagsand KTH/CSC DD2490 p4 200 Link-state routing and OSPF Olof Hagsand KTH/CSC Literature RFC 232: Browse through Section. Section 2 gives a very good understanding of OSPF issues. The example is realistic (complex) and

More information

DD2490 p Link-state routing and OSPF. Olof Hagsand KTH/CSC

DD2490 p Link-state routing and OSPF. Olof Hagsand KTH/CSC DD2490 p4 2009 Link-state routing and OSPF Olof Hagsand KTH/CSC Literature RFC 232: Browse through Section. Section 2 gives a very good understanding of OSPF issues. The example is realistic (complex)

More information

DD2490 p Link state routing and OSPF. Olof Hagsand KTH/CSC

DD2490 p Link state routing and OSPF. Olof Hagsand KTH/CSC DD490 p4 00 Link state routing and OSPF Olof Hagsand KTH/CSC Literature RFC 3: Section except.. Section 3 (areas), but only last two paragraphs of 3.5 Link state routing Each router spreads information

More information

Link State Routing. Link State Packets. Link State Protocol. Link State Protocols Basic ideas Problems and pitfalls

Link State Routing. Link State Packets. Link State Protocol. Link State Protocols Basic ideas Problems and pitfalls Link State Routing In particular OSPF Karst Koymans Informatics Institute University of Amsterdam (version 16.3, 2017/03/09 11:25:31) Tuesday, March 7, 2017 Link State Protocols Basic ideas Problems and

More information

Link State Routing. Link State Packets. Link State Protocol. Link State Protocols Basic ideas Problems and pitfalls

Link State Routing. Link State Packets. Link State Protocol. Link State Protocols Basic ideas Problems and pitfalls Link State Routing In particular OSPF Karst Koymans Informatics Institute University of Amsterdam (version 17.4, 2017/11/30 12:33:57) Tuesday, November 28, 2017 Link State Protocols Basic ideas Problems

More information

Introduction to OSPF

Introduction to OSPF Introduction to OSPF 1 OSPF Open Shortest Path First Link state or SPF technology Developed by OSPF working group of IETF (RFC 1247) OSPFv2 standard described in RFC2328 Designed for: TCP/IP environment

More information

Table of Contents 1 OSPF Configuration 1-1

Table of Contents 1 OSPF Configuration 1-1 Table of Contents 1 OSPF Configuration 1-1 Introduction to OSPF 1-1 Basic Concepts 1-2 OSPF Area Partition 1-4 Router Types 1-7 Classification of OSPF Networks 1-9 DR and BDR 1-9 OSPF Packet Formats 1-11

More information

OSPF (Open Shortest Path First)

OSPF (Open Shortest Path First) OSPF (Open Shortest Path First) Open : specification publicly available RFC 1247, RFC 2328 Working group formed in 1988 Goals: Large, heterogeneous internetworks Uses the Link State algorithm Topology

More information

Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of opaque LSAs 40 Configuring OSPF to

Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of opaque LSAs 40 Configuring OSPF to Contents Configuring OSPF 1 Introduction to OSPF 1 Basic concepts 1 OSPF areas 3 Router types 6 OSPF network classification 7 DR and BDR 8 OSPF packet formats 9 Supported OSPF features 17 Protocols and

More information

IPv6 Routing: OSPFv3

IPv6 Routing: OSPFv3 Open Shortest Path First version 3 (OSPFv3) is an IPv4 and IPv6 link-state routing protocol that supports IPv6 and IPv4 unicast address families (AFs). Finding Feature Information, page 1 Prerequisites

More information

OSPF (Open Shortest Path First)

OSPF (Open Shortest Path First) OSPF (Open Shortest Path First) Open : specification publicly available RFC 1247, RFC 2328 Working group formed in 1988 Goals: Large, heterogeneous internetworks Uses the Link State algorithm Topology

More information

Network Working Group. Category: Standards Track Juniper Networks J. Moy Sycamore Networks December 1999

Network Working Group. Category: Standards Track Juniper Networks J. Moy Sycamore Networks December 1999 Network Working Group Requests for Comments: 2740 Category: Standards Track R. Coltun Siara Systems D. Ferguson Juniper Networks J. Moy Sycamore Networks December 1999 OSPF for IPv6 Status of this Memo

More information

Introduction to OSPF

Introduction to OSPF Introduction to OSPF ISP/IXP Workshops ISP/IXP Workshops 1999, Cisco Systems, Inc. 1 OSPF Dynamic Routing Protocol Link State technology Runs over IP, protocol 89 Designed by IETF for TCP/IP Supports VLSM

More information

Logging neighbor state changes 38 Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of

Logging neighbor state changes 38 Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of Contents Configuring OSPF 1 Introduction to OSPF 1 Basic concepts 1 Area based OSPF network partition 3 Router types 6 OSPF network classification 7 DR and BDR 8 OSPF packet formats 9 Supported features

More information

OSPF. Unless otherwise noted, OSPF refers to OSPFv2 throughout this document.

OSPF. Unless otherwise noted, OSPF refers to OSPFv2 throughout this document. Open Shortest Path First () is a link state based interior gateway protocol developed by the working group of the Internet Engineering Task Force (IETF). At present, version 2 (RFC2328) is used. Introduction

More information

Introduction to OSPF

Introduction to OSPF Introduction to OSPF ISP/IXP Workshops ISP/IXP Workshops 1999, Cisco Systems, Inc. 1 Agenda OSPF Primer OSPF in Service Provider Networks OSPF BCP - Adding Networks OSPF Command Summary 2 OSPF Primer 3

More information

Examination IP routning inom enkla datornät, DD2490 IP routing in simple networks, DD2490 KTH/CSC. Date: 20 May :00 19:00 SOLUTIONS

Examination IP routning inom enkla datornät, DD2490 IP routing in simple networks, DD2490 KTH/CSC. Date: 20 May :00 19:00 SOLUTIONS Examination IP routning inom enkla datornät, DD2490 IP routing in simple networks, DD2490 KTH/CSC Date: 20 May 2009 14:00 19:00 SOLUTIONS a) No help material is allowed - You are not allowed to use books

More information

OSPF Commands. Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols IP2R-61

OSPF Commands. Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols IP2R-61 OSPF Commands Use the commands in this chapter to configure and monitor the Open Shortest Path First (OSPF) routing protocol. For OSPF configuration information and examples, refer to the Configuring OSPF

More information

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190 Chapter 17 OSPF Protocol Overview The Open Shortest Path First (OSPF) protocol is an interior gateway protocol (IGP) that routes packets within a single autonomous system (AS). OSPF uses link-state information

More information

TDC 363 Introduction to LANs

TDC 363 Introduction to LANs TDC 363 Introduction to LANs OSPF Greg Brewster DePaul University TDC 363 Greg Brewster, DePaul University 1 OSPF Link State Routing Algorithms Open Shortest Path First (OSPF) Message Types Operations

More information

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1 Table of Contents 1 Static Routing Configuration 1-1 Introduction 1-1 Static Route 1-1 Default Route 1-1 Application Environment of Static Routing 1-1 Configuring a Static Route 1-2 Configuration Prerequisites

More information

Introduction to OSPF OSPF. Link State Routing. Link State. Fast Convergence. Low Bandwidth Utilisation

Introduction to OSPF OSPF. Link State Routing. Link State. Fast Convergence. Low Bandwidth Utilisation Introduction to OSPF ISP/IP Workshops OSPF Open Shortest Path First Link state or SPF technology Developed by OSPF working group of IETF (RFC 47) Designed for TCP/IP Internet environment Fast convergence

More information

Vendor: Alcatel-Lucent. Exam Code: 4A Exam Name: Alcatel-Lucent Interior Routing Protocols and High Availability.

Vendor: Alcatel-Lucent. Exam Code: 4A Exam Name: Alcatel-Lucent Interior Routing Protocols and High Availability. Vendor: Alcatel-Lucent Exam Code: 4A0-101 Exam Name: Alcatel-Lucent Interior Routing Protocols and High Availability Version: Demo QUESTION 1 When a router receives an IP packet, but does not find a match

More information

Configuring OSPF. Cisco s OSPF Implementation

Configuring OSPF. Cisco s OSPF Implementation Configuring OSPF This chapter describes how to configure OSPF. For a complete description of the OSPF commands in this chapter, refer to the OSPF s chapter of the Network Protocols Reference, Part 1. To

More information

Chapter 8 Configuring OSPF

Chapter 8 Configuring OSPF Chapter 8 Configuring OSPF This chapter describes how to configure OSPF on HP routing switches using the CLI and Web management interface. To display OSPF configuration information and statistics, see

More information

HP Load Balancing Module

HP Load Balancing Module HP Load Balancing Module Appendix Protocol Reference Part number: 5998-4222 Software version: Feature 3221 Document version: 6PW100-20130326 Legal and notice information Copyright 2013 Hewlett-Packard

More information

Cabrillo College. Rick Graziani, Instructor

Cabrillo College. Rick Graziani, Instructor Cabrillo College CCNP Advanced Routing Ch. 5 - Multi-areas (Part I) Rick Graziani, Instructor Mar. 4, 2002 1 Multi-Area Part I Areas LSAs show ip ospf database (summary of link state database) show ip

More information

Chapter 16 OSPF Version 3 Commands

Chapter 16 OSPF Version 3 Commands Chapter 16 OSPF Version 3 Commands NOTE: The OSPF version 3 configuration level is present only on HP devices that support IPv6. area Assigns OSPF version 3 areas. You can assign an IPv4 address or a number

More information

Operation Manual Routing Protocol. Table of Contents

Operation Manual Routing Protocol. Table of Contents Table of Contents Table of Contents Chapter 1 IP Routing Protocol Overview... 1-1 1.1 Introduction to IP Route and Routing Table... 1-1 1.1.1 IP Route... 1-1 1.1.2 Routing Table... 1-1 1.2 Routing Management

More information

Configuring OSPF. Finding Feature Information

Configuring OSPF. Finding Feature Information This module describes how to configure Open Shortest Path First (OSPF). OSPF is an Interior Gateway Protocol (IGP) developed by the OSPF working group of the Internet Engineering Task Force (IETF). OSPF

More information

Basic Idea. Routing. Example. Routing by the Network

Basic Idea. Routing. Example. Routing by the Network Basic Idea Routing Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:

More information

Routing by the Network

Routing by the Network Routing Basic Idea Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:

More information

debug ip ospf database external default-metric subnet area 0 stub distribute-list in Serial0/1

debug ip ospf database external default-metric subnet area 0 stub distribute-list in Serial0/1 Which statement about stateless autoconfiguration is true? A host can autoconfigure itself by appending its MAC address to the local link prefix (64 bits). 2 Autoconfiguration allows devices to connect

More information

Unit 3: Dynamic Routing

Unit 3: Dynamic Routing Unit 3: Dynamic Routing Basic Routing The term routing refers to taking a packet from one device and sending it through the network to another device on a different network. Routers don t really care about

More information

FSOS IPv6 Routing Command Line Reference

FSOS IPv6 Routing Command Line Reference FSOS IPv6 Routing Command Line Reference Contents 1 OSPFv3 Commands... 5 1.1 area default-cost...5 1.2 area range...6 1.3 area stub... 7 1.4 auto-cost...8 1.5 clear ipv6 ospf...9 1.6 default-information

More information

Lab 4: Routing using OSPF

Lab 4: Routing using OSPF Network Topology:- Lab 4: Routing using OSPF Device Interface IP Address Subnet Mask Gateway/Clock Description Rate Fa 0/0 172.16.1.17 255.255.255.240 ----- R1 LAN R1 Se 0/0/0 192.168.10.1 255.255.255.252

More information

Configuring OSPF. Finding Feature Information

Configuring OSPF. Finding Feature Information This module describes how to configure Open Shortest Path First (OSPF). OSPF is an Interior Gateway Protocol (IGP) developed by the OSPF working group of the Internet Engineering Task Force (IETF). OSPF

More information

Routing Protocols. Technology Description BGP CHAPTER

Routing Protocols. Technology Description BGP CHAPTER CHAPTER 11 This chapter describes the level of support that Cisco ANA provides for routing protocols, as follows: Technology Description, page 11-1 Information Model Objects (IMOs), page 11-3 Vendor-Specific

More information

OSPFv3 Commands. address-family (OSPFv3), page 4. authentication (OSPFv3), page 7

OSPFv3 Commands. address-family (OSPFv3), page 4. authentication (OSPFv3), page 7 This module describes the commands used to configure and monitor the IP Version 6 (IPv6) Open Shortest Path First Version 3 (OSPFv3) routing protocol. For detailed information about OSPFv3 concepts, configuration

More information

Configuring OSPF. Finding Feature Information. Contents

Configuring OSPF. Finding Feature Information. Contents Configuring OSPF First Published: May 5, 2008 Last Updated: March 18 2011 This module describes how to configure Open Shortest Path First (OSPF). OSPF is an Interior Gateway Protocol (IGP) developed by

More information

Passit4Sure.4A Questions 4A Alcatel-Lucent Interior Routing Protocols and High Availability

Passit4Sure.4A Questions 4A Alcatel-Lucent Interior Routing Protocols and High Availability Passit4Sure.4A0-101.300Questions Number: 4A0-101 Passing Score: 800 Time Limit: 120 min File Version: 7.5 http://www.gratisexam.com/ 4A0-101 Alcatel-Lucent Interior Routing Protocols and High Availability

More information

Routing II: Protocols (RIP, EIGRP, OSPF, PNNI, IS-IS): Brief Version

Routing II: Protocols (RIP, EIGRP, OSPF, PNNI, IS-IS): Brief Version Routing II: Protocols (RIP, EIGRP, OSPF, PNNI, IS-IS): Brief Version Rensselaer Polytechnic Institute shivkuma@ecse.rpi.edu Based in part upon slides of Prof. Raj Jain (OSU), S. Keshav (Cornell), J. Kurose

More information

OSPF. OSPF processs can be enabled on 2 levels

OSPF. OSPF processs can be enabled on 2 levels OSPF UDP port 89 Metic cost Link state protocol Flood the link state information in the entire topology Builds the topology table Stores in LSDB Runs SPF(Djsktra algorithm) for best path to reach destination

More information

FiberstoreOS V3.3 IPv6 Routing Command Line Reference

FiberstoreOS V3.3 IPv6 Routing Command Line Reference FiberstoreOS V3.3 IPv6 Routing Command Line Reference Contents 1 OSPFv3 Commands... 4 1.1 area default-cost...4 1.2 area range...5 1.3 area stub... 6 1.4 auto-cost...7 1.5 clear ipv6 ospf...8 1.6 default-information

More information

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents Table of Contents Table of Contents Chapter 1 Static Routing Configuration... 1-1 1.1 Introduction... 1-1 1.1.1 Static Route... 1-1 1.1.2 Default Route... 1-1 1.1.3 Application Environment of Static Routing...

More information

FiberstoreOS. IPv6 Routing Command Line Reference

FiberstoreOS. IPv6 Routing Command Line Reference FiberstoreOS IPv6 Routing Command Line Reference 1 Contents 1 OSPFv3 Commands... 6 1.1 area default-cost... 6 1.2 area range...7 1.3 area stub... 7 1.4 auto-cost...8 1.5 clear ipv6 ospf...9 1.6 default-information

More information

IP Routing Tecnologie e Protocolli per Internet II rev 1

IP Routing Tecnologie e Protocolli per Internet II rev 1 IP Routing Tecnologie e Protocolli per Internet II rev 1 Andrea Detti Electronic Engineering dept. E-mail: andrea.detti@uniroma2.it Some sources: Cisco CCNA Routing and Switching ICND1 and ICND2 Slide

More information

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics. EECS 122, Lecture 16 Kevin Fall kfall@cs.berkeley.edu edu Link Costs and Metrics Routing protocols compute shortest/cheapest paths using some optimization criteria Choice of criteria has strong effect

More information

Chapter 3 Lab 3-2, Multi-Area OSPFv2 and OSPFv3 with Stub Area

Chapter 3 Lab 3-2, Multi-Area OSPFv2 and OSPFv3 with Stub Area Chapter 3 Topology Objectives Configure multi-area OSPFv2 for IPv4. Configure multi-area OSPFv3 for IPv6 Verify multi-area behavior. Configure stub and totally stubby areas for OSPFv2. Configure stub and

More information

Configuring OSPF with CLI

Configuring OSPF with CLI OSPF Configuring OSPF with CLI This section provides information to configure Open Shortest Path First (OSPF) using the command line interface. Topics in this section include: OSPF Configuration Guidelines

More information

Internet Routing Protocols Tuba Saltürk

Internet Routing Protocols Tuba Saltürk Internet Routing Protocols 15505068 Tuba Saltürk Outline Internet Routers Routing Protocol Interior Gateway Protocol (IGP) Distance- Vector Routing Protocol Routing Information Protocol (RIP) Interior

More information

OSPF Commands. adjacency stagger, page 7. authentication-key (OSPF), page 14

OSPF Commands. adjacency stagger, page 7. authentication-key (OSPF), page 14 OSPF Commands This module describes the commands used to configure and monitor the Open Shortest Path First (OSPF) routing protocol. For detailed information about OSPF concepts, configuration tasks, and

More information

Operation Manual OSPF. Table of Contents

Operation Manual OSPF. Table of Contents Table of Contents Table of Contents... 1-1 1.1 OSPF Overview... 1-1 1.1.1 Introduction to OSPF... 1-1 1.1.2 Process of OSPF Route Calculation... 1-2 1.1.3 OSPF Packets... 1-2 1.1.4 LSA Type... 1-3 1.1.5

More information

Helsinki University of Technology Telecommunications Laboratory. OSPF Routing Protocol Licenciate course seminar paper

Helsinki University of Technology Telecommunications Laboratory. OSPF Routing Protocol Licenciate course seminar paper Helsinki University of Technology Telecommunications Laboratory OSPF Routing Protocol Licenciate course seminar paper Shkumbin I. Hamiti, 08.10.1996 Communications Laboratory, TKK-HUT email: bini#tiltu.hut.fi

More information

Network Working Group. Category: Standards Track Stanford University March 1994

Network Working Group. Category: Standards Track Stanford University March 1994 Network Working Group Request for Comments: 1587 Category: Standards Track R. Coltun RainbowBridge Communications V. Fuller Stanford University March 1994 The OSPF NSSA Option Status of this Memo This

More information

Symbols. Numerics I N D E X

Symbols. Numerics I N D E X I N D E X Symbols? (question mark), CLI help system, 126 Numerics A 2-router BGP topology, configuring, 279 284 4-router BGP topology, configuring, 266, 276 279 ABRs (area border routers), 9, 87, 95, 141

More information

Vanguard Managed Solutions

Vanguard Managed Solutions Vanguard Managed Solutions Vanguard Applications Ware IP and LAN Feature Protocols Open Shortest Path First (OSPF) Notice 2003 Vanguard Managed Solutions, LLC 575 West Street Mansfield, Massachusetts 02048

More information

Link State. 1 Flooding of link-state information. 5 Routing Table. 3 SPF Algorithm. 2 Building a Topological Database. 4 SPF Tree

Link State. 1 Flooding of link-state information. 5 Routing Table. 3 SPF Algorithm. 2 Building a Topological Database. 4 SPF Tree Link State 1 Flooding of link-state information 5 Routing Table 2 Building a Topological Database 3 SPF Algorithm 4 SPF Tree OSPF Hello Protocol OSPF routers send Hellos on OSPF enabled interfaces: Default

More information

Chapter 15 OSPF Commands

Chapter 15 OSPF Commands Chapter 15 OSPF Commands NOTE: This chapter contains information about OSPF version 2 commands only. For information about OSPF version 3 commands, see OSPF Version 3 Commands on page 16-1. area Assigns

More information

Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP

Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP Appendix D Memory Tables Chapter 1 Table 1-2 Routing Protocol Characteristics Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP Chapter 3 Table 3-2 Hexadecimal/Binary

More information

KTH CSC, OSPF lab, rev: 1.15 KTH CSC. OSPF lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature

KTH CSC, OSPF lab, rev: 1.15 KTH CSC. OSPF lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature KTH CSC OSPF lab Juniper version Group Nr Name1 Name2 Name3 Name4 Date Grade Instructor s Signature Table of Contents 1 Goals...3 2 Preparations...3 3 OSPF in pairs...5 3.1Turn on OSPF...5 3.2 Monitor

More information

OSPF. About OSPF. CLI Book 1: Cisco ASA Series General Operations CLI Configuration Guide, 9.4 1

OSPF. About OSPF. CLI Book 1: Cisco ASA Series General Operations CLI Configuration Guide, 9.4 1 This chapter describes how to configure the Cisco ASA to route data, perform authentication, and redistribute routing information using the Open Shortest Path First () routing protocol. About, page 1 Guidelines

More information

OSPF Commands on Cisco ASR 9000 Series Router

OSPF Commands on Cisco ASR 9000 Series Router OSPF Commands on Cisco ASR 9000 Series Router This module describes the commands used to configure and monitor the Open Shortest Path First (OSPF) routing protocol. For detailed information about OSPF

More information

OSPF Commands on Cisco IOS XR Software

OSPF Commands on Cisco IOS XR Software This module describes the commands used to configure and monitor the Open Shortest Path First (OSPF) routing protocol. For detailed information about OSPF concepts, configuration tasks, and examples, see

More information

OSPF Demand Circuit Feature

OSPF Demand Circuit Feature OSPF Demand Circuit Feature Document ID: 5132 Contents Introduction Prerequisites Requirements Components Used Conventions How Is OSPF over Demand Circuit Different from a Normal Circuit? Suppressed Periodic

More information

IS-IS Operation. SANOG July, 2017 Gurgaon, INDIA

IS-IS Operation. SANOG July, 2017 Gurgaon, INDIA IS-IS Operation SANOG 30 14-18 July, 2017 Gurgaon, INDIA IS-IS Intermediate System to Intermediate System Designed for OSI networks to carry CLNS traffic (RFC1142 - ISO 10859) CLNP was to OSI, what IPv4/IPv6

More information

Configuring BGP. Cisco s BGP Implementation

Configuring BGP. Cisco s BGP Implementation Configuring BGP This chapter describes how to configure Border Gateway Protocol (BGP). For a complete description of the BGP commands in this chapter, refer to the BGP s chapter of the Network Protocols

More information

CCNA 3 (v v6.0) Chapter 5 Exam Answers % Full

CCNA 3 (v v6.0) Chapter 5 Exam Answers % Full CCNA 3 (v5.0.3 + v6.0) Chapter 5 Exam Answers 2017 100% Full ccnav6.com /ccna-3-v5-0-3-v6-0-chapter-5-exam-answers-2017-100-full.html CCNA Exam Answers 2017 CCNA 3 (v5.0.3 + v6.0) Chapter 5 Exam Answers

More information

Teldat Router. OSPF Protocol

Teldat Router. OSPF Protocol Teldat Router OSPF Protocol Doc. DM714-I Rev. 10.90 November, 2011 INDEX Chapter 1 Introduction... 1 1. The OSPF Protocol... 2 2. The OSPF Routing Protocol... 3 3. Configuring OSPF... 4 3.1. Enabling the

More information

Unicast Routing. TCP/IP class

Unicast Routing. TCP/IP class Unicast Routing TCP/IP class Routing Protocols intro RIP and son of RIP OSPF BGP odd bodkins NAT TCP/IP Internetworking Protocols 2 divide routing world into 3 parts topology IETF ISO/OSI same link or

More information

OSPFv2 deep dive. Михайловский Василий Cisco TAC Poland Ноябрь 17, 2015

OSPFv2 deep dive. Михайловский Василий Cisco TAC Poland Ноябрь 17, 2015 OSPFv2 deep dive Михайловский Василий vamikhai@cisco.com Cisco TAC Poland Ноябрь 17, 2015 Содержание TBD OSPFv2 transport Using IP-multicast 224.0.0.5 and 224.0.0.6; Protocol number 89; Unicast for immediate

More information

Redesde Computadores(RCOMP)

Redesde Computadores(RCOMP) Redesde Computadores(RCOMP) Lecture 06 2016/2017 IPv4 routeing. Static routeing and dynamic routeing. Routeing protocols: RIP, RIPv2, EIGRP and OSPF. Autonomous systems and route redistribution Instituto

More information

Examination. ANSWERS IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491

Examination. ANSWERS IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491 Examination ANSWERS IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491 Date: October 21st 2008 10:00 13:00 a) No help material is allowed

More information

IT-Operation (2) OSPF. Who am I

IT-Operation (2) OSPF. Who am I IT-Operation (2) OSPF yasu@wide.ad.jp Who am I Name: Yasuhiro Ohara 3rd grade of doctoral course in KEIO Univ. Author of Zebra ospf6d One of WIDE 6Bone operators developer or researcher rather than operator

More information

Alcatel-Lucent 7705 SERVICE AGGREGATION ROUTER OS RELEASE 5.0 ROUTING PROTOCOLS GUIDE ROUTING PROTOCOLS GUIDE

Alcatel-Lucent 7705 SERVICE AGGREGATION ROUTER OS RELEASE 5.0 ROUTING PROTOCOLS GUIDE ROUTING PROTOCOLS GUIDE ROUTING PROTOCOLS GUIDE Alcatel-Lucent 7705 SERVICE AGGREGATION ROUTER OS RELEASE 5.0 ROUTING PROTOCOLS GUIDE Alcatel-Lucent Proprietary This document contains proprietary information of Alcatel-Lucent

More information

CCNP 1: Advanced Routing

CCNP 1: Advanced Routing Scope and Sequence CCNP 1: Advanced Routing Cisco Networking Academy Program Version 3.1 TABLE OF CONTENTS CCNP 1: ADVANCED ROUTING...1 TARGET AUDIENCE...3 PREREQUISITES...3 COURSE DESCRIPTION...3 COURSE

More information

Configuring OSPF. Finding Feature Information. Last Updated: June 24, 2011

Configuring OSPF. Finding Feature Information. Last Updated: June 24, 2011 Configuring OSPF Finding Feature Information Configuring OSPF Last Updated: June 24, 2011 This module describes how to configure Open Shortest Path First (OSPF). OSPF is an Interior Gateway Protocol (IGP)

More information

4A Alcatel-Lucent. Alcatel-Lucent Interior Routing Protocols and High Availability

4A Alcatel-Lucent. Alcatel-Lucent Interior Routing Protocols and High Availability Alcatel-Lucent 4A0-101 Alcatel-Lucent Interior Routing Protocols and High Availability Download Full Version : http://killexams.com/pass4sure/exam-detail/4a0-101 QUESTION: 297 Click on the exhibit. In

More information

Command Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

Command Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents Table of Contents Table of Contents Chapter 1 Static Routing Configuration Commands... 1-1 1.1 Static Routing Configuration Commands... 1-1 1.1.1 delete static-routes all... 1-1 1.1.2 ip route-static...

More information

Juniper Exam JN0-643 Enterprise Routing and Switching, Professional (JNCIP-ENT) Version: 13.0 [ Total Questions: 221 ]

Juniper Exam JN0-643 Enterprise Routing and Switching, Professional (JNCIP-ENT) Version: 13.0 [ Total Questions: 221 ] s@lm@n Juniper Exam JN0-643 Enterprise Routing and Switching, Professional (JNCIP-ENT) Version: 13.0 [ Total Questions: 221 ] Topic 1, Volume A Question No : 1 - (Topic 1) Which connection method do OSPF

More information

CSCD 433/533 Advanced Networks Spring 2016

CSCD 433/533 Advanced Networks Spring 2016 CSCD 433/533 Advanced Networks Spring 2016 Lecture 13 Router Algorithms and Design Chapter 5 1 Topics Router Algorithms Routing in General Hierarchical routing Interior Gateway Protocols OSPF mention of

More information

Explanation: In order to verify proper route redistribution, use the "show ip route" command on all routers

Explanation: In order to verify proper route redistribution, use the show ip route command on all routers QUESTION 401 The 192.168.0.0/16 network is not being propagated throughout the network via BGP as expected. Observe the BGP configuration commands from the advertising router shown below. Router bgp 65111

More information

Agenda DUAL STACK DEPLOYMENT. IPv6 Routing Deployment IGP. MP-BGP Deployment. OSPF ISIS Which one?

Agenda DUAL STACK DEPLOYMENT. IPv6 Routing Deployment IGP. MP-BGP Deployment. OSPF ISIS Which one? DUAL STACK DEPLOYMENT Alvaro Retana (alvaro.retana@hp.com) Distinguished Technologist 2010 2011 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice

More information

Configuring Networking Protocols

Configuring Networking Protocols 11 CHAPTER This chapter describes how to configure the ML-Series card for supported IP routing protocols. It is intended to provide enough information for a network administrator to get the protocols up

More information

FiberstoreOS IP Routing Configuration Guide

FiberstoreOS IP Routing Configuration Guide FiberstoreOS IP Routing Configuration Guide Contents 1 Configuring IP Unicast-Routing... 6 1.1 Overview...6 1.2 Topology... 6 1.3 Configuration... 6 1.4 Validation... 8 2 Configuring RIP... 10 2.1 Overview...10

More information

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation: IPv6 Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation: header format helps speed processing/forwarding header changes to facilitate QoS IPv6 datagram format:

More information

A Commands. Send comments to

A Commands. Send comments to This chapter describes the Cisco NX-OS Open Shortest Path First (OSPF) commands that begin with A. UCR-555 area authentication (OSPF) area authentication (OSPF) To enable authentication for an Open Shortest

More information

OSPFv3 Address Families

OSPFv3 Address Families The Open Shortest Path First version 3 (OSPFv3) address families feature enables both IPv4 and IPv6 unicast traffic to be supported. With this feature, users may have two processes per interface, but only

More information

OSPFv3 Address Families

OSPFv3 Address Families The Open Shortest Path First version 3 (OSPFv3) address families feature enables both IPv4 and IPv6 unicast traffic to be supported. With this feature, users may have two processes per interface, but only

More information

PrepAwayExam. High-efficient Exam Materials are the best high pass-rate Exam Dumps

PrepAwayExam.   High-efficient Exam Materials are the best high pass-rate Exam Dumps PrepAwayExam http://www.prepawayexam.com/ High-efficient Exam Materials are the best high pass-rate Exam Dumps Exam : 4A0-101 Title : Alcatel-Lucent Interior Routing Protocols and High Availability Vendor

More information

OSPFv3 Address Families

OSPFv3 Address Families The Open Shortest Path First version 3 (OSPFv3) address families feature enables both IPv4 and IPv6 unicast traffic to be supported. With this feature, users may have two processes per interface, but only

More information

ABR (Area Border Router), 206, 216 access, dedicated networks, 23 access layer, three-layer hierarchical design model, 6

ABR (Area Border Router), 206, 216 access, dedicated networks, 23 access layer, three-layer hierarchical design model, 6 1358_fmi.book Page 460 Thursday, May 27, 2004 2:21 PM A ABR (Area Border Router), 206, 216 access, dedicated networks, 23 access layer, three-layer hierarchical design model, 6 access lists, scalable networks,

More information

Implementing Cisco IP Routing (ROUTE)

Implementing Cisco IP Routing (ROUTE) Implementing Cisco IP Routing (ROUTE) Foundation Learning Guide Foundation learning for the ROUTE 642-902 Exam Diane Teare Cisco Press 800 East 96th Street Indianapolis, IN 46240 Implementing Cisco IP

More information

FiberstoreOS IP Routing Configuration Guide

FiberstoreOS IP Routing Configuration Guide FiberstoreOS IP Routing Configuration Guide Contents 1 Configuring IP Unicast-Routing... 1 1.1 Overview... 1 1.2 Topology...1 1.3 Configuration... 2 1.4 Validation... 3 2 Configuring RIP...5 2.1 Overview...

More information

IP Routing: OSPF Configuration Guide, Cisco IOS XE Release 3E

IP Routing: OSPF Configuration Guide, Cisco IOS XE Release 3E Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 THE SPECIFICATIONS AND INFORMATION

More information

KTHNOC, OSPF lab, rev: OSPF-lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature

KTHNOC, OSPF lab, rev: OSPF-lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature KTHNOC OSPF-lab Juniper version Group Nr Name1 Name2 Name3 Name4 Date Grade Instructor s Signature Table of Contents 1 Goals...3 2 Lab report...3 3 Preparations...3 3.1Preparations for area part...4 4

More information

How To Configure Basic OSPFv3 Scenarios

How To Configure Basic OSPFv3 Scenarios How To Configure Basic OSPFv3 Scenarios Contents 1. Contents...... 1 2. Introduction...... 2 3. OSPFv3 Basic Configuration...... 3 Commands for basic OSPFv3 configuration... 4 OSPFv3 basic configuration

More information

MikroTik RouterOS Training. Routing. Schedule. Instructors. Housekeeping. Introduce Yourself. Course Objective 7/4/ :00 10:30 Morning Session I

MikroTik RouterOS Training. Routing. Schedule. Instructors. Housekeeping. Introduce Yourself. Course Objective 7/4/ :00 10:30 Morning Session I MikroTik RouterOS Training Routing Schedule 09:00 10:30 Morning Session I 10:30 11:00 Morning Break 11:00 12:30 Morning Session II 12:30 13:30 Lunch Break 13:30 15:00 Afternoon Session I 15:00 15:30 Afternoon

More information

FSOS IP Routing Configuration Guide

FSOS IP Routing Configuration Guide FSOS IP Routing Configuration Guide Contents 1 Configuring IP Unicast-Routing... 6 1.1 Overview... 6 1.2 Topology...6 1.3 Configuration... 7 1.4 Validation... 8 2 Configuring RIP...10 2.1 Overview... 10

More information

CompSci 356: Computer Network Architectures. Lecture 13: Dynamic routing protocols: Link State Chapter 3.3.3, Xiaowei Yang

CompSci 356: Computer Network Architectures. Lecture 13: Dynamic routing protocols: Link State Chapter 3.3.3, Xiaowei Yang CompSci 356: Computer Network Architectures Lecture 13: Dynamic routing protocols: Link State Chapter 3.3.3, 3.2.9 Xiaowei Yang xwy@cs.duke.edu Today Clarification on RIP Link-state routing Algorithm Protocol:

More information