Difference btw. Router & Switch....?

Discussion in 'macOS' started by fab5freddy, Jun 10, 2008.

  1. fab5freddy macrumors 65816

    fab5freddy

    Joined:
    Jan 21, 2007
    Location:
    Heaven or Hell
    #1
    Can anyone tell me the Difference between
    a Router and a Switch when networking 2 Macs ??

    thanks!!
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #3
    A switch simply provides packet switching on a network. A router provides routing between 2 networks. You are probably referring to a broadband router: this combines a router to route between the Internet and the local network and a switch connected to the local network side of the router.

    Ignoring the internet connection there are no real differences.
     
  3. captainbeefheat macrumors regular

    Joined:
    Jan 21, 2006
    Location:
    UK
    #4
    Best way to describe it, I think, is that a switch just links computers together. A router on the other hand allows computer components like printers and modems to be shared without the need to be connected through a computer themselves.

    So for instance if you have a USB modem you connect into a Mac or PC, to share that connection you could just use a switch, which will share that connection as long as the computer the modem is connected to is turned on. Same goes for sharing a printer for instance.

    A router on the other hand keeps the Internet connection open itself, so is a much more convient way to share a connection.
     
  4. poisonapple macrumors member

    Joined:
    May 7, 2008
    Location:
    Silicon Valley
    #5
    Lots of answers, but the simple, to the point answer is this:

    Router == Layer 3 (IP Address) forwarding
    Switch == Layer 2 (MAC Address) forwarding

    if your Macs (or any IP machine for that matter) are on different subnets, then you need a router.

    If you Macs (or any other IP machine for that matter) are on the same subnet, you can use a hub, bridge or switch.

    Also, there are translational bridges that allow say Token Ring to talk to Ethernet.
     

Share This Page