Forwarding Information Base

Forwarding Information Base

A Forwarding Information Base (FIB), also known as a forwarding table, is most commonly used in network bridging, routing, and similar functions to find the proper interface to which the input interface should send a packet to be transmitted by the router.

In contrast to Routing Information Bases (RIB), also known as routing tables, FIBs are optimized for fast lookup of destination addresses. Earlier implementations cached only a subset of the routes most frequently used in actual forwarding, and this worked reasonably well for enterprises where there is a meaningful most-frequently-used subset. Routers used for accessing the entire Internet, however, experienced severe performance degradation in refreshing a small cache, and various implementations moved to having FIBs in one-to-one correspondence with the RIB [ [http://ieeexplore.ieee.org/iel5/8454/26643/01189046.pdf Wire Speed Packet Classification Without TCAM: One More Register (And A Bit Of Logic) Is Enough] Q. Dong "et al", ACM SIGCOMM 2006] . RIBs are optimized for efficient updating by routing protocols and other control plane methods, and contain the full set of routes learned by the router.

FIBs may also be implemented with fast hardware lookup mechanisms, such as Ternary Content Addressable Memory (TCAM). TCAM, however, is quite expensive, and tends to be used more in edge routers with relatively small numbers of routes than in routers that must carry full Internet routing tables, with supplementary internal routes [ [http://psg.com/lists/rrg/2007/msg00126.html RAM lookup FIB & prefixes > /24] , R. Whittle, Internet Research Task Force (IRTF) Routing Research Group mailing list, 2007] .

Applications for Data Link and other Link-Local Technologies

A link-local technology, such as Media Access Control (MAC) protocols on local area networks, has an address that has no significance beyond a single medium. In contrast, network layer addresses, such as IP, are conceptually similar on all media in the routing domain.

Besides IEEE 802.1 bridging of MAC layer addresses, other link-local technologies using forwarding tables include frame relay and Asynchronous Transfer Mode switches, and Multiprotocol Label Switching. ATM has both link-local addresses and addresses that have end-to-end significance in the ATM domain.

Bridging

MAC layer bridges learn the interface on which they first saw a particular source address, and associate that interface with that address. When the bridge subsequently receives a frame with a destination address in its forwarding table, it sends the frame out the interface stored in the forwarding table.

If the bridge has not seen the address yet, it floods the frame out all active interfaces (as is also done with broadcast frames), except for the interface on which the frame was received.

Frame Relay

While the exact mechanics of a forwarding table is implementation-specific, the general model is that Frame Relay switches have statically defined forwarding tables, one per interface. When a frame with a given Data Link Connection Identifier (DLCI) is received on one interface, the table associated with that interface gives the outgoing interface, and the new DLCI to insert into the frame's address field.

Asynchronous Transfer Mode

ATM switches have link-level forwarding tables much like those used in Frame Relay. Rather than a DLCI, however, interfaces have forwarding tables that specify the outgoing interface, Virtual Path Identifier, and Virtual Circuit Identifier. These tables may be configured statically, or they can be distributed by the Private Network-to-Network Interface (PNNI) protocol, an ATM routing protocol with considerable similarity to the Open Shortest Path First (OSPF) used for IP routing.

When PNNI is in use, the ATM switches at the edges of the ATM "cloud" will map one of the standard ATM end-to-end identifiers, such as an NSAP, to the next-hop VPI/VCI.

Multiprotocol Label Switching

MPLS, which has been called "ATM without cells" [ [http://www.certificationzone.com/cisco/newsletter/SL/interview_08-12-03.html Interview with the author (of an MPLS-based VPN article)] ,G. Pildush] , has many similarities, at the forwarding level, to ATM. The Label Edge Routers (LSR) at the edges of an MPLS cloud map between the end-to-end identifier, such as an IP address, and a link-local label.

At each MPLS hop, there is a forwarding table that tells the Label Switched Router (LSR) which outgoing interface is to receive the MPLS packet, and what label to use when sending the packet out that interface.

Applications in Network Layer Routing

FIBs in Ingress Filtering against Denial of Service

FIBs can also play a role in an Internet Best Current Practice of ingress filtering. Though the simplest form of implementing ingress filtering is to use access lists to drop packets with improper source addresses, use of access lists becomes difficult on routers with a large number of adjacent networks, and traditional access lists are not used in high-performance router forwarding paths.

While the IETF document BCP 38 on ingress filtering [ [http://www.ietf.org/rfc/rfc2827.txt Network Ingress Filtering: Defeating Denial of Service Attacks which employ IP Source Address Spoofing] , RFC2827, P. Ferguson & D. Senie, May 2000] does not specify a method of implementing source address filtering, some router vendors have implemented a mechanism which employs lookups in the router's tables to perform this check (see also ``reverse path filtering"). This is often implemented as a lookup in the FIB of the "source" address of the packet. If the interface has no route to the source address, the packet is assumed to be part of a denial of service attack, using a false or "spoofed" source address, and the router discards the packet.

When the router is multihomed, ingress filtering becomes more complex. There are perfectly reasonable operational scenarios in which a packet could arrive on one interface, but that specific interface might not have a route to the source address. For the routers near the edge of the Internet, packet filters can provide a simpler and more effective solution than methods which employ routing information lookupFact|date=October 2007, though this approach can be challenging when managing routers which are reconfigured often. Ingress filtering for multihomed routers [ [http://www.ietf.org/rfc/rfc3704.txt Ingress Filtering for Multihomed Networks] ,RFC 3704, F. Baker & P. Savola,March 2004] will accept the packet if there is a route back to its source address from "any" interface on the router. For this type of filtering, the router may also maintain an "adjacency table", also organized for fast lookup, that keeps track of the router interface addresses that are on all directly connected routers.

FIBs in Differentiated Services/Quality of Service Routing

IP Differentiated Services provides an additional method to select outgoing interfaces, based on a field [ [http://www.ietf.org/rfc/rfc2474.txt Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers] ,RFC 2474, K. Nichols "et al.",December 1998] that indicates the forwarding priority of the packet, as well as the preference of the packet to be dropped in the presence of congestion.

Routers that support differentiated service not only have to look up the output interface for the destination address, but need to send the packet to the interface that best matches the Differentiated Services requirements. In other words, as well as matching the destination address, the FIB has to match Differentiated Services Code Points (DSCP).

FIB Information for Additional Processing

Specific router implementations may, when a destination address or other FIB criterion is matched, specify other action to be done before forwarding (e.g., accounting or encryption), or applying an access control list that may cause the packet to be dropped.

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Forwarding plane — Cisco VIP 2 40, from an older generation of routers …   Wikipedia

  • Reverse path forwarding — (RPF) is a technique used in modern routers for the purposes of ensuring loop free forwarding of multicast packets in multicast routing and to help prevent IP address spoofing in unicast routing. Contents 1 Multicast RPF 2 Unicast RPF (uRPF) 2.1 …   Wikipedia

  • Cisco Express Forwarding — (CEF) is an advanced layer 3 switching technology used mainly in large core networks or the Internet to enhance the overall network performance. Function CEF is mainly used to increase packet switching speed by reducing the overhead and delays… …   Wikipedia

  • information processing — Acquisition, recording, organization, retrieval, display, and dissemination of information. Today the term usually refers to computer based operations. Information processing consists of locating and capturing information, using software to… …   Universalium

  • Routing control plane — In routing, the control plane is the part of the router architecture that is concerned with drawing the network map, or the information in a (possibly augmented) routing table that defines what to do with incoming packets. Control plane functions …   Wikipedia

  • Router — A router (pronEng| rautər in the USA, pronEng| ru:tər in the UK and Ireland, or either pronunciation in Australia and Canada) is a computer whose software and hardware are usually tailored to the tasks of routing and forwarding information.… …   Wikipedia

  • Control plane — In routing, the control plane is the part of the router architecture that is concerned with drawing the network map, or the information in a (possibly augmented) routing table that defines what to do with incoming packets. Control plane functions …   Wikipedia

  • Cisco IOS — This article is about Cisco Systems router/switch OS. For Apple s mobile/tablet OS, see iOS. For other uses, see IOS (disambiguation). Cisco IOS Company / developer Cisco Systems Working state Current Source model Closed source Latest stable …   Wikipedia

  • Routingtabelle — Eine Routingtabelle (auch Routing Information Base) ist eine elektronische Tabelle oder Datenbank in einem Netzwerkgerät, typischerweise einem Computer oder einem Router. Mit Hilfe dieser Einträge kann das Netzwerkgerät entscheiden, über welche… …   Deutsch Wikipedia

  • FIB — abbr. Forwarding Information Base (router, LAN, Internet) comp. abbr. Forwarding Information Base acronym Focused Ion Beam …   United dictionary of abbreviations and acronyms

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”