Advanced Farm interview question

How does a router work?