Switch, Hub and Router

913 views

Can someone explain me the difference between those three devices?

In: 1512

35 Answers

Anonymous 0 Comments

Hubs really arent used anymore, at least not at an enterprise level. They’ve been replaced by switches for the most part.

Imagine a LAN (your home network) as your hometown. Your computer is your home address within your hometown.

When you send a letter (a packet) out through the mail, its first stop is at your local post office (your switch). The local post office (switch) looks at the address on the letter and determines if it needs to go somewhere within the hometown that it services, or if its going outside of that to some other destination.

If its going within its same home town, the post office will see that and send it out to be delivered to the correct address.

If its going outside the post office’s service area, then it will send it to the next higher distribution center (your router) to be mailed out to the correct post office that does service the destination address.

The distribution center (your router) receives the letter, determines what distribution center does service the local post office that the destination is at, and sends it to that distribution center.

You can follow that path back down the tree to the destination address.

theres obviously a lot more nuance to it than this, but thats the gist of it.

Routers route packets between networks, switches switch packets on local networks.

You are viewing 1 out of 35 answers, click here to view all answers.