A non-broadcast multi-access environment is one where there are more than two routers without a native broadcast capability. Frame Relay is a popular technology that commonly uses a NBMA implementation. Other examples of NBMA technologies are X.25 and Asynchronous Transfer Mode (ATM). The most popular NBMA topology is frame relay, where a core router at a central site uses a single interface to connect several virtual circuits to several other sites over a frame cloud. A representation of this and other NBMA topologies is shown in Figure 4.9. Figure 4.9. NBMA topologies.
OSPF approaches an NBMA environment just like any other broadcast network such as Ethernet. Full- and partial-mesh topologies can become costly, however, because of the formula mentioned earlier in the "OSPF Broadcast Multi-Access Operation" section. To emulate broadcast behavior with a full mesh of 15 sites, for example, would entail 15x(151)=210 permanent virtual circuits (PVCs). Although a partial mesh is often used to alleviate some of these costs, the star topology is the most common and economically feasible logical configuration for frame relay. NBMA ModeThere are two formal modes of running OSPF over a NBMA topology according to RFC 2328: NBMA and point-to-multipoint. With NBMA mode, routers are usually configured in a full-mesh topology to establish the proper adjacencies and emulate broadcasting. In a full-mesh design, all the routers have virtual circuits established with all the other possible destinations in the network. Although this solution provides redundancy, it may be cost-prohibitive for some organizations. OSPF then imitates a broadcast environment by electing a DR and BDR for the NBMA topology, using the OSPF techniques discussed earlier. LSA updates and link-state acknowledgement (LSAck) packets are then flooded to all neighbors listed in the neighbor tables. This is actually a very efficient way to configure OSPF over NBMA when you have a limited number of neighbors. It offers more manageable link-state database sizes and generally decreased levels of traffic. It can be CPU and bandwidth intensive , however, in larger environments.
With OSPF running in NBMA mode, all routers are in a single subnet and neighbors must be statically defined at the outset to get the DR election process started. After the DR router is chosen , it generates an initial LSA for the network to get the ball rolling. There is one DR and one BDR per network segment so that when a change occurs it can be processed and flooded throughout the single OSPF area. The OSPF flooding process on a multi-access link happens according to the following four-step process:
SubinterfacesIt is also possible to break an NBMA network into additional logical subnets by using subinterfaces, particularly when a full mesh is not feasible because of campus design limitations, bandwidth constraints, or IP addressing issues. Using subinterfaces tends to be administratively complex and error-prone , so you might be better off running your OSPF over NBMA in point-to-multipoint mode. This scenario is addressed later in this chapter in the "Point-to-Point Mode" section.
Point-to-Multipoint ModeIn a nutshell , point-to-multipoint is really a collection of point-to-point links where routers identify their neighbor routers but do not elect DRs or BDRs. This provides an additional advantage of no added election traffic or LSAs being propagated for the network. In large networks, you get the added benefit of a reduction in the number of virtual circuits that need to be established as well. Point-to-multipoint is commonly used in partial mesh and sometimes star topologies (refer to Figure 4.9). Subinterfaces also come in handy with point-to-multipoint links. For example, assume that you are the network engineer for an organization. You have allocated a single subnet for your frame relay network and you would also like to avoid DR and BDR elections , subinterfaces, or manual neighbor configurations. Your internetwork is made up of four sites that are linked in a partial-mesh Frame Relay topology, as shown in Figure 4.10. Figure 4.10. Four sites connected in a hub-and-spoke, partial mesh frame relay topology using a single IP subnet.
Point-to-multipoint mode has the following benefits and characteristics:
In Figure 4.10, we use point-to-multipoint mode on all four routers on single interfaces (no subinterfaces) in a single subnet. This enables us to avoid having to manually configure neighbors as well as prevent DR and BDR elections. This mode can also be configured with the ip ospf network point-to-multipoint interface configuration command. Broadcast mode would require a DR/BDR election. Point-to-point mode with subinterfaces would not demand a DR/BDR election; however, it would need a separate subnet for each configured virtual circuit (VC). NBMA (frame relay) clouds can be fully meshed or arranged in many variations of hub-and-spoke and/or partially meshed topologies. OSPF, however, sees the NBMA cloud as a broadcast medium, so you must correctly configure OSPF to operate within the frame relay cloud. Cisco has defined additional NBMA modes to explain OSPF neighbor relationships that go beyond the standards. Cisco also defines a point-to-multipoint broadcast mode, broadcast mode, and point-to-point mode. Point-to-Multipoint Non-Broadcast ModePoint-to-multipoint non-broadcast mode is a Cisco-defined mode that extends the RFS 2328-compliant point-to-multipoint mode covered in the previous section. Some point-to-multipoint networks use non-broadcast media such as IP over ATM and frame relay switched virtual circuit (SVC) routers that do not perform dynamic neighbor discovery. Although you must define your neighbors with static configurations, you have the added flexibility of modifying the costs of the links to represent different bandwidths. The partial-mesh or star topologies are used in these environments and neighbors must have the same subnet number. The interface is configured with the ip ospf network point-to-multipoint nonbroadcast command. Broadcast ModeBroadcast mode is another Cisco-defined method for getting around having to list all the neighbors with a static configuration. The interface is configured with an ip ospf network broadcast command so it acts just as it does on a LAN; therefore the neighbors must belong to the same subnet. You should use a full-mesh topology here or else rig the DR election with an interface priority configuration. This is the default setting for a broadcast multi-access network such as Ethernet. Point-to-Point ModeThe point-to-point mode is typically implemented when you have only two nodes on your NBMA (frame relay) network. However, you can also implement it by using subinterfaces on NBMA networks with more than two nodes. Subinterfaces are configured with the ip ospf network point-to-point command and each point-to-point connection is one IP subnet. Table 4.3 reviews the key details for each mode. Table 4.3. OSPF over NBMA Modes (RFC- and Cisco-defined)
|