Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Digital Literacy How the Internet Works The Internet Routers and Switches

Kathryn Williamson
Kathryn Williamson
2,011 Points

"in order to work efficiently, routing packets along the best path towards their final destination" does not make sense

It seems like a word is missing from the sentence , "in order to work efficiently, routing packets along the best path towards their final destination"? This was right after she talks about how Routers find the most efficient way to send data from one router to the next, until it reaches its final destination. And before she talks about Routing Tables. The sentence does not make sense to me.

4 Answers

Ryan Ruscett
Ryan Ruscett
23,309 Points

Hola,

I totally understand where you are coming from. Let's look at this a bit more...

"in order to work efficiently, routing packets along the best path towards their final destination"

This is totally true. Right, I mean it at least makes sense. If I am going A to B I don't want to go to A, D, C B if I don't have to right?

Let's look at the next part.

"Routers find the most efficient way to send data from one router to the next"

This is true, it's a routers job to find the best way to send data. It's the routers job to make sure I go from A to B and not D, C then B am I right?

"And before she talks about Routing Tables"

Well how does a router determine the best route without knowing all possible routes? This is done via a routing table. The table is the basis in which a router is able to choose the best path.

Ok let's see if I can sum it up.

Of course the best destination A- to -B. It's the job of a routers to determine the best option. Routers do this via routing tables. Do keep in mind that she doesn't talk about his. But it's definitely possible to alter the routing table in a way that keeps it from being the best. In some events you need to actually do this in order to make it the best. Think of it like cell phone towers.

A cell phone as you drive in your car is connected to a tower. As you drive further form that tower it doesn't switch until it's about to lose service. Then it switches to a tower that is closer and gives you better service. BUT what if you stopped just before that happened. You would be connected to a tower much further away. This is not efficient at all. But it is what it is. Unless you turn your phone off and back on so it connects to the closest tower. Same goes for routers. You an configure them to be faster and they are suppose to be the festest already But when we start talking out etc/hosts on windows or etc/resol.v on linux We point to our router or genmask or subnetmask whatever you want to call it. We can point to a different router that is closer. There for better. Although, that should already be detected. .But keep in mind the goal is the shortest distance, but that's not always the reality.

Does this make sense or have I confused you more lol?

The entire sentence is, "In order to work efficiently, routing packets along the best path towards their final destination, each router keeps information about other routers in what's called a routing table."

Try using the closed-captioning if you have trouble with hearing comprehension.

:-)

Kathryn Williamson
Kathryn Williamson
2,011 Points

Thank you! Your explaination makes sense and more of an explaination of the concepts always helps. I guess what I was asking is if there is a verb missing in that sentence. Could it be: "in order to work efficiently, routing packets MOVE along the best path towards their final destination"

Ryan Ruscett
Ryan Ruscett
23,309 Points

Yo,

That is true, but in the world of the interwebs depending on traffic the long may way be the best way. In either case your statement is totally true and I agree with you. But you got the idea so it looks like you got have what you needed to gain. Way to think critically about it.