All Topics  
Network bridge

 

   Email Print
   Bookmark   Link






 

Network bridge



 
 
A network bridge connects multiple network segment
Network segment

A network segment is a portion of a computer network wherein every device communicates using the same physical layer. Devices that extend the physical layer, such as repeaters or network hubs, are also considered to extend the segment....
s at the data link layer
Data link layer

The Data Link Layer is layer 2 of the seven-layer OSI model of computer networking.The Data Link Layer is the protocol layer which transfers data between adjacent network nodes in a wide area network or between nodes on the same local area network network segment....
 (layer 2) of the OSI model
OSI model

The Open Systems Interconnection Reference Model is an abstract description for layered communications and computer network protocol design. It was developed as part of the Open Systems Interconnection initiative....
, and the term layer 2 switch is very often used interchangeably with bridge. Bridges are similar to repeater
Repeater

A repeater is an Electronics device that receives asignal and retransmits it at a higher level and/or higher power, or onto the other side of an obstruction, so that the signal can cover longer distances without degradation....
s or network hubs, devices that connect network segments at the physical layer
Physical layer

The Physical Layer is the first and lowest layer in the seven-layer OSI model of computer networking.The Physical Layer comprises the basic hardware transmission technologies of a network....
; however, with bridging
Bridging (networking)

Bridging is a packet forwarding technique used in packet switching computer networks. Unlike routing, bridging makes no assumptions about where in a network a particular address is located....
, traffic from one network is managed rather than simply rebroadcast to adjacent network segments. In Ethernet networks, the term "bridge" formally means a device that behaves according to the IEEE 802.1D
IEEE 802.1D

802.1D is the IEEE Media Access Control Bridges standard which includes Bridging , Spanning tree protocol, IEEE 802.11c and others. It is standardized by the IEEE 802.1 working group....
 standard—this is most often referred to as a network switch
Network switch

A network switch is a computer networking device that connects computer network Network segment.The term commonly refers to a Network bridge that processes and routes data at the Data link layer of the OSI model....
 in marketing literature.






Discussion
Ask a question about 'Network bridge'
Start a new discussion about 'Network bridge'
Answer questions from other users
Full Discussion Forum



Encyclopedia


A network bridge connects multiple network segment
Network segment

A network segment is a portion of a computer network wherein every device communicates using the same physical layer. Devices that extend the physical layer, such as repeaters or network hubs, are also considered to extend the segment....
s at the data link layer
Data link layer

The Data Link Layer is layer 2 of the seven-layer OSI model of computer networking.The Data Link Layer is the protocol layer which transfers data between adjacent network nodes in a wide area network or between nodes on the same local area network network segment....
 (layer 2) of the OSI model
OSI model

The Open Systems Interconnection Reference Model is an abstract description for layered communications and computer network protocol design. It was developed as part of the Open Systems Interconnection initiative....
, and the term layer 2 switch is very often used interchangeably with bridge. Bridges are similar to repeater
Repeater

A repeater is an Electronics device that receives asignal and retransmits it at a higher level and/or higher power, or onto the other side of an obstruction, so that the signal can cover longer distances without degradation....
s or network hubs, devices that connect network segments at the physical layer
Physical layer

The Physical Layer is the first and lowest layer in the seven-layer OSI model of computer networking.The Physical Layer comprises the basic hardware transmission technologies of a network....
; however, with bridging
Bridging (networking)

Bridging is a packet forwarding technique used in packet switching computer networks. Unlike routing, bridging makes no assumptions about where in a network a particular address is located....
, traffic from one network is managed rather than simply rebroadcast to adjacent network segments. In Ethernet networks, the term "bridge" formally means a device that behaves according to the IEEE 802.1D
IEEE 802.1D

802.1D is the IEEE Media Access Control Bridges standard which includes Bridging , Spanning tree protocol, IEEE 802.11c and others. It is standardized by the IEEE 802.1 working group....
 standard—this is most often referred to as a network switch
Network switch

A network switch is a computer networking device that connects computer network Network segment.The term commonly refers to a Network bridge that processes and routes data at the Data link layer of the OSI model....
 in marketing literature. Bridges tend to be more complex than hubs or repeaters due to the fact that bridges are capable of analyzing incoming data packets on a network to determine if the bridge is able to send the given packet to another segment of that same network.

Since bridging takes place at the data link layer of the OSI model
OSI model

The Open Systems Interconnection Reference Model is an abstract description for layered communications and computer network protocol design. It was developed as part of the Open Systems Interconnection initiative....
, a bridge processes the information from each frame of data it receives. In an Ethernet
Ethernet

Ethernet is a family of Data frame-based computer networking technologies for local area networks . The name comes from the physical concept of the Luminiferous aether....
 frame, this provides the MAC address
MAC address

In computer networking, a Media Access Control address , Ethernet Hardware Address , hardware address, adapter address or physical address is a quasi-unique identifier assigned to most network adapters or network interface cards by the manufacturer for identification....
 of the frame's source and destination. Bridges use two methods to resolve the network segment that a MAC address belongs to.

  • Transparent bridging – This method 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 rebroadcast to all ports of the bridge, forwarding the frame to all segments except the source address. By means of these broadcast frames, the destination network will respond and a route will be created. Along with recording the network segment to which a particular frame is to be sent, bridges may also record a bandwidth metric to avoid looping when multiple paths are available. Devices that have this transparent bridging functionality are also known as adaptive bridges. They are primarily found in Ethernet networks.


  • Source route bridging – With source route bridging two frame types are used in order to find the route to the destination network segment. Single-Route (SR) frames make up most of the network traffic and have set destinations, while All-Route (AR) frames are used to find routes. Bridges send AR frames by broadcasting on all network branches; each step of the followed route is registered by the bridge performing it. Each frame has a maximum hop count, which is determined to be greater than the diameter of the network graph, and is decremented by each bridge. Frames are dropped when this hop count reaches zero, to avoid indefinite looping of AR frames. The first AR frame which reaches its destination is considered to have followed the best route, and the route can be used for subsequent SR frames; the other AR frames are discarded. This method of locating a destination network can allow for indirect load balancing
    Load balancing (computing)

    In computer networking, load balancing is a technique to spread work between two or more computers, network links, CPUs, hard drives, or other resources, in order to get optimal resource utilization, maximize throughput, and minimize response time....
     among multiple bridges connecting two networks. The more a bridge is loaded, the less likely it is to take part in the route finding process for a new destination as it will be slow to forward packets. A new AR packet will find a different route over a less busy path if one exists. This method is very different from transparent bridge usage, where redundant bridges will be inactivated; however, more overhead is introduced to find routes, and space is wasted to store them in frames. A switch with a faster backplane can be just as good for performance, if not for fault tolerance. They are primarily found in Token Ring networks.


Advantages of network bridges

  • Self configuring
  • Primitive bridges are often inexpensive
  • Reduce size of collision domain by microsegmentation
    Microsegmentation

    Microsegmentation in computer networking is a term used to describe the Network segmentation of a collision domain into as many network segment as there are Telecommunication circuits, minus one ....
     in non switched networks
  • Transparent to protocols above the MAC layer
  • Allows the introduction of management - performance information and access control
  • LANs interconnected are separate and physical constraints such as number of stations, repeaters and segment length don't apply
  • it also helps minimize high bandwidth


Disadvantages of network bridges

  • Does not limit the scope of broadcasts
  • Does not scale to extremely large networks
  • Buffering introduces store and forward delays - on average traffic destined for bridge will be related to the number of stations on the rest of the LAN
    Local area network

    A local area network is a computer network covering a small physical area, like a home, office, or small group of buildings, such as a school, or an airport....
  • Bridging of different MAC protocols introduces errors
  • Because bridges do more than repeaters by viewing MAC addresses, the extra processing makes them slower than repeaters
    Multiport repeater

    In packet networking, a multiport repeater is the simplest multi-port active device in use. It has multiple input/output ports, in which a Signalling introduced at the input of any Computer port appears at the output of every port except the original incoming....
  • Bridges are more expensive than repeaters


Although infinite bridges(or layer 2 switches) can be connected in theory, often a broadcast storm will result as more and more collisions occur. Collisions delay service advertisements, which causes the hosts to back off and attempt to retransmit after a pseudo-random interval. Because bridges simply repeat any Layer 2 broadcast traffic, this can result in undesirable broadcast traffic consuming the network. An example would be a bridge in between adjacent office buildings. It is unlikely that the advantages of bridging would outweigh the loss of network bandwidth associated with all of the service advertisements.

Another major disadvantage is that any standards-compliant implementation of bridging cannot have any closed loops in a network. This limits both performance and reliability.

Bridging versus routing

Bridging
Bridging (networking)

Bridging is a packet forwarding technique used in packet switching computer networks. Unlike routing, bridging makes no assumptions about where in a network a particular address is located....
 and routing
Routing

Routing is the process of selecting paths in a network along which to send network traffic. Routing is performed for many kinds of networks, including the PSTN, Computer network , and transport network....
 are both ways of performing data control, but work through different methods. Bridging takes place at OSI Model Layer 2
OSI model

The Open Systems Interconnection Reference Model is an abstract description for layered communications and computer network protocol design. It was developed as part of the Open Systems Interconnection initiative....
 (Data-Link Layer) while Routing takes place at the OSI Model Layer 3
OSI model

The Open Systems Interconnection Reference Model is an abstract description for layered communications and computer network protocol design. It was developed as part of the Open Systems Interconnection initiative....
 (Network Layer). This difference means that a bridge directs frames according to hardware assigned MAC address
MAC address

In computer networking, a Media Access Control address , Ethernet Hardware Address , hardware address, adapter address or physical address is a quasi-unique identifier assigned to most network adapters or network interface cards by the manufacturer for identification....
es while a router makes its decisions according to arbitrarily assigned IP Address
IP address

An Internet Protocol address is a numerical identification that is assigned to devices participating in a computer network utilizing the Internet Protocol for communication between its nodes....
es. As a result of this, bridges are not concerned with and are unable to distinguish networks
Computer networking

Computer networking is the engineering discipline concerned with communication between computer systems or Peripheral devices. Networking, routers, routing protocols, and networking over the public Internet have their specifications defined in documents called Request for Commentss....
 while routers can.

When designing a network, one can choose to put multiple segments into one bridged network or to divide it into different networks interconnected by routers. If a host is physically moved from one network area to another in a routed network, it has to get a new IP address; if this system is moved within a bridged network, it doesn't have to reconfigure anything. These days bridges are replaced by switches.

Bridge versus Layer 2 Switch

  • Bridge frame handling is done in software. A layer 2 switch performs address recognition and frame forwarding with hardware. (Similarly, a router and a layer 3 switch differ only by whether they forward in software, or hardware)
  • A bridge can typically only analyze/forward one packet at a time, while a layer 2 switch has multiple parallel data paths and can handle multiple frames simultaneously.
  • A bridge uses store-and-forward (it buffers the incoming frame, and then performs a CRC to ensure data integrity before forwarding the frame), while a layer 2 switch can be configured to either use store-and-forward, or to use cut-through(sending the frame through as soon as the destination MAC address is realized, without checking the data for correctness)


Because a layer 2 switch can incorporate the functions of a bridge, the bridge has suffered commercially. New installations typically include layer 2 switches with bridge functionality, rather than bridges. This has lead to the general mixing of the two terms.

Specific uses of the term "bridge"


Documentation on Linux
Linux

Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
 bridging can be found in the . Linux bridging allows filtering and routing.

Certain versions of Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
 (including XP and Vista) allow for creating a Network Bridge - a network component that aggregates two or more Network Connections and establishes a bridging environment between them. Windows does not support creating more than one network bridge per system.

Filtering Database

To translate between two segments types, a bridge reads a frame
Data frame

In computer networking, a frame is a digital data transmission unit on the Data Link Layer of the OSI model. It is used for data exchange between two points via a direct physical or logical link....
's destination MAC address
MAC address

In computer networking, a Media Access Control address , Ethernet Hardware Address , hardware address, adapter address or physical address is a quasi-unique identifier assigned to most network adapters or network interface cards by the manufacturer for identification....
 and decides to either forward or filter. If the bridge determines that the destination node
Node (networking)

In communication networks, a node is an active electronic device that is attached to a network, and is capable of sending, receiving, or forwarding information over a communications channel....
 is on another segment on the network, it forwards it (retransmits) the packet 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 (also known as a forwarding table) 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.

See also

  • Network hub
  • Wireless bridge
    Wireless bridge

    A wireless bridge is a hardware component used to connect two or more network segments which are physically and logically separated. It does not necessarily always need to be a hardware device, as some operating systems provide software to bridge different protocols....
  • Router
    Router

    A router is a Computer network device whose software and hardware are usually tailored to the tasks of routing and forwarding information. For example, on the Internet, information is directed to various paths by routers....
  • InterLnk
    List of DOS commands

    A partial list of the most common Command s for DOS follows.In versions 5 of DOS and later, the user can get help by typing help at the shell prompt....
  • null-modem
  • Spanning Tree Protocol
    Spanning tree protocol

    The Spanning Tree Protocol is a network protocol that ensures a loop-free network topology for any bridging local area network. It is based on an algorithm invented by Radia Perlman while working for Digital Equipment Corporation....
  • Instrument bridge
    Instrument bridge

    An Instrument bridge is an extension of the network bridge concept from the IEEE networking technology glossary. The term instrument bridge highlights the logical separation of scientific instruments from administrative computers on the computer network of a science-intensive organization....
  • Bridging (networking)
    Bridging (networking)

    Bridging is a packet forwarding technique used in packet switching computer networks. Unlike routing, bridging makes no assumptions about where in a network a particular address is located....
  • Promiscuous Mode
    Promiscuous mode

    In computing, promiscuous mode or promisc mode is a configuration of a network card that makes the card pass all traffic it receives to the central processing unit rather than just packets addressed to it ? a feature normally used for packet sniffing....
  • Repeater
    Repeater

    A repeater is an Electronics device that receives asignal and retransmits it at a higher level and/or higher power, or onto the other side of an obstruction, so that the signal can cover longer distances without degradation....
     (a bridge includes repeater functions)
  • Collision domain
    Collision domain

    A collision domain is a physical network segment where data packets can "collide" with one another for being sent on a shared medium, in particular in the Ethernet networking protocol....
  • Broadcasting (computing)


External links