Bridging and Switching Basics
Bridging and Switching Basics
Topics summarized here include general link layer device operations, local and remote bridging, ATM switching, and LAN switching. Articles in Bridging and Switching address specific technologies in more detail. Guide Contents Internetworking Basics LAN Technologies WAN Technologies Internet Protocols Bridging and Switching Routing Network Management Voice/Data Integration Technologies Wireless Technologies Cable Access Technologies Dial-up Technology Security Technologies Quality of Service Networking Network Caching Technologies IBM Network Management Multiservice Access Technologies
Contents
1 What Are Bridges and Switches? 2 Link Layer Device Overview 3 Types of Bridges 3.1 Figure: Local and Remote Bridges Connect LAN Segments in Specific Areas 3.2 Figure: A MAC-Layer Bridge Connects the IEEE 802.3 and IEEE 802.5 Networks 4 Types of Switches 4.1 ATM Switch 4.1.1 Figure: Multi-LAN Networks Can Use an ATM-Based Backbone When Switching Cells 4.2 LAN Switch 4.2.1 Figure: A LAN Switch Can Link 10-Mbps and 100-Mbps Ethernet Segments 5 Review Questions 6 For More Information
Contents
Bridging_and_Switching_Basics Bridges became commercially available in the early 1980s. At the time of their introduction, bridges connected and enabled packet forwarding between homogeneous networks. More recently, bridging between different networks has also been defined and standardized. Several kinds of bridging have proven important as internetworking devices. Transparent bridging is found primarily in Ethernet environments, while source-route bridging occurs primarily in Token Ring environments. Translational bridging provides translation between the formats and transit principles of different media types (usually Ethernet and Token Ring). Finally, source-route transparent bridging combines the algorithms of transparent bridging and source-route bridging to enable communication in mixed Ethernet/Token Ring environments. Today, switching technology has emerged as the evolutionary heir to bridging-based internetworking solutions. Switching implementations now dominate applications in which bridging technologies were implemented in prior network designs. Superior throughput performance, higher port density, lower per-port cost, and greater flexibility have contributed to the emergence of switches as replacement technology for bridges and as complements to routing technology.
Bridging_and_Switching_Basics different media-for example, a 10-Mbps Ethernet LAN and a 100-Mbps Ethernet LAN can be connected using a switch. Some switches support cut-through switching, which reduces latency and delays in the network, while bridges support only store-and-forward traffic switching. Finally, switches reduce collisions on network segments because they provide dedicated bandwidth to each network segment.
Types of Bridges
Bridges can be grouped into categories based on various product characteristics. Using one popular classification scheme, bridges are either local or remote. Local bridges provide a direct connection between multiple LAN segments in the same area. Remote bridges connect multiple LAN segments in different areas, usually over telecommunications lines. Figure: Local and Remote Bridges Connect LAN Segments in Specific Areas illustrates these two configurations.
Figure: Local and Remote Bridges Connect LAN Segments in Specific Areas
Remote bridging presents several unique internetworking challenges, one of which is the difference between LAN and WAN speeds. Although several fast WAN technologies now are establishing a presence in geographically dispersed internetworks, LAN speeds are often much faster than WAN speeds. Vast differences in LAN and WAN speeds can prevent users from running delay-sensitive LAN applications over the WAN. Remote bridges cannot improve WAN speeds, but they can compensate for speed discrepancies through a sufficient buffering capability. If a LAN device capable of a 3-Mbps transmission rate wants to communicate with a device on a remote LAN, the local bridge must regulate the 3-Mbps data stream so that it does not overwhelm the 64-kbps serial link. This is done by storing the incoming data in onboard buffers and sending it over the serial link at a rate that the serial link can accommodate. This buffering can be achieved only for short bursts of data that do not overwhelm the bridge's buffering capability. The Institute of Electrical and Electronic Engineers (IEEE) differentiates the OSI link layer into two separate sublayers: the Media Access Control (MAC) sublayer and the Logical Link Control (LLC) sublayer. The MAC sublayer permits and orchestrates media access, such as contention and token passing, while the LLC sublayer deals with framing, flow control, error control, and MAC sublayer addressing. Some bridges are MAC-layer bridges, which bridge between homogeneous networks (for example, IEEE 802.3 and IEEE 802.3), while other bridges can translate between different link layer protocols (for example, IEEE 802.3 and IEEE 802.5). The basic mechanics of such a translation are shown in Figure: A MAC-Layer Bridge Connects the IEEE 802.3 and IEEE 802.5 Networks.
Bridging_and_Switching_Basics
Figure: A MAC-Layer Bridge Connects the IEEE 802.3 and IEEE 802.5 Networks
The above figure illustrates an IEEE 802.3 host (Host A) formulating a packet that contains application information and encapsulating the packet in an IEEE 802.3-compatible frame for transit over the IEEE 802.3 medium to the bridge. At the bridge, the frame is stripped of its IEEE 802.3 header at the MAC sublayer of the link layer and is subsequently passed up to the LLC sublayer for further processing. After this processing, the packet is passed back down to an IEEE 802.5 implementation, which encapsulates the packet in an IEEE 802.5 header for transmission on the IEEE 802.5 network to the IEEE 802.5 host (Host B). A bridge's translation between networks of different types is never perfect because one network likely will support certain frame fields and protocol functions not supported by the other network.
Types of Switches
Switches are data link layer devices that, like bridges, enable multiple physical LAN segments to be interconnected into a single larger network. Similar to bridges, switches forward and flood traffic based on MAC addresses. Any network device will create some latency. Switches can use different forwarding techniques-two of these are store-and-forward switching and cut-through switching. In store-and-forward switching, an entire frame must be received before it is forwarded. This means that the latency through the switch is relative to the frame size-the larger the frame size, the longer the delay through the switch. Cut-through switching allows the switch to begin forwarding the frame when enough of the frame is received to make a forwarding decision. This reduces the latency through the switch. Store-and-forward switching gives the switch the opportunity to evaluate the frame for errors before forwarding it. This capability to not forward frames containing errors is one of the advantages of switches over hubs. Cut-through switching does not offer this advantage, so the switch might forward frames containing errors. Many types of switches exist, including ATM switches, LAN switches, and various types of WAN switches. Figure: A MAC-Layer Bridge Connects the IEEE 802.3 and IEEE 802.5 Networks 4
Bridging_and_Switching_Basics
ATM Switch
Asynchronous Transfer Mode (ATM) switches provide high-speed switching and scalable bandwidths in the workgroup, the enterprise network backbone, and the wide area. ATM switches support voice, video, and data applications, and are designed to switch fixed-size information units called cells, which are used in ATM communications. Figure: Multi-LAN Networks Can Use an ATM-Based Backbone When Switching Cells illustrates an enterprise network comprised of multiple LANs interconnected across an ATM backbone.
Figure: Multi-LAN Networks Can Use an ATM-Based Backbone When Switching Cells
LAN Switch
LAN switches are used to interconnect multiple LAN segments. LAN switching provides dedicated, collision-free communication between network devices, with support for multiple simultaneous conversations. LAN switches are designed to switch data frames at high speeds. Figure: A LAN Switch Can Link 10-Mbps and 100-Mbps Ethernet Segments illustrates a simple network in which a LAN switch interconnects a 10-Mbps and a 100-Mbps Ethernet LAN.
Figure: A LAN Switch Can Link 10-Mbps and 100-Mbps Ethernet Segments
ATM Switch
Bridging_and_Switching_Basics
Review Questions
Q - What layer of the OSI reference model to bridges and switches operate. A - Bridges and switches are data communications devices that operate principally at Layer 2 of the OSI reference model. As such, they are widely referred to as data link-layer devices. Q - What is controlled at the link layer? A - Bridging and switching occur at the link layer, which controls data flow, handles transmission errors, provides physical (as opposed to logical) addressing, and manages access to the physical medium. Q - Under one popular classification scheme what are bridges classified as? A - Local or Remote: Local bridges provide a direct connection between multiple LAN segments in the same area. Remote bridges connect multiple LAN segments in different areas, usually over telecommunications lines. Q - What is a switch? A - Switches are data link-layer devices that, like bridges, enable multiple physical LAN segments to be interconnected into a single larger network.
Figure: A LAN Switch Can Link 10-Mbps and 100-Mbps Ethernet Segments