Gateway is software placed in the router. Its function is protocol translation. When we need to connect two networks based on different protocols, then gateway is used by default. It acts as an entrance To see the default gateway of your system in cmd (command prompt), type "ipconfig." It shows the default gateway.