Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Default Gateway · Windows Networking

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

0.0.0.0/0 route → gateway on-link → ARP → forwarding

Evidence · next step

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
Common mistakes
Common traps

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.

Platform / version applicability
Windows networking and network services
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows networking and network services
Scope / prerequisiteUse this topic when local-subnet access works but remote networks fail, multiple adapters/default gateways exist, traff…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • Get-NetIPConfiguration — addresses, gateway and DNS per interface
  • Get-NetAdapter — adapters, status and link speed
  • Get-NetRoute -AddressFamily IPv4 — routes and metrics
  • Test-NetConnection <host> -Port <p> — ping, route and TCP port test
  • ipconfig /all — full IP configuration
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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows networking and network services current

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%
Terminology layer

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.

Aliases that resolve here
windows default gatewaywindows default routemultiple default gateways windowswindows gateway metric
Embedded reference data

Quick lookup tables

Windows Networking → Default Gateway reference map

Fast lookup boundaries for Windows Networking → Default Gateway.

BoundaryMeaningEvidence limit
0.0.0.0/0IPv4 default routeused only absent longer match
::/0IPv6 default routeindependent IPv6 table
MetricTie/preference inputafter prefix specificity
Next hopGateway neighbormust resolve/reach locally
Return pathRemote route backnot proven locally
Confirmation

Confirm action

Continue?