[Top] [Prev] [Next] [Bottom]

Chapter 1

Fundamentals of Bridging


This chapter discusses basic information about bridges and bridge operation. It includes the following sections:

About Bridges

Bridges and Routers

Bridging Methods

How Bridges Work

About Bridges

A bridge is a device that links two or more Local Area Networks (LANs). The bridge accepts data frames from each connected network and then decides whether to forward each frame based on the Medium Access Control (MAC) frame.

You can use bridges to link homogeneous or heterogeneous networks. Homogeneous means that the connected networks use the same bridging method and media types. Heterogeneous means that the connected networks mix different bridging methods and media types, and offer more configuration options. Figure 1-1 illustrates homogeneous and heterogeneous bridging configurations.

Figure 1-1 Homogeneous and Heterogeneous Bridging Configurations

Bridges and Routers

Bridges and routers connect network segments. However, each device uses a different method to establish and maintain the LAN to LAN connections. Routers connect LANs at layer 3 (network layer) of the OSI model while bridges connect LANs at layer 2 (data link layer).

Router Connections

Routers connect distant and diverse LANs more intelligently using network layer protocols. Because of the in-depth network topology related information available at network layer, using routers to connect large networks is recommended.

You must route when a protocol is routable. For example, you must route when mixing Ethernet and Token Ring with protocols that use MAC information in the upper layers. Examples of such protocols are IPX, VINES, and AppleTalk.

Bridge Connections

Bridges connect LANs across a physical link. This connection is essentially transparent to the host connected on the network.

A bridge acts as a relay for frames between networks at the data link layer. The data link layer maintains physical addressing schemes, line discipline, topology reporting, error notification, flow control, and ordered delivery of data frames. The principal service provided by the data link layer to the higher layers is error detection and control. With a fully functional data link layer protocol, the next higher layer may assume virtually error-free transmission over the link.

You must bridge when the protocol is non-routable, that is, it carries no network layer. Examples of such protocols are NetBIOS, SNA, NetBEUI, LAT, LAST, LAD, and LAVC.

Advantages of Bridging

Isolation from upper-layer protocols is one of the advantages of bridging. Since bridges function at the data link layer, they are not concerned with looking at the protocol information that occurs at the upper layers. This provides lower processing overhead and fast communication of network layer protocol traffic.

Bridges can also filter frames based on layer 2 fields. This means that you can configure the bridge to accept and forward only certain type of frames or only frames that originate from a particular network. Filters are very useful for maintaining effective traffic flow.

Bridges are advantageous when dividing large networks into manageable segments. The advantages of bridging in large networks can be summed up as follows:

Bridging Interfaces

Bridging interfaces include combinations of one or more of the following:

It is important to note that a bridge configuration over a serial line should be consistent at both end points. This means that you must configure both end points as follows:

It is best if you configure the serial line for both bridging methods if you want mixed bridging. Make sure that routers are consistent in their bridging method or in their routing of particular protocols.

Bridging Methods

Bridging is comprised of two pure protocols or methodologies: Transparent Bridging (STB), and Source Route Bridging (SRB).

You can use STB and SRB alone or in combination to meet your requirements regardless of media or network topology. These combinations are Source Route Transparent Bridging (SRT), Source Route-Transparent Bridging (SR-TB Conversion), and Proteon's Adaptive Source Route Transparent Bridging (ASRT).

Note: SRT and ASRT both require Content Addressable Memory (CAMs) in order to bridge transparently over Token Ring in CNX platforms.

The decision to choose one method of bridging over another depends on the network's topology and the applications used on the end stations.

How Bridges Work

Bridges function at the MAC level. According to the IEEE 802 LAN standard, all station addresses are specified at the MAC level. The following examples show how a bridge functions at the MAC level.

Example 1: Local Bridge Connecting Two LANS

Figure 1-2 shows a two-port bridge model connecting end stations on two separate LANs. In this example, the local bridge connects LANs with identical LLC and MAC layers (i.e., two Token Ring LANs).

The bridge captures MAC frames whose destination addresses are not on the local LAN and forwards them to the appropriate destination LAN. Throughout this process, there is a dialogue between the peer LLC entities in the two end stations. Architecturally, the bridge need not contain an LLC layer since the function of the LLC layer is merely to relay MAC frames.

Figure 1-2 Two-port Bridge Connecting Two LANs

Example 2: Remote Bridging over a Serial Link

Figure 1-3 shows a pair of bridges connected over a serial link. These remote bridges connect LANs with identical LLC and MAC layers (i.e., two Token Ring LANs).

Bridge A captures a MAC frame whose destination address is not on the local LAN and then sends it to bridge B across a serial line using the appropriate serial line encapsulation to identify the bridge frame type. Remote bridge B decapsulates the serial line header and forwards the frame to the local LANs. Throughout this process, there is a dialogue between the peer LLC entities in the two end stations.

Figure 1-3 Bridging Over a Point-to-Point Link

Data is encapsulated as the bridges communicate data over the serial link. Figure 1-4 illustrates the encapsulation process.

Figure 1-4 Data Encapsulation Over a Point-to-Point Link

Encapsulation proceeds as follows:

1. End station A provides data to its LLC.
2. LLC appends a header and passes the resulting data unit to the MAC level.
3. MAC then appends a header and trailer to form a MAC frame. Bridge A captures the frame.
4. Bridge A does not strip off the MAC fields because its function is to relay the intact MAC frame to the destination LAN. In the point-to-point configuration, however, the bridge appends a link layer (e.g., HDLC) header and trailer and transmits the MAC frame across the link.
When the data frame reaches Bridge B (the target bridge), the link fields are stripped off and Bridge B transmits the original, unchanged MAC frame to its destination, end station B.

MAC Bridge Frame Formats

As mentioned, bridges interconnect LANs by relaying data frames between the separate MAC entities of the bridged LANs. MAC frames provide the necessary forwarding information in the form of source and destination addresses. This information is essential for the successful transmission and reception of data.

IEEE 802 supports three types of MAC frames:

Note: A separate frame format is used at the LLC level. This frame is then embedded in the appropriate MAC frame.

Figure 1-5 shows the CSMA/CD and Token Ring MAC frame formats supported by the bridges. The specific frames are detailed in the following section.

Figure 1-5 MAC Frame Format Samples

CSMA/CD (Ethernet) MAC Frames

The following information describes each of the fields found in CSMA/CD (Ethernet) MAC frames:

The portion of the frame that is actually bridged consists of the following fields:

Token Ring MAC Frames

The following information describes each of the fields found in Token Ring MAC frames:

The portion of the frame that is actually bridged consists of the following fields:

Finally, the End Delimiter (ED) contains the error detection (E) bit, and the intermediate frame (I) bit. The I bit indicates that this is the frame other than the final one of a multiple frame transmission. The Frame Status (FS) contains the address recognized (A) and frame copied (C) bits.

Pseudo-serial Ethernet Frames

Pseudo-serial Ethernet is an optional mode of operation. It provides for the encapsulation of any routed protocol on a bridging router proprietary serial line so that it can be forwarded within an Ethernet encapsulated frame. This allows the protocol to communicate with a pure bridge on the opposite end of the serial line.

This mode makes the serial lines appear as an Ethernet interface to the configured routing protocols. The handler uses Ethernet (or IEEE 802.3, as appropriate) encapsulations, thus limiting the protocols to the maximum Ethernet frame size. These Ethernet frames are then sent and received as bridged Ethernet frames on the serial line. Any frames arriving on the routed protocol code points from the serial lines are ignored, and bridged Ethernet frames will be passed to the bridging or routing forwarders as appropriate.

This encapsulation is normally not necessary with the bridging routers at both ends of the serial line, since both can be configured to route the same set of protocols over the same serial line. It can be valuable however with the Racal-Milgo RNX Ethernet bridge, which supports the bridging router proprietary serial line protocol.



[Top] [Prev] [Next] [Bottom]

docs@openroute.com
Copyright © 1997, OpenROUTE Networks, Inc. All rights reserved. OpenROUTE 2.1