www.networkbulls.com
Best Institute for CCNA CCNP CCSP CCIP CCIE Training in India
M-44, Old Dlf, Sector-14 Gurgaon, Haryana, India
Call: +91-9654672192
RFC 2740 describes OSPF Version 3 for routing in IPv6 networks. Note that OSPFv3 is for IPv6 networks only and that it is not backward-compatible with OSPFv2 (used in IPv4). OSPF algorithms and mechanisms, such as flooding, router types, designated router election, areas, stub and NSSA, and shortest path first (SPF) calculations, remain the same. Changes are made for OSPF to support IPv6 addresses, address hierarchy, and IPv6 for transport. OSPFv3 uses multicast group FF02::5 for all OSPF routers and FF02::6 for all designated routers.
OSPFv3 Changes from OSPFv2
The following are the major changes for OSPFv3:
- Support for IPv6 addressing— New LSAs created to carry IPv6 addresses and prefixes.
- New Link LSA— For local-link flooding scope.
- New Intra-Area-Prefix LSA— Carries all the IPv6 prefix information. Similar to OSPFv2 router and network LSAs.
Note
OSPFv3 Areas and Router Types
OSPFv3 retains the same structure and concepts as OSPFv2. The area topology, interfaces, neighbors, link-state database, and routing table remain the same. RFC 2740 does not define new area types or router types.
The OSPF areas shown in Figure 11-2 and the router types shown in Figure 11-3 remain the same. The router types in relation to the OSPF areas are
OSPFv3 Link State Advertisements
OSPFv3 retains the LSA types used by OSPFv2 with some modifications and introduces two new LSAs: Link LSA and Intra-Area-Prefix.
All LSAs use a common 20-byte header that indicates the LS type, the advertising router, and the sequence number. Figure 11-7 shows the format of the LSA header.
The LS type indicates the function performed by this LSA. This field includes a U bit and S2 and S1 bits. When the U bit is set to 0, the LSA is only flooded locally. When the U bit is set to 1, the LSA is stored and flooded. The S1 and S2 bits have the functions indicated in Table 11-4.
| S2 S1 | Flooding Scope |
|---|---|
| 00 | Link-local scope |
| 01 | Flood to all routers within the area |
| 10 | Flood to all routers within the AS |
| 11 | Reserved |
The Link State ID is used with the LS type and advertising router to identify the link-state database. The Advertising Router field contains the 32-bit router ID of the router that generated the LSA. The LS Sequence Number is used to detect old or duplicate LSAs. The LS Checksum is for error checking. The Length field indicates the length of the LSA, including the header.
Table 11-5 summarizes the nine LSAs that can be used in OSPF. Most LSAs retain the same function used in OSPFv2 for IPv4. Each OSPFv3 LSA is described in more detail following the table.
Router LSAs describe the cost and state of all the originating router's interfaces. These LSAs are flooded within the area only. Router LSAs are LS type 0x2001. No IPv6 prefixes are contained in this LSA.
Network LSAs are originated by DRs in broadcast or NBMA networks. They describe all routers attached to the link that are adjacent to the DR. These LSAs are flooded within the area only. The LS type is 0x2002. No IPv6 prefixes are contained in this LSA.
Inter-Area-Prefix LSAs describe routes to IPv6 prefixes that belong to other areas. They are similar to OSPFv2 type 3 summary LSAs. The Inter-Area-Prefix LSA is originated by the ABR and has an LS type of 0x2003. It is also used to send the default route in stub areas. These LSAs are flooded within the area only.
Each Inter-Area-Router LSA describes a route to a router in another area. It is similar to OSPF type 4 summary LSAs. It is originated by the ABR and has an LS type of 0x2004. These LSAs are flooded within the area only.
AS-External LSAs describe networks that are external to the autonomous system (AS). These LSAs are originated by ASBRs, have an LS type of 0x4005, and thus are flooded to all routers in the AS.
The group-membership LSA describes the directly attached networks that contain members of a multicast group. This LSA is limited to the area and has an LS type of 0x2006. This LSA is described further in RFC 1584.
Type-7 LSAs describe networks that are external to the AS, but they are flooded to the NSSA area only. NSSAs are covered in RFC 1587. This LSA is generated by the NSSA ASBR and has a type of 0x2007.
Link LSAs describe the router's link-local address and a list of IPv6 prefixes associated with the link. This LSA is flooded to the local link only and has a type of 0x0008.
The Intra-Area-Prefix LSA is a new LSA type that is used to advertise IPv6 prefixes associated with a router, a stub network, or an associated transit network segment. This LSA contains information that used to be part of the router-LSAs and network-LSAs.
OSPFv3 Summary
OSPFv3 is used in large enterprise IPv6 networks. The network topology must be hierarchical. OSPF is used in the enterprise campus building access, distribution, and core layers. OSPF is also used in the enterprise data center, WAN/MAN, and branch offices.
- Uses IPv6 Next Header 89.
- Sends partial route updates only when changes occur.
- Routes are labeled as intra-area, interarea, external Type 1, or external Type 2.
- Uses IPv6 for authentication.
- Uses the Dijkstra algorithm to calculate the SPF tree.
- Default administrative distance is 110.
- Uses multicast address FF02::5 (ALLSPFRouters).
- Uses multicast address FF02::6 (ALLDRouters).
- Recommended for large IPv6 networks.
No comments:
Post a Comment