Calculadora de Gateway Padrão - Encontre IP, Máscara de Sub-rede e Gateway Padrão
Network Tool

Default Gateway Calculator

Enter any IP address or CIDR block and see your network config in Windows ipconfig format.

Formats: 192.168.1.100/24 · 10.0.0.5 255.255.255.0 · 172.16.0.1/16

Guia de Redes

Every device connected to a network needs a way to reach destinations beyond its local subnet. That is where the default gateway comes in. Whether you are browsing the web, streaming video, or accessing a remote server, your device relies on the default gateway to forward traffic out of your local network and into the wider internet. Understanding the default gateway is fundamental to networking—it is the bridge between your device and everything else on the planet.

gateway.h2a

What Is a Default Gateway?

gateway.h2a2

gateway.h2b

How the Default Gateway Works

gateway.h2b2

gateway.h2c

Finding and Configuring the Default Gateway

gateway.h2c2

gateway.h2d

Default Gateway in Different Network Environments

gateway.h2d2

gateway.h2e



Perguntas Frequentes

What is the default gateway for?

The default gateway is used to route traffic from a local network to destinations outside of it, such as the internet or other remote networks. When a device needs to send data to an IP address that is not on its local subnet, it forwards the packets to the default gateway, which then routes them toward their destination. Without a default gateway, a device can only communicate with other devices on the same local network segment.

Is 0.0.0.0 the default gateway?

0.0.0.0 is not a real default gateway IP. In routing tables, 0.0.0.0/0 represents the default route—a catch-all route that matches any destination address. When a router has no specific route for a destination, it uses the default route (0.0.0.0/0) and forwards the traffic to the configured next-hop gateway. On a host, a default gateway will always be a valid IP address within the local subnet, such as 192.168.1.1.

What is the purpose of the gateway?

A gateway acts as the entry and exit point between two networks. Its primary purpose is to translate and route data between different network protocols or architectures. In IP networking, the default gateway (usually a router) forwards packets from devices on a local subnet to destinations on other networks, including the internet. It also handles network address translation (NAT), firewall filtering, and often serves as the DHCP server and DNS forwarder for the local network.

Is 192.168.1.1 always the default gateway?

No, 192.168.1.1 is not always the default gateway. It is the most common default gateway address because many consumer routers (Linksys, TP-Link, Netgear) use 192.168.1.0/24 as their default LAN subnet, making .1 the first usable host. However, the actual default gateway depends on the network configuration. Other common gateway addresses include 192.168.0.1, 10.0.0.1, 10.0.0.138, 192.168.1.254, and 172.16.0.1. Your gateway can be any address within the local subnet that the network administrator assigns.

Why is the default gateway used?

The default gateway is used because devices on a local network cannot directly communicate with devices on remote networks. When a computer wants to send data to an IP address outside its own subnet, it must forward the traffic to a router that knows how to reach the destination. The default gateway is that router. Without it, internet access and communication between different networks would be impossible. Every device that needs off-network connectivity must have a correctly configured default gateway.