Jump to content

+Fr Robert Ballecer, SJ What is the difference between router and a switch? I 'm talking ab...


G+_Bostjan Cadej
 Share

Recommended Posts

 

 

+Fr. Robert Ballecer, SJ What is the difference between router and a switch?

 

I'm talking about home routers and switches, not those in enterprise einvironments. When does router the same work as a switch? DHCP is additonal service so this is not routers job, or is it?

What is the difference between router and a switch?

Link to comment
Share on other sites

I don't dress quite as nice, but I'll try to answer your question.

 

First, there is little difference on the surface between an enterprise router or switch and home router or switch.

 

The confusion is understandable since most home routers have a 4-port switch built in, but they serve different purposes. The switch connects all the devices together physically, while the router tells the data how to get to it's destination. Both are needed to have a functional network, which is why home routers have switches built-in.

 

DHCP is typically a function of routers, but you're right that it doesn't have to be. If you turn off DHCP, you'll have to use another device for DHCP or use static IPs on all devices.

Link to comment
Share on other sites

Daniel Armstrong yup... a while back.

 

The basic principle is the same: route packets to where they should be. But once you get more than a few hundred (thousand if it's a high-end switch) entries, the table you need to keep to properly route the packets is just too big.

 

That why we have high-end routers and BGP: They can route packets in the right direction even if they don't know EXACTLY where it is.

 

Here's what a conversation would look like: (Again... EXTREMELY simplified)

 

Switch:

Sender: "Hey... I have a frame from "x" that needs to go to "y"."

Switch: ""y" is on port 3"

 

Router:

Sender: "Hey, I have a packet from "x" that needs to go to "y" on domain "a""

Router 1: "I don't know who "y" is, but I think domain "a" is on router 2"

Router 1: "Hey Router 2, I've got a packet from "x" that needs to go to "y" on domain "a""

Router 2: "Yeah... I've got domain "a", I'll forward to "y"

Link to comment
Share on other sites

 Share

×
×
  • Create New...