Bridging (networking)

A high-level overview of network bridging, using the ISO/OSI layers and terminology

Network bridging is the action taken by network equipment to create an aggregate network from either two or more communication networks, or two or more network segments.[1] If one or more segments of the bridged network are wireless, it is known as wireless bridging. Bridging is distinct from routing, which allows multiple different networks to communicate independently while remaining separate.[2]

A network bridge is networking hardware that connects multiple network segments. In the OSI model, bridging is performed in the first two layers, below the network layer.[3] Network segments that have an identical or very similar structure on the data link layer (L2) can usually be bridged together, e.g. various Ethernet speed rates (Fast Ethernet to Gigabit Ethernet) or Token Ring to Ethernet. This is in contrast to a simpler repeater that can only connect segments that have a nearly identical physical layer (L1), e.g. 10BASE-T to 10BASE2 or 100BASE-TX to 100BASE-FX.

There are four types of network bridging technologies: simple bridging, multiport bridging, learning or transparent bridging, and source route bridging.[4][5]

Simple bridging

A simple bridge connects two network segments, typically by operating transparently and deciding on a packet-by-packet basis whether or not to forward from one network to the other. A store and forward technique is typically used so, during forwarding, the packet integrity is verified on the source network and CSMA/CD delays are accommodated on the destination network. Contrary to repeaters that simply extend the maximum span of a segment, bridges only forward packets that are required to cross the bridge. Additionally, bridges reduce collisions by partitioning the collision domain.

Multiport bridging

A multiport bridge connects multiple networks and operates transparently to decide on a packet-by-packet basis whether and where to forward traffic. Like the simple bridge, a multiport bridge typically uses store and forward operation. The multiport bridge function serves as the basis for network switches.

Transparent bridging

A transparent bridge uses a forwarding database to send frames across network segments. The forwarding database is initially empty and entries in the database are built as the bridge receives frames. If an address entry is not found in the forwarding database, the frame is flooded to all other ports of the bridge, flooding the frame to all segments except the one from which it was received. By means of these flooded frames, the destination network will respond and a forwarding database entry will be created.

In the context of a two-port bridge, the forwarding database can be thought of as a filtering database. A bridge reads a frame's destination address and decides to either forward or filter. If the bridge determines that the destination node is on another segment on the network, it forwards (retransmits) the frame to that segment. If the destination address belongs to the same segment as the source address, the bridge filters (discards) the frame. As nodes transmit data through the bridge, the bridge establishes a filtering database of known MAC addresses and their locations on the network. The bridge uses its filtering database to determine whether a packet should be forwarded or filtered.

Transparent bridging is also applied to devices with more than two ports. As an example, consider three hosts, A, B and C and a bridge. The bridge has three ports. A is connected to bridge port 1, B is connected to bridge port 2, C is connected to bridge port 3. A sends a frame addressed to B to the bridge. The bridge examines the source address of the frame and creates an address and port number entry for A in its forwarding table. The bridge examines the destination address of the frame and does not find it in its forwarding table so it floods it to all other ports: 2 and 3. The frame is received by hosts B and C. Host C examines the destination address and ignores the frame. Host B recognizes a destination address match and generates a response to A. On the return path, the bridge adds an address and port number entry for B to its forwarding table. The bridge already has A's address in its forwarding table so it forwards the response only to port 1. Host C or any other hosts on port 3 are not burdened with the response. Two-way communication is now possible between A and B without any further flooding.

Both source and destination addresses are used in this algorithm: source addresses are recorded in entries in the table, while destination addresses are looked up in the table and matched to the proper segment to send the frame to.

The technology was originally developed by the Digital Equipment Corporation (DEC) in the 1980s.[6]

See also

References

  1. "Traffic regulators: Network interfaces, hubs, switches, bridges, routers, and firewalls" (PDF). Cisco Systems. 1999-09-14. Retrieved 2012-07-27.
  2. "What is a Network Switch vs. a Router?". Cisco Systems. Retrieved 2012-07-27.
  3. "RFC 1286 - Definitions of Managed Objects for Bridges". Tools.ietf.org. 1989-07-14. Retrieved 2013-10-19.
  4. "Unknown". manipalitdubai.com. Archived from the original (PPT) on 2014-05-13. Retrieved 2012-12-02.
  5. "Unknown" (PPT). iol.unh.edu. Retrieved 2012-12-02.
  6. "Transparent Bridging". Cisco Systems, Inc. Retrieved 2010-06-20.

Further reading

This article is issued from Wikipedia - version of the Tuesday, April 19, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.