A network bridge reduces Ethernet collisions by dividing a network into segments and using a MAC address table to control where frames are forwarded. It operates at Layer 2, making forwarding decisions based on MAC addresses rather than broadcasting all traffic indiscriminately.
Network Bridges
One of the problems with an Ethernet hub is that it allows collisions to happen on our network, and this can be problematic. One of the ways that we can reduce the amount of collisions on our network is by having a network bridge segment our network. We don't use a lot of network bridges nowadays, but we're going to build off of this in future lessons.
One of the problems with an Ethernet hub is that when a frame comes into the hub, it gets resent out all other live ports. Now imagine when another frame comes in at the same time that tries to get sent out at the same time as well. This causes a big problem, because now you've got two frames that are trying to be communicated at once, and that just isn't going to be well communicated. It's not going to work. So this is what we call a collision. And both machines that tried to speak at the same time will have to go through a backoff algorithm before they speak again.
Now, a little bit of this is okay. In fact, it's built into Ethernet and how Ethernet is supposed to function. But it becomes problematic the more and more communication that you have on your network. So more nodes and more active computers are going to have problems, and nowadays computers are very active. So we need to avoid collisions if we can.
A bridge will help reduce the amount of collisions that we have. What it'll do is create some segmentation within our network to reduce the amount of collisions. It does this in two different ways.
Number one is it splits this network into essentially two. It's not two networks, it's still all the same network, but it creates two segments out of it. And you can have a collision in this segment, and you can have a collision in this segment, but you won't have a collision between those segments. So what that means is that a collision on this side isn't going to affect the other side. Not to mention, when this computer speaks on this side of the network, it's never going to collide with a computer on this side of the network.
It does this by creating a bridging table, also known as a MAC address table. A bridging table because it's a bridge that creates the table; a MAC address table because it actually is recording MAC addresses. What it's doing is recording the MAC address and what port that MAC address is on.
So essentially what happens is when this device communicates on this side of the network, that gets sent out all of the ports from this hub right here. What hears that is this bridge on this port. This is port one right here, and it records that. It does that for all of the devices. So you can see this is on port one as well. This device is on port two, and this device is on port two. And we might have many more machines that are connected to this, but essentially it tracks all of those different ports. So now it can separate out the two segments.
The process that a bridge uses to create this MAC address table right here is called learning. So that is one of the functions of a bridge, is to learn the MAC addresses and the ports they're on.
The second function is forwarding. So what will happen is that this device right here, let's say, is trying to communicate to this device right here. It will send out a frame destined for this MAC address, the hub will send that out all other live ports, and this bridge will receive that. It will notice that this is on port one, which is what it came in on. And since it came in on that port where it associates with this MAC address, it will not send that to the other side of the network.
However, let's say now that this machine right here is communicating to this machine. It's sending out a frame destined for this MAC address, that gets sent out all of the ports on this hub right here. And then this bridge right here sees that it's destined for this MAC address over here. So what it's going to do is forward that out port two, because that's what's in its MAC address table, that it's on port two. So it'll forward it out port two, it'll get sent out to this segment of the network, and this device will receive that. So what happens is that this is going to act as a buffer between those two sides.
We consider a network bridge to be a layer 2 device. And we consider it a layer 2 device because it actually has to take a look at that layer 2 information to do both the learning and the forwarding of this frame.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →