Use this topic when local-subnet access works but remote networks fail, multiple adapters/default gateways exist, traffic exits an unexpected interface, or changing metrics changes path selection.
Default Gateway · Windows Networking
A Windows Default Gateway is the next-hop concept represented by a default route used when no more-specific route matches a destination; IPv4 and IPv6 maintain separate route tables and defaults.
1. Get-NetRoute -DestinationPrefix 0.0.0.0/0 — one route? metrics?
2. Test-NetConnection <gateway>.
3. Get-NetNeighbor -IPAddress <gateway> — resolved?
4. Two gateways on different NICs → metrics decide.
5. Remove wrong: Remove-NetRoute.
0.0.0.0/0 route → gateway on-link → ARP → forwarding
Test the next hop and trace the first upstream/return boundary beyond Windows.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Do not delete every extra default route without identifying its owner (VPN, virtual adapter, management network). Do not assume gateway ping failure shows gateway forwarding failure because ICMP may be filtered.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Choose one off-subnet destination, show that no longer prefix supersedes the default, identify the selected interface/next hop, then test the next hop and destination separately.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- The default gateway is not consulted when a more-specific route matches.
- Longest-prefix match is evaluated before route/interface metric preference.
- A configured gateway can be unreachable at Layer 2 and still appear in configuration.
- Multiple default routes are possible; preference is context/metric dependent.
- IPv4 and IPv6 default routes are independent.
ReferenceWhat it is1 section · depth on demand
Core model
Windows expresses gateway behavior through the route table. The administrator-facing gateway field commonly creates or influences a default route, but the route table is the operational source for destination-specific forwarding decisions.
and state what the evidence does not show.
ReferenceImportant terms & boundaries2 sections · depth on demand
Windows boundary
When multiple defaults exist, do not reason from UI ordering alone. Compare address family, route prefix, route metric and interface metric for the target context, then verify next-hop neighbor state.
In depth
The default gateway is a 0.0.0.0/0 route. Windows can have several (one per interface) and picks by lowest combined metric (route metric + interface metric).
Get-NetRoute -DestinationPrefix 0.0.0.0/0 | ft ifIndex,InterfaceAlias,NextHop,RouteMetric,ifMetric
New-NetRoute -InterfaceAlias Ethernet -DestinationPrefix 0.0.0.0/0 -NextHop 10.0.10.1
Remove-NetRoute -DestinationPrefix 0.0.0.0/0 -NextHop 10.0.99.1 -Confirm:$false
Configure a gateway only on the interface that should carry general traffic; storage, backup and cluster NICs normally have none, with specific routes added if needed.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Windows Networking → Default Gateway. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/networking/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Windows Networking → Default Gateway reference map
Fast lookup boundaries for Windows Networking → Default Gateway.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| 0.0.0.0/0 | IPv4 default route | used only absent longer match |
| ::/0 | IPv6 default route | independent IPv6 table |
| Metric | Tie/preference input | after prefix specificity |
| Next hop | Gateway neighbor | must resolve/reach locally |
| Return path | Remote route back | not proven locally |