Technically, a gateway is a computer which connects two or more networks and which operates at layer 7 of the OSI model (the application layer). Gateways can therefore be used to connect very dissimilar network architectures.

In practice, however, the terms "gateway" and "router" seem to be used interchangeably to refer to any computer which connects two or more networks.