When is a default gateway used?
A default gateway is the router a host uses as the next hop for traffic whose destination is outside the host’s local IP subnet. Traffic to a destination on the local subnet is sent directly to that destination. Microsoft Learn’s TCP/IP addressing and subnetting documentation describes this local-versus-remote determination and forwarding remote traffic to the default gateway.
Community Discussion