Router vs switch

Discussion in 'Computing and Networks' started by Nagarajkumar, Dec 15, 2010.

  1. Nagarajkumar

    Thread Starter New Member

    Dec 15, 2010
    1
    0
    Is it possible to connect two network using switch.
    If yes, what is difference in connecting the networks using switch and router?
     
  2. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    A router is used to connect two different networks, in TCP/IP, two different subnets, such as 192.168.1.0/24 and 192.168.2.0/24. Systems on those two networks that want to communicate need to have a router between them.

    A standard switch (not a layer 3 "routing switch") separates the collision domains of Ethernet, but lets all the systems connected to it share the same network, e.g. 192.168.1.0/24 would all plug into 1 or more switches, depending on the number of systems.

    Prior to Gigabit, there were Ethernet "hubs" that connected systems on a network, the difference being that a hub is a single collision domain (see Wiki on Ethernet).

    Any computer plugged into a hub can see all the traffic to all the computers on a network. A computer plugged into a switch can only see the traffic it is sending and receiving.
     
Loading...