Showing posts with label Are there any Full duplex Ethernet HUB ? Difference between Full duplex Dual speed hub and Half duplex hub.. Show all posts
Showing posts with label Are there any Full duplex Ethernet HUB ? Difference between Full duplex Dual speed hub and Half duplex hub.. Show all posts

Saturday, 17 March 2012

How Unicast/multicast/Broadcast Traffic is forwarded by Switch, Router and Hub

How Unicast/multicast/Broadcast Traffic is forwarded by Switch, Router and Hub


To Answer this first we should know what is unicast /multicast and Broadcast traffic is.

Unicast Traffic : The traffic destined to a single host in network is unicast traffic . Like ARP Request is Broadcast traffic but the ARP reply is unicast traffic.

Broadcast traffic : Broadcast traffic is the traffic which is destined for all the host in the same subnet.

Multicast Traffic : Multicast traffic is destined to a group of hosts who wishes to join the group. How the hosts join the multicast stream ? They open the desired port/ ip address pair which receives the traffic.

How  Hub forwards the Unicast/ Multicast and Broadcast Traffic ?

Hub is a single Collision domain and a single broadcast domain, which means that every packet whether it is unicast/multicast or broadcast will be forwarded to every other port.

How  Switch forwards the Unicast/ Multicast and Broadcast Traffic ?

Switch breaks collision domain and is single boradcast domain. It has its own Learning table or bridge table or MAC table. It updated the entry in this table based on source mac address and the port no. So when a packet is received on lets say PORT A with Source mac as AA:AA:AA:AA:AA:AA it will update its entry and all packets destined to this host will be sent to this port only. 


'

 How  Router  forwards the Unicast/ Multicast and Broadcast Traffic ?

 Router each port is single broadcast and single collision domain. It only forwards unicast traffic and drops broadcast traffic. Multicast traffic will only be forwarded if it has IGMP capability.



Are there any Full duplex Ethernet HUB ?

Are there any Full duplex Ethernet HUB ?


Is it possible to have a full duplex Hub? Answer is NO. The Hub always works in Half duplex mode. And if it says 100 Mbps full duplex then probably its switch not hub.

If you want to sniff the packets using HUB, go for real hub ( 10 Mbps)  . The hub actually sends all traffic to all ports but switches and Dual speed Hub can be little picky in traffic.

Hubs can work in either 10 Mbps or 100 Mbps but always in half duplex mode.

Please read

http://wiki.wireshark.org/HubReference for more details.

http://www.cisco.com/en/US/docs/switches/lan/microswitches/mswitch1548/install/guide/concepts.html