router

A network layer device that uses one or more metrics to determine the optimal path along which network traffic should be forwarded. Routers forward packets from one network to another based on network layer information. Occasionally called a gateway, although this definition of gateway is becoming increasingly outdated. Compare with gateway. See also relay.