Solved

theoritic question about routers

Posted on 2003-10-28
4
264 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

724 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