Network Devices
Network Devices
1. Repeater A repeater operates at the physical layer. Its job is to regenerate the signal over the
same network before the signal becomes too weak or corrupted so as to extend the length to which
the signal can be transmitted over the same network. An important point to be noted about repeaters
is that they do no amplify the signal. When the signal becomes weak, they copy the signal bit by bit
and regenerate it at the original strength. It is a 2 port device.
2. Hub A hub is basically a multiport repeater. A hub connects multiple wires coming from
different branches, for example, the connector in star topology which connects different stations.
Hubs cannot filter data, so data packets are sent to all connected devices. In other words, collision
domain of all hosts connected through Hub remains one. Also, they do not have intelligence to find
out best path for data packets which leads to inefficiencies and wastage.
3. Bridge A bridge operates at data link layer. A bridge is a repeater, with add on functionality of
filtering content by reading the MAC addresses of source and destination. It is also used for
interconnecting two LANs working on the same protocol. It has a single input and single output port,
thus making it a 2 port device.
4. Switch A switch is a multi port bridge with a buffer and a design that can boost its
efficiency(large number of ports imply less traffic) and performance. Switch is data link layer
device. Switch can perform error checking before forwarding data, that makes it very efficient as it
does not forward packets that have errors and forward good packets selectively to correct port
only. In other words, switch divides collision domain of hosts, but broadcast domain remains same.
5. Routers A router is a device like a switch that routes data packets based on their IP addresses.
Router is mainly a Network Layer device. Routers normally connect LANs and WANs together and
have a dynamically updating routing table based on which they make decisions on routing the data
packets. Router divide broadcast domains of hosts connected through it.
6. Gateway A gateway, as the name suggests, is a passage to connect two networks together that
may work upon different networking models. They basically works as the messenger agents that take
data from one system, interpret it, and transfer it to another system. Gateways are also called
protocol converters and can operate at any network layer. Gateways are generally more complex
than switch or router.
Network or switching devices are
Let us see, how the switching devices are related to packets and frames
Repeaters
The bottom layer which is known as physical layer the devices, repeaters are used.
Repeaters are analog devices, work with signals on the cables to which they are connected.
A signal appearing on one cable is cleaned up, amplified, and put out on another cable.
Repeaters do not understand frames, packets, or headers.
They understand the symbols that encode bits as volts.
Classic Ethernet, for example, was designed to allow four repeaters that would boost the
signal to extend the maximum cable length from 500 meters to 2500 meters.
Hubs
A hub has a number of input lines that it joins electrically.
Frames arriving on any of the lines are sent out on all the others.
If two frames arrive at the same time, they will collide, just as on a coaxial cable.
All the lines coming into a hub must operate at the same speed.
Hubs differ from repeaters in that they do not (usually) amplify the incoming signals and are
designed for multiple input lines, but the differences are slight.
Like repeaters, hubs are physical layer devices that do not examine the link layer addresses
or use them in any way.
Bridges and switches