Switch vs Router: What's the Difference?

  • Thread starter Thread starter Ali Inam
  • Start date Start date
  • Tags Tags
    Router Switch
Ali Inam
Messages
99
Reaction score
0
What is the basic difference between a switch and a router ? !
 
Computer science news on Phys.org
A switch transfer packets without changing the content of the packets, and may change the transfe rate on each port. A router will remap the ip address information in the packets between internal ports and it's external port. A router will also assign ip addresses to all the devices connected to it's internal ports.
 
They work on the different layers.
The switch is the device used on data link layer which takes circuit identifier to determies the port that the packets are sent to.
The router is the network layer device which looks at IP address and decide where to forward the packet based on it.
 
Last edited:

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 24 ·
Replies
24
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 25 ·
Replies
25
Views
3K
Replies
27
Views
17K