Solved

theoritic question about routers

Posted on 2003-10-28
4
222 Views
Last Modified: 2013-11-29
I would like to ask a theoritic question about
routers.
When a router is receiving a packet what happens?

a)It always waits until the whole packet is received and then it forwards the packet to its   destination.

OR

b)It's possible to start forwarding the packet
at the same time(as far as the header is received and the destination is known)  
0
Comment
Question by:ellostron
  • 2
4 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 9636745
Check this

http://computer.howstuffworks.com/router.htm

should answer your question

Sunray
0
 
LVL 35

Accepted Solution

by:
ShineOn earned 125 total points
ID: 9636963
The type and model of router will determine that, as well as the configuration.  Not all routers have to do store-and-forward and I can't say (since I haven't seen every router ever made) that all routers can.  Same goes for the pass-through type routing you described in b.  

You will get less lag with store-and-forward disabled but you will have fewer lost packets and retransmits with it enabled, IIRC
0
 
LVL 16

Assisted Solution

by:SteveJ
SteveJ earned 125 total points
ID: 9637484
ellostron,

Your (a) and (b) describe store and forward vs. cuthrough switching. But there's a lot more that goes on in a router that has to do with answering your question. For example the protocol being routed may require that the check_sum value be valid before forwarding. Different rules have to be applied to different conditions such as fragmentation, reassembly, ACK status in TCP . . . and on and on.

If you really want an answer to this question read Richard Stevens book Understanding IP, the Protocols.

Good luck.
Steve
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9637683
Good point, SteveJ.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Please see preceding article here: http://www.experts-exchange.com/Networking/Operating_Systems/A_11209-Root-Bridge-Election.html Figure 1 After Root Bridge has been elected, then what?..... Let's start by defining a Root Port in la…
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now