Solved

theoritic question about routers

Posted on 2003-10-28
4
242 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

770 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