Jump to content

Ethernet hub: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
Tag: categories removed
Line 35: Line 35:
==External links==
==External links==
* [http://wiki.wireshark.org/HubReference Hub Reference]
* [http://wiki.wireshark.org/HubReference Hub Reference]

[[Category:Ethernet]]
[[Category:Networking hardware]]
[[Category:Physical layer protocols]]

[[ast:Amestador]]
[[bn:ইথারনেট হাব]]
[[bs:Hub]]
[[bg:Хъб]]
[[ca:Concentrador]]
[[cs:Hub]]
[[da:Hub]]
[[de:Hub (Netzwerk)]]
[[et:Kohtvõrgu jaotur]]
[[el:Πλήμνη (δίκτυο υπολογιστών)]]
[[es:Concentrador]]
[[eo:Koncentrilo]]
[[eu:Kontzentratzaile]]
[[fa:هاب]]
[[fr:Concentrateur]]
[[gl:Concentrador]]
[[ko:이더넷 허브]]
[[id:Hub]]
[[ia:Concentrator]]
[[it:Hub (informatica)]]
[[he:רכזת]]
[[hu:Hub (hálózat)]]
[[ms:Hab (rangkaian)]]
[[nl:Hub (computernetwerk)]]
[[ja:ハブ (ネットワーク機器)]]
[[no:Hub (datanettverk)]]
[[pl:Koncentrator]]
[[pt:Concentrador]]
[[ru:Сетевой концентратор]]
[[sk:Rozbočovač (ethernet)]]
[[fi:Keskitin]]
[[sv:Nätverkshubb]]
[[uk:Концентратор]]
[[zh:集線器]]

Revision as of 20:30, 3 October 2009

4-port Ethernet hub

A network hub or repeater hub is a device for connecting multiple twisted pair or fiber optic Ethernet devices together and thus making them act as a single network segment. Hubs work at the physical layer (layer 1) of the OSI model. The device is thus a form of multiport repeater. Repeater hubs also participate in collision detection, forwarding a jam signal to all ports if it detects a collision.

Hubs also often come with a BNC and/or AUI connector to allow connection to legacy 10BASE2 or 10BASE5 network segments. The availability of low-priced network switches has largely rendered hubs obsolete but they are still seen in older installations and more specialized applications.

Technical information

A network hub is a fairly unsophisticated broadcast device. Hubs do not manage any of the traffic that comes through them, and any packet entering any port is broadcast out on all other ports. Since every packet is being sent out through all other ports, packet collisions result—which greatly impedes the smooth flow of traffic.

The need for hosts to be able to detect collisions limits the number of hubs and the total size of the network. For 10 Mbit/s networks, up to 5 segments (4 hubs) are allowed between any two end stations. For 100 Mbit/s networks, the limit is reduced to 3 segments (2 hubs) between any two end stations, and even that is only allowed if the hubs are of the low delay variety. Some hubs have special (and generally manufacturer specific) stack ports allowing them to be combined in a way that allows more hubs than simple chaining through Ethernet cables, but even so, a large Fast Ethernet network is likely to require switches to avoid the chaining limits of hubs.

Most hubs (intelligent hubs) detect typical problems, such as excessive collisions on individual ports, and partition the port, disconnecting it from the shared medium. Thus, hub-based Ethernet is generally more robust than coaxial cable-based Ethernet, where a misbehaving device can disable the entire collision domain. Even if not partitioned automatically, an intelligent hub makes troubleshooting easier because status lights can indicate the possible problem source or, as a last resort, devices can be disconnected from a hub one at a time much more easily than a coaxial cable. They also remove the need to troubleshoot faults on a huge cable with multiple taps.

Hubs classify as Layer 1 devices in the OSI model. At the physical layer, hubs can support little in the way of sophisticated networking. Hubs do not read any of the data passing through them and are not aware of their source or destination. Essentially, a hub simply receives incoming packets, possibly amplifies the electrical signal, and broadcasts these packets out to all devices on the network - including the one that originally sent the packet.

Technically speaking, three different types of hubs exist:

1. Passive (A hub which does not need an external power source, because it does not regenerate the signal and therefore falls as part of the cable, with respect to maximum cable lengths)
2. Active (A hub which regenerates the signal and therefore needs an external power supply)
3. Intelligent (A hub which provides error detection (e.g. excessive collisions) and also does what an active hub does)

Passive hubs do not amplify the electrical signal of incoming packets before broadcasting them out to the network. Active hubs, on the other hand, do perform this amplification, as does a different type of dedicated network device called a repeater. Another, not so common, name for the term concentrator is referring to a passive hub and the term multiport repeater is referred to an active hub.

Intelligent hubs add extra features to an active hub that are of particular importance to businesses. An intelligent hub typically is stackable (built in such a way that multiple units can be placed one on top of the other to conserve space). It also typically includes remote management capabilities via Simple Network Management Protocol (SNMP) and virtual LAN (VLAN) support.

Uses

Historically, the main reason for purchasing hubs rather than switches was their price. This has largely been eliminated by reductions in the price of switches, but hubs can still be useful in special circumstances:

  • For inserting a protocol analyzer into a network connection, a hub is an alternative to a network tap or port mirroring.
  • Some computer clusters require each member computer to receive all of the traffic going to the cluster.[citation needed] A hub will do this naturally; using a switch requires special configuration.
  • When a switch is accessible for end users to make connections, for example, in a conference room, an inexperienced or careless user (or saboteur) can bring down the network by connecting two ports together, causing a loop. This can be prevented by using a hub, where a loop will break other users on the hub, but not the rest of the network. (It can also be prevented by buying switches that can detect and deal with loops, for example by implementing the Spanning Tree Protocol.)
  • A hub with a 10BASE2 port can be used to connect devices that only support 10BASE2 to a modern network. The same goes for linking in an old thicknet network segment using an AUI port on a hub (individual devices that were intended for thicknet can be linked to modern Ethernet by using an AUI-10BASE-T transceiver).