A device that connects networks with dissimilar network architectures and which operates at the Application Layer of the OSI model. This term may refer to a router.
A gateway device interconnects two different networks, sometimes through different network protocols. When it connects networks based on different protocols, a gateway converts a datagram from one protocol stack into the other. When used to connect two IP-based networks, a gateway (also called a router) has two separate IP addresses, one on each network.

