Re: Hub, switch, router



Bob Day wrote:
What is the difference between a hub, router and switch? I have seen the
terms used interchangeably, but then also seen them used as if they are
distinct items...


For a basic networking solution these devices have similar
functionality.
But their working principles are different. Hub and switch (aka
switching hub)
can be grouped to the same category.

On a network with hub, when a pc needs to communicate to another pc,
it send a packet of data to the port to which it physically connected.
When this packet reaches this port, the port copies or forwards this
packet of data to all other ports. so all other devices connected to
the hub can see this packet.

But a switch replaced with a hub do the job intelligently. It learns
the receiving packet to know the destination port and it forwards the
packet only to that port. In this way multiple communications can be
done at the same time because other ports are free. So switch is fast
and more efficient.

Router is used to connect 2 or more LANs or to break a large network
into small network groups. for a large network split with router there
may be more than one router in the network, routers can communicate
each other to know the routes to reach a computer.

Hopes this will clarify the difference.

Saifudheen.

.



Relevant Pages

  • Re: General questions about Sockets
    ... > could I push it before I see the network slowing down and/or errors? ... Nagle/Delayed ACK interaction but you could confirm it with a packet ... > I can setup any port in my registry, but what would be the 'default' one I ... Google could confirm it. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Problem setting up a small network
    ... I guess one of the things you didn't consider it that the router will also ... Along with that if he does have a hub and not a switch then he may have ... week and downloaded and ran Ethereal, a free packet sniffer he recommends. ... "The evidence pointed to a problem in the network ...
    (microsoft.public.windowsxp.general)
  • Re: Problem setting up a small network
    ... An ICS supplies DHCP and if it aint a NAT it sure works like one. ... > Along with that if he does have a hub and not a switch then he may have ... > last week and downloaded and ran Ethereal, a free packet sniffer he ... > network hub - but a problem that didn't exist prior to Win XP receiving ...
    (microsoft.public.windowsxp.general)
  • Re: Basic NAT / Firewall Question
    ... There are two basic types of NAT (Network Address Translation) which you ... NAPT simply maps port numbers to a given address. ... Your firewall will make a note from where the connection was ... with its own address and then sends this "new" packet out on its local ...
    (Security-Basics)
  • Re: tcpdump broken after rh9 2.4.20-27.9 kernel upgrade
    ... of the machines connected to the "hub". ... "true" hub and is either a switch or is using "switch like" functionality. ... The device reads the packet into a holding buffer. ... then if it only sends it to a port it has received packets ...
    (RedHat)

Loading