Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

theoritic question about routers

Posted on 2003-10-28
4
Medium Priority
?
273 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 375 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 375 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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…
Suggested Courses

885 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