What's the difference between a hub and a switch?
Click for Solution

  • Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 681
    A hub is not an intelligent device where as switch is an intelligent device.switch stores the ip address in MAC table



  • Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 681
    A rupesh...Hub is also a layer2 device



  • Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 681
    A Hub is a broadcast device, i.e packets coming from one port os forwaded to all ports of hub. since it is a broadcast device, there is a lot of collision between packets, and hence this device is not used for large networks.
    properties of hub:- 1, it has one collision domain(by collision domain we mean that, ther is only one domain where all packets will collide). 2, it has one broadcast domain(broadcast domain means that, there is only one domain where all the packets will be send). IT is not intelligent, and dosent have any hardware chip type.

    switch is an intelligent device in which there is one broadcast domain but collision domain is= no of ports in switch, i.e each port is itself a collision domain. It has an hardware AISC(or ASIC dnt remember right now) chip.
    IT has some memory also, where filter table or mac table id stored.
    when ever a packet comes from a port it is checked in the mac table and the destination mac address is searched, if found then the packet is directly send to that port, it not found then it bloadcasts to all port except from where it came.


  • Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 664

  • Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 682
    G A hub acts as a main terminal of the process from where the operations start and where they all are end.
    Let's take an example of our mobile phones.
    Your service provider like BSNL, Airtel, Idea etc. are hubs and our mobile phone acts as switch or terminal.
    Hence A switch accesses services through Hub.
    Another example is Star Topology.

    CpjJwWHV   thanks :)
    14 years ago

    Smiley


  • Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 664

  • Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 682
    b A hub is typically the least expensive, least intelligent, and least complicated of the three. Its job is very simple: anything that comes in one port is sent out to the others. That's it. Every computer connected to the hub "sees" everything that every other computer on the hub sees. The hub itself is blissfully ignorant of the data being transmitted. For years, simple hubs have been quick and easy ways to connect computers in small networks.

    A switch does essentially what a hub does but more efficiently. By paying attention to the traffic that comes across it, it can "learn" where particular addresses are. For example, if it sees traffic from machine A coming in on port 2, it now knows that machine A is connected to that port and that traffic to machine A needs to only be sent to that port and not any of the others. The net result of using a switch over a hub is that most of the network traffic only goes where it needs to rather than to every port. On busy networks this can make the network significantly faster.


  • Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 681
    b whenever hub gets a mssage packet it sends it to all nodes connected to it but switch first time send message to all nods but next time it sends only to destination node.so switch is called intelligent device.hub is layer1 device while switch works on layer 2 as well as 3.

[Insert Code]