Routing

ip route 0.0.0.0 0.0.0.0 <next-hop>

Default route — sends anything not matched elsewhere out to the next hop.

Works on: RouterMode: config
Run this command live

Don't just read it — type ip route 0.0.0.0 0.0.0.0 <next-hop> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "ip route 0.0.0.0 0.0.0.0 <next-hop>" command do?

Default route — sends anything not matched elsewhere out to the next hop.

More Routing commands

← Back to the full command reference

ip route 0.0.0.0 0.0.0.0 <next-hop> — network CLI command reference · NetForge-AI