A router is a networking device that forwards data packets between computer networks. Routers perform the traffic directing functions on the Internet.
A router is connected to two or more data lines from different networks.[b] When a data packet comes in on one of the lines, the router reads the network address information in the packet to determine the ultimate destination.