TCP/IP Networking for Developers - default gateway


Question
What is the purpose of a Default Gateway?
Answer
A gateway is a router that serves as an access point to another network. If you are trying to reach an IP address that is not part of your subnet, you have to go through the Default Gateway. The Default Gateway is used when trying to reach an IP address that does not match any of the routes in the routing table.