Technically, a gateway is a computer
which connects two or more network
s and which operates at layer 7 of the OSI model
(the application layer
). Gateways can therefore be used to connect very dissimilar network architecture
In practice, however, the terms "gateway" and "router" seem to be used interchangeably to refer to any computer which connects two or more networks.