Hubs & Repeaters
Network hubs were once the primary method of interconnecting network devices to create a local area network (LAN). Hubs were inexpensive, easy to install, and provided a simple means of connecting multiple devices in a network. However, as networks grew in size and complexity, hubs were found to be inefficient and were gradually replaced by more advanced network devices such as switches and routers. Despite their obsolescence, hubs remain a useful tool in certain network scenarios and are worth discussing to understand their limitations and strengths.
It is important at this point to cover a few network terms that are used to describe how hubs work:
Domain: refers to a logical grouping of network devices that share the same broadcast domain.
Broadcast domain is a group of devices that receive the same broadcast messages. When a device sends a broadcast message, it is transmitted to all devices on the same broadcast domain.
Collision domain is a group of devices that share the same physical network segment, where data collisions can occur.
How Network Hubs Work
Returning back to our discussion on network hubs, they are a simple devices that connect multiple network devices together by forwarding incoming data to all connected devices. Hubs operate at the physical layer of the OSI model and act as a repeater, amplifying the electrical signal of incoming data before broadcasting it to all connected devices:
As shown in the example above, frames transmitted by Node 1 are received by the hub and forwarded out all its ports.
Hubs do not analyze or manage network traffic in any way, and as such, they are not able to distinguish between different types of network traffic.
One of the key limitations of hubs is their inability to isolate network traffic. When a device connected to a hub sends data, the data is broadcast to all devices connected to the hub, regardless of whether they are the intended recipient or not. This means that all connected devices receive the data, regardless of whether they need it or not. This can lead to network congestion, as unnecessary traffic is transmitted to devices that have no use for it. In addition, because all devices on a hub share the same domain, any traffic that is transmitted on the hub creates a collision domain, where multiple devices may attempt to transmit data simultaneously, resulting in a collision and lost data.
One advantage of hubs is their simplicity. Hubs are inexpensive and easy to install, making them an attractive option for small networks or temporary network setups. Hubs are also transparent to the network, which means they do not modify network traffic in any way, making them ideal for troubleshooting network connectivity issues.
Hubs are often used to tap into a network by placing them between critical devices e.g between a server and a network switch, then connecting a laptop loaded with a network protocol analyzer to capture and analyze packets.
However, the limitations of hubs, particularly their inability to isolate network traffic, make them unsuitable for larger networks or networks with high traffic volumes. As network traffic increases, the potential for collisions (early or late collisions) and congestion also increases, leading to decreased network performance and increased network downtime.
The diagram below shows how multiple hubs can connect to perform a larger network. Keep in mind that such a setup will create a larger broadcast domain that will affect more devices and further reducing network bandwidth:
Network Repeaters
A network repeater is a network device that is used to regenerate and amplify a network signal that has become weak or distorted due to attenuation or interference. When a signal is transmitted over a long distance, it may weaken or become distorted due to various factors such as cable attenuation, electromagnetic interference, or signal reflections. A repeater receives the weakened signal and regenerates it, amplifying it to its original strength before retransmitting it to the next device in the network. A repeater does not analyze or manage network traffic in any way.
One of the key differences between a hub and a repeater is the way they handle network traffic. A repeater simply regenerates and amplifies a network signal, while a hub broadcasts incoming data to all connected devices on the network. A repeater is used to extend the reach of a network signal, while a hub is used to connect multiple devices together to create a LAN.
Another difference between a hub and a repeater is their ability to isolate network traffic. A repeater does not isolate network traffic and does not create collision domains. A hub, on the other hand, shares the same domain with all connected devices and creates a collision domain. When a device connected to a hub sends data, all devices connected to the hub receive the data, which as we've outlined earlier, can cause collisions and network congestion.
The Three Type of Hubs
There are primarily three types of network hubs: passive, active, and intelligent.
Passive Hub: A passive hub is a basic type of hub that does not require an external power source. It simply amplifies the incoming signal and broadcasts it to all connected devices on the network. Passive hubs do not have any built-in intelligence or management features, and they do not isolate network traffic.
Active Hub: An active hub, also known as a powered hub, requires an external power source. It contains a power supply that amplifies and regenerates the incoming signal, boosting its strength before broadcasting it to all connected devices. Active hubs also include features such as automatic detection of network speeds and error detection, which allows them to manage and optimize network traffic.
Intelligent Hub: An intelligent hub, also known as a managed hub, is a more advanced type of hub that includes management and monitoring features. Intelligent hubs allow network administrators to monitor and manage network traffic, isolate network segments, and configure network settings. They also provide features such as port mirroring, which allows administrators to monitor the traffic on a specific port, and virtual LANs (VLANs), which allow administrators to segment the network and isolate traffic.
Network Hubs with BNC Connectors (Coax Cable)
Coaxial cable, also known as coax, is a type of cable that is commonly used for transmitting data signals in computer networks. Coaxial cables consist of a copper wire that is surrounded by an insulating layer, which is then covered by a braided shield and an outer jacket. The braided shield provides protection against electromagnetic interference, which can distort or weaken the data signal.
When data is transmitted over coaxial cable, it is done so using electrical impulses. These impulses travel along the copper wire at the center of the cable, which is surrounded by the insulating layer and braided shield. The data is transmitted in the form of analog signals that are converted into digital signals by network devices such as hubs or switches.
Some older network hubs are designed to support coaxial cable connections. These hubs typically include a coax BNC (Bayonet Neill-Concelman) connector, which is a type of connector that is commonly used with coaxial cables. The BNC connector is a twist-lock connector that provides a secure and reliable connection between the coaxial cable and the hub:
To connect a coaxial cable to a hub, the cable is first connected to the BNC connector on the hub using a coaxial BNC connector. The hub then amplifies and broadcasts the data signal to all connected devices on the network. However, as previously mentioned, hubs have largely been replaced by switches in modern networking, and coaxial cable connections are becoming less common.
Coaxial cable was once a popular choice for networking because it is relatively inexpensive, easy to install, and can transmit data over long distances without significant signal loss. However, coaxial cable has several limitations that make it less desirable for modern networking. For example, coaxial cable has a lower bandwidth than other types of cables, such as twisted pair or fiber optic cables. This means that it can transmit data at slower speeds and may not be suitable for high-bandwidth applications.
Network Hub with BNC connector
It's also worth noting that coaxial cable networks use 50-ohm terminating resistors to prevent signal reflections that can cause interference and degrade signal quality. When an electrical signal travels along a coaxial cable, it encounters impedance, which is the resistance to the flow of electrical current. If the cable is not properly terminated, the signal can reflect back towards the source and interfere with the original signal. This can cause signal distortion, attenuation, and loss of data.
By adding a 50-ohm terminating resistor at the end of the cable, the impedance is matched and the signal can be properly absorbed, preventing reflections. This helps to maintain signal integrity and improve overall network performance. The 50-ohm terminating resistor is designed to match the characteristic impedance of the coaxial cable, which is typically 50 ohms:
The coax cable can be up to 185 meters long and can contain no more than 30 nodes per segment.
Summary
In this article we explained how hubs and repeaters operate within a network. We listed the main advantages and disadvantages of hubs and covered the three different type of hub devices: passive hubs, active hubs and intelligent hubs. Finally we took a look at older coaxial-based networks and talked about their limitations and components.
IntroductionHere we will talk about hubs and explain how they work. In the next section we will move to switches and how they differ from hubs, how they work and the types of switching methods that are available; we will also compare them. Before we start there are a few definitions which I need to speak about so you can understand the terminology we will be using. Domain: Defined as a geographical area or logical area (in our imagination) where anything in it becomes part of the domain. In computer land, this means that when something happens in this domain (area) every computer that's part of it will see or hear everything that happens in it. Collision Domain: Putting it simple, whenever a collision between two computers occurs, every other computer within the domain will hear and know about the collision. These computers are said to be in the same collision domain. As you're going to see later on, when computers connect together using a hub they become part of the same collision domain. This dosen't happen with switches. Broadcast Domain: A domain where every broadcast (a broadcast is a frame or data which is sent to every comeputer) is seen by all computers within the domain. Hubs and switches do not break up broadcast domains. You need a router to achieve this. There are different devices which can break-up collision domains and broadcast domains and make the network a lot faster and efficient. Switches create separate collision domains but not broadcast domains. Routers create separate broadcast and collision domains. Hubs are too simple to do either, can't create separate collision or broadcast domain. Hubs & Repeaters Hubs and repeaters are basically the same, so we will be using the term "Hub" to keep things simple. Hubs are common today in every network. They are the cheapest way to connect two or more computers together. Hubs are also known as Repeaters and work on the first layer of the OSI model. They are said to work on the first layer because of the function they perform. They don't read the data frames at all (like switches and routers do), they only make sure the frame is repeated out on each port and that's about it. The Nodes that share an Ethernet or Fast Ethernet LAN using the CSMA/CD rules are said to be in the same collision domain. In plain English, this means that all nodes connected to a hub are part of the same collision domain. In a Collision domain, when a collision occurs everyone in that domain/area will hear it and will be affected. The Ethernet section talks about CSMA/CD and collision domains since they are part of the rules under which Ethernet functions. The picture below shows a few hubs : 8 port Netgear and a D-link hub. |
|||||||||||
The computers (nodes) connect to the hub using Unshielded Twisted Pair cable (UTP). Only one node can be connected to each port of the hub. The pictured hub has a total of 8 ports, which means up to 8 computers can be networked. When hubs were not that common and also expensive, most offices and home networks use to install coax cable. The way hubs work is quite simple and straightforward: When a computer on any one of the eight ports transmits data, this is replicated and sent out to the other seven ports. Check out the below picture which shows it clearly. |
|||||||||||
EXPLANATION: Node 1 is transmitting some data to Node 6 but all nodes are receiving the data as well. This data will be rejected by the rest of the nodes once they figure out it's not for them. This is accomplished by the node's network card reading the destination MAC address of the frame (data) it receives, it examines it and sees that it doesn't match with it's own and therefor discards the frame. Please see the Datalink layer in the OSI section for more information on MAC addresses. Most hubs these days also have a special port which can function as a normal port or as an "uplink" port. An uplink port allows you to connect another hub to the existing one, increasing the amount of ports which will be available to you. This is a cheap solution when you need to get a few more computers networked and it works quite well up to a point. This is how 2 eight port hubs would look when connected via the uplink port and how the data is replicated to all 16 ports : |
|||||||||||
In the above picture you can see that Node 1 is again transmitting data to Node 6 and that every other node connected to the hub is receiving the information. As we said, this is a pretty good and cheap solution, but as the network gets busier, you can clearly understand that there is going to be a lot of unecessary data flowing all over the network. All Nodes here are in the same broastcast and collision domain since they will hear every broadcast and collision that occurs. This is the same situation you get when you use coax cable, where every node or computer is connected onto the same cable and the data that's put onto it travels along the cable and is received by every computer. |
|||||||||||
You probably also noticed the two orange boxes labled "50 Ohm". These are called terminating resistors and are used on both ends of the coax cable so when the signal gets to them, it's absorbed by them and that way you don't get the signal reflecting back. Think of them as shock absorbent and the data signal is the shock wave which gets absorbed when it reaches the terminating resistors. The coax cable can be up to 185 meters and can contain no more than 30 nodes per segment. What you're looking at in the above picture is one segment 25 meters long with 4 nodes attached to it. Now coming back to the hubs, there are a few standard features most of them have these include a link and activity LED for each port, a power LED and collision LED. Some hubs have separate link lights and activity lights, others combine them into one where the link light will flash when there is activity, otherwise it remains constantly on. The Netgear hub which is displayed at the beginning of this page has two separate LEDs for the activity and link but the Compex hub below has only one. |
Your IP address:
3.139.104.140
Wi-Fi Key Generator
Follow Firewall.cx
Cisco Password Crack
Decrypt Cisco Type-7 Passwords on the fly!