Saturday, April 25, 2020

what is the Difference between Switch and Router


What is a router

´  Router is a layer 3 device which works on network layer of OSI model which connects two different networks and it identifies network devices based on their IP addresses.
´  The Routers are the devices used for connecting local network to the other local network/s.
´  They are generally located at the gateway where two or more than two networks connect.

What is a switch


´  Switch is a layer 2 device which works on data link layer of OSI model, it communicates by using frames and it identifies network devices on the bases of MAC addresses or physical addresses.

Router:

  1. Mode of transmission:
´                              It Transmits data in the form of packets.
      2. Address:
             It makes use of IP address for the purpose of data transmission.
      3.Layer of OSI Model:
            It makes use of layer 3 of OSI model.
4.Ports
          Routers contain 2 Ports by default like fast Ethernet Ports. However, we can add serial ports explicitly.
      5.Table:
      It makes use of the Routing Table for routes to get to the destination IP.

Swaitch:

             1. Mode of transmission:
              It Transmits data in the form of frames.
2. Address:
    It makes use of MAC address for the purpose of data transmission.
 3.Layer of OSI Model:
   It makes use of layer 2 of OSI model.
4.Ports
 Routers contain 2 Ports by default like fast Ethernet Ports. However, we can add serial ports explicitly.

Switches, on the contrary, are available with different Ports i.e – 8, 16, 24, 48 and 64.
5.Table:
It makes use of CAM (Content addressable Memory) table for MAC address.

No comments:

Post a Comment