A gateway is a point in a
network that acts as an entry point to another network. In a corporate
network for example, a computer server acting as a gateway often also
acts as a proxy server and a firewall server. A gateway is often
associated with both a router, which knows where to direct a given
packet of data that arrives at the gateway, and a switch, which
furnishes the actual path in and out of the gateway for a given packet.