Switch, Hub and Router

957 views

Can someone explain me the difference between those three devices?

In: 1512

35 Answers

Anonymous 0 Comments

Actual physical mail makes a good metaphor for this.

* A ***hub*** is like the stack of mail you bring in from the mailbox. If you’re the only person living at the address, it all goes to your.

But if you have family or roommates, anyone can go through the stack of mail you leave on the counter.

Pointedly, putting a message to someone who doesn’t live in the house onto the stack of mail is not going to get it delivered, unless someone gets it to the Post Office.

* A ***switch*** is like your mailbox. The mail for your address goes into your mailbox. Your neighbors don’t get to see it. You don’t get to see theirs.
Putting a message to another address in your mailbox for won’t get it delivered, unless it gets picked up by the Post Office.

* A ***router*** is the post office. They pick up mail from one address and move it to the address designated. This might mean that someone handed the letter to the mailman at the door, or it might mean that someone put it in a mailbox and raised the flag.
There are actual several layers of routing within the post postal service, handling getting the mail from one post office to another on the other side of the country.
There will also be situations where they hand over the mail to a different country’s postal service, which uses different addressing formats. That also the equivalent of a Router.

Most home routers act as both a switch and a router. In this context, they’re similar to someone handling a mail room at a company or college dorm with a single public address.

* If the mail is addressed to an internal recipient, it goes into the appropriate internal mailbox.
***(this is the job of a switch)***

* If the mail needs to leave the company, it gets routed to the Post Office.
***(this is the job of the edge router)***

* If the mail comes into to the common address from the Post Office, it gets moved to the stack of letters to be distributed to internal recipients.
***(this is the job of the edge router)***

* If the company or dorm mail operation has multiple locations, they might have a process for taking mail to another internal location without going through USPS.
***(this is the job of an internal router)***

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