Networking Forums

Networking Forums > Computer Networking > Linux Networking > hub vs switch

Reply
Thread Tools Display Modes

hub vs switch

 
 
annalissa
Guest
Posts: n/a

 
      10-03-2008, 02:06 PM
Hi all,

these are the differences between hub and switch , which i have read
in the book, "A practical guide to Ubuntu Linux", is there any other
point important points which the book book has not mentioned

Hub

A hub (sometimes called a concentrator) is a device that connects
systems so they are all part of one network segment and share the
network bandwidth. Hubs work at the physical layer of the IP and OSI
models (layer 1).

A nonswitched (hub-based) broadcast network can run in only half-
duplex mode.

Switch

A switch connects network segments. A switch inspects each data packet
and learns which devices are connected to which of its ports. The
switch sorts packets and sends each packet only to the device it is
intended for. Because a switch sends packets only to their destination
devices, it can conserve network bandwidth and perform better than a
hub. A switch may have buffers for holding and queuing packets.
Switches work at the data link layer of the IP and OSI models (layer
2 ).

Some Ethernet switches have enough bandwidth to communicate
simultaneously, in full-duplex mode, with all connected devices. Full-
duplex Ethernet further improves things by eliminating collisions.
Theoretically, each host on a switched network can transmit and
receive simultaneously at speed of the network (e.g., 100 megabits per
second) for an effective bandwidth between hosts of twice the speed of
the network (e.g., 200 megabits per second), depending on the capacity
of the switch.

 
Reply With Quote
 
 
 
 
Carl
Guest
Posts: n/a

 
      10-03-2008, 06:07 PM
annalissa wrote:
> Hi all,
>
> these are the differences between hub and switch , which i have read
> in the book, "A practical guide to Ubuntu Linux", is there any other
> point important points which the book book has not mentioned
>
> Hub
>
> A hub (sometimes called a concentrator) is a device that connects
> systems so they are all part of one network segment and share the
> network bandwidth. Hubs work at the physical layer of the IP and OSI
> models (layer 1).
>
> A nonswitched (hub-based) broadcast network can run in only half-
> duplex mode.
>
> Switch
>
> A switch connects network segments. A switch inspects each data packet
> and learns which devices are connected to which of its ports. The
> switch sorts packets and sends each packet only to the device it is
> intended for. Because a switch sends packets only to their destination
> devices, it can conserve network bandwidth and perform better than a
> hub. A switch may have buffers for holding and queuing packets.
> Switches work at the data link layer of the IP and OSI models (layer
> 2 ).
>
> Some Ethernet switches have enough bandwidth to communicate
> simultaneously, in full-duplex mode, with all connected devices. Full-
> duplex Ethernet further improves things by eliminating collisions.
> Theoretically, each host on a switched network can transmit and
> receive simultaneously at speed of the network (e.g., 100 megabits per
> second) for an effective bandwidth between hosts of twice the speed of
> the network (e.g., 200 megabits per second), depending on the capacity
> of the switch.
>



One of the uses of a hub is bandwidth monitoring. Its very easy to
connect computers together using a hub, and have a third computer
monitor the transfer.
 
Reply With Quote
 
habibielwa7id
Guest
Posts: n/a

 
      10-04-2008, 07:04 PM
On Oct 3, 10:47 pm, Maxwell Lol <nos...@com.invalid> wrote:
> Carl <c...@never.com> writes:
> > One of the uses of a hub is bandwidth monitoring. Its very easy to
> > connect computers together using a hub, and have a third computer
> > monitor the transfer.

>
> As an alternative, you can get a switch with "port mirroring"
> capability. You can configure one of the ports to mirror all of the
> packets seen on the other ports.
>
> Dell makes one for just $100 (8 ports) to $400 (48 ports).


-Using any kind of switches you can monitor the traffic even if has
not the "port mirroring" function. Using ARP spoofing. Many
applications on both Linux and Windows will help doing so easily. You
can also do this manually on Linux. If you want example on Windows you
can check a program called winarpspoof . It's a free ware and will
help you to monitor the whole network without using the "port
mirroring" capability. But this is forbidden to do on some networks
specially if you are not the dmin for the network. So every body
should check first.
Regards,
 
Reply With Quote
 
habibielwa7id
Guest
Posts: n/a

 
      10-04-2008, 07:05 PM
On Oct 3, 10:47 pm, Maxwell Lol <nos...@com.invalid> wrote:
> Carl <c...@never.com> writes:
> > One of the uses of a hub is bandwidth monitoring. Its very easy to
> > connect computers together using a hub, and have a third computer
> > monitor the transfer.

>
> As an alternative, you can get a switch with "port mirroring"
> capability. You can configure one of the ports to mirror all of the
> packets seen on the other ports.
>
> Dell makes one for just $100 (8 ports) to $400 (48 ports).


-Using any kind of switches you can monitor the traffic even if has
not the "port mirroring" function. Using ARP spoofing. Many
applications on both Linux and Windows will help doing so easily. You
can also do this manually on Linux. If you want example on Windows you
can check a program called winarpspoof . It's a free ware and will
help you to monitor the whole network without using the "port
mirroring" capability. But this is forbidden to do on some networks
specially if you are not the admin for the network. So every body
should check first.
Regards,
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switch or Router/Switch? Jon Danniken Network Routers 12 08-04-2011 11:01 AM
setup problem gigabit switch + 100mbit switch Glenn Windows Networking 0 09-01-2006 07:42 AM
router contains a built-in switch versus router without a built-in switch jrefactors@hotmail.com Network Routers 37 09-19-2005 08:55 PM
router contains a built-in switch versus router without a built-in switch jrefactors@hotmail.com Windows Networking 39 09-19-2005 08:55 PM
Wireless Switch to Wireless Switch operation help. Engelkott Home Networking 2 08-13-2005 05:12 PM



1 2 3 4 5 6 7 8 9 10 11