A hub is the simplest of these devices. Any data packet coming from one port is sent to all other ports. It is then up to the receiving computer to decide if the packet is for it. Imagine packets going through a hub as messages going into a mailing list. The mail is sent out to everyone and it is up to the receiving party to decide if it is of interest.
The biggest problem with hubs is their simplicity. Since every packet is sent out to every computer on the network, there is a lot of wasted transmission. This means that the network can easily become bogged down.
Hubs are typically used on small networks where the amount of data going across the network is never very high.
Bridge
A bridge only has one incoming and one outgoing port.
To build on the email analogy above, the bridge is allowed to decide if the message should continue on. It reads the address bob@smith.com and decides if there is a bob@smith.com on the other side. If there isn’t, the message will not be transmitted.
Bridges are typically used to separate parts of a network that do not need to communicate regularly, but still need to be connected.
Switch
This leads to increased efficiency in that packets are not going to computers that do not require them.
Now the email analogy has multiple people able to send email to multiple users. The switch can decide where to send the mail based on the address.
Most large networks use switches rather than hubs to connect computers within the same subnet.
Router
The most common home use for routers is to share a broadband internet connection. The router has a public IP address and that address is shared with the network. When data comes through the router it is forwarded to the correct computer.
No comments:
Post a Comment