Network Gateway

Network gateway act as the central point of connection between your local network to outside network.

If the device need to talk to the outside network, it will talk to our gateway.

For example:

sudo ip route get <some_ip>
<some_ip> via <gateway_ip> .... # output shows how to reach to <some_ip>