Networking
We start next from the Network interface card.
Hubs:
An Ethernet hub or concentrator is a device for connecting multiple
twisted pair or fibre optic Ethernet devices together, making them act
as a single segment.
It works at the physical layer of the OSI model,
repeating the signal received at one port out each of the other ports
(but not the original one).
The device is thus a form of multiport
repeater. Ethernet hubs are also responsible for 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 Ethernet switches has
largely rendered hubs obsolete but they are still seen in older
installations and more specialist applications.
Switches:
A network switch or switch for short is a networking device that
performs transparent bridging (connection of multiple network segments
with forwarding based on MAC addresses) at full wire speed in hardware.
As a frame comes into a switch, the switch saves the originating MAC
address and the originating (hardware) port in the switch’s MAC address
table.
This table often uses content-addressable memory, so it is
sometimes called the “CAM table”. The switch then selectively transmits
the frame from specific ports based on the frame’s destination MAC
address and previous entries in the MAC address table.
If the
destination MAC address is unknown, for instance, a broadcast address or
(for simpler switches) a multicast address, the switch simply transmits
the frame out of all of the connected interfaces except the incoming
port.
If the destination MAC address is known, the frame is forwarded
only to the corresponding port in the MAC address table.
Hubs VS Switches:
A hub, or repeater, is a fairly unsophisticated broadcast device. Any
packet entering any port is broadcast out on every port and thus hubs do
not manage any of the traffic that comes through their ports.
Since
every packet is constantly being sent out through every port, this
results in packet collisions, which greatly impedes the smooth flow of
traffic.
A switch isolates ports, meaning that every received packet is
sent out only to the port on which the target may be found (assuming the
proper port can be found; if it is not, then the switch will broadcast
the packet to all ports except the port the request originated from).
Since the switch intelligently sends packets only where they need to go
the performance of the network can be greatly increased.
See next lecture 5 about this more.
No comments:
Post a Comment
Comments please: