Use this topic when clients receive an address but cannot reach remote networks or receive the wrong gateway.
Default Router Option
The DHCP default-router option tells clients which Layer-3 gateway to use for destinations outside the local subnet.
1. Client: which gateway did it receive?
2. Is it in the client's subnet?
3. Is it the FHRP virtual IP (not one router's real address)?
4. Gateway answers ping and ARP from the client?
5. Wrong → fix default-router in the pool, renew on the client.
pool default-router set to the subnet's (virtual) gateway → client receives it → gateway in the same subnet → ARP resolves it → remote traffic forwarded
Test local reachability/neighbor resolution to the gateway, then inspect gateway interface/routing state.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
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 Gateway verification Narrow the fault
Inspect the client lease/configuration for the gateway. Verify the gateway IP belongs to the client subnet, test local reachability/neighbor resolution, then inspect the gateway interface and routing table if off-subnet traffic still fails.
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 configured gateway should normally be reachable in the same client subnet. A correct DHCP option does not prove that the gateway itself is operational.
show running-config | section ip dhcp pool—default-routerper pool.- Client:
ipconfig /all/ip route— gateway received. show standby brief/show vrrp brief— the virtual gateway address, if FHRP is used.ping <gateway>from the client — gateway answers.
ReferenceWhy it matters1 section · depth on demand
Why a wrong gateway is deceptive
A client can receive a valid-looking IP address and still fail every remote connection because the delivered gateway is wrong, unreachable or not forwarding. This is why DHCP success and Layer-3 success are separate checks.
ReferenceHow it works1 section · depth on demand
From lease option to forwarding
The server includes the gateway in the DHCP options. The client installs a default route or equivalent next-hop state, resolves the gateway at Layer 2 and then depends on that gateway for off-subnet forwarding.
ReferenceImportant terms & boundaries3 sections · depth on demand
Gateway boundary
First show what DHCP delivered. Then show whether the client installed it. Then show whether the gateway responds locally. Only after that should you troubleshoot routes farther into the network.
In depth
The default router option tells clients which gateway to use
default-router in a DHCP pool sends option 3 to clients: the address they use as their default gateway. Cisco's IOS XE DHCP server guide includes it in every general pool alongside the network, DNS servers and lease.
C9300(config)# ip dhcp pool VLAN20-USERS
C9300(dhcp-config)# network 10.20.0.0 255.255.255.0
C9300(dhcp-config)# default-router 10.20.0.1
host$ ip route
default via 10.20.0.1 dev eth0 proto dhcp src 10.20.0.64 metric 100
C:\> ipconfig /all | findstr /i "gateway"
Default Gateway . . . . . . . . . : 10.20.0.1
Choosing the address
| Gateway setup | Value for default-router |
|---|---|
| Single router or SVI | The SVI address |
| HSRP or VRRP pair | The virtual IP, never a real interface address |
| Several gateways | Up to eight addresses can be listed in preference order; most clients only use the first |
Problems caused by a wrong option
| Symptom | Cause |
|---|---|
| Clients reach their own subnet but nothing else | Missing or wrong default-router |
| Traffic only works while one switch is up | Real interface IP instead of the FHRP virtual IP |
| Clients in a new VLAN get the old VLAN's gateway | A copied pool that wasn't updated |
| Some clients have no gateway at all | A static or fixed binding pool without its own default-router |
Relayed requests
When the server is central and an ip helper-address relays requests, the pool's default-router must be the gateway in the client's subnet, not the server's own address. Check each pool against the SVI or FHRP configuration of the matching VLAN.
Documented example, not captured output.
Quick reference
The default-router option tells DHCP clients which gateway to use for everything outside their own subnet. It must point at an address that is always available on that VLAN, which with redundant routers means the virtual FHRP address. A missing or wrong gateway option gives the classic symptom of a client that reaches local devices but nothing beyond.
The default gateway option (option 3) in a DHCP pool:
ip dhcp pool USERS-20
network 10.0.20.0 255.255.255.0
default-router 10.0.20.1
dns-server 10.0.0.53 10.0.0.54
domain-name corp.example.com
lease 8
With FHRP, hand out the virtual IP, never a physical router address. Clients receiving no gateway still reach their own subnet only — check ipconfig /all/ip route when "local works, remote doesn't".
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 IP Services → DHCP → DHCP Server → Default Gateway. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2131.html · 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.