Router Definition Computer Science
A router is a networking device that forwards data packets between computer networks. Routers are located at gateways, the places where two or more networks connect.
Routers use one or more routing tables to determine the best path for forwarding a data packet. The routing tables contain information about the location of networks and the best way to get to them.
When a router receives a data packet, it examines the packet’s destination address and compares it to the information in its routing table. If the router knows the address, it forwards the packet to the …