Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.
4.3.1. Default Route
A default route matches all destinations and is used when no more specific route exists.
IPv4:
Router(config)# ip route 0.0.0.0 0.0.0.0 192.168.1.1
Router(config)# ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
ip default-gateway is not a routing command: it is for a switch, or a router with IP routing disabled. A routing router uses the all-zeros route above.
IPv6:
Router(config)# ipv6 route ::/0 2001:DB8:1::1
::/0 (all zeros, prefix length 0) matches every IPv6 destination, exactly as 0.0.0.0/0 does in IPv4.
Enroll to unlock the 5 practice questions written for this section, so you can test what you just read while it is fresh.
Enroll to unlock the 6 flashcards for this section and review them on a spaced-repetition schedule.
Written byAlvin Varughese
Founder•20 professional certifications