A default route, written 0.0.0.0/0 for IPv4 and ::/0 for IPv6, matches every destination because its prefix length is zero. Thanks to longest-prefix match, it is used only when no more specific route exists. That makes it the classic way to send all unknown traffic toward an internet provider or a core router. You can create it as a static route (set routing-options static route 0.0.0.0/0 next-hop 203.0.113.1), learn it from a routing protocol, or advertise it into OSPF with an export policy so other routers learn it.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 4 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.