Description: ip default-gateway command is used when ip routing is disabled on a Cisco router. The ip default-network and ip route 0.0.0.0 0.0.0.0 commands are used to set the gateway of last resort on Cisco routers that have ip routing enabled.
Command Syntax:
1. ip default-gateway <ip address> Ex: ip default-gateway 192.168.14.2
2. ip default-network <ip address> Ex: ip default-network 192.168.1.0
3. ip route 0.0.0.0 0.0.0.0 <ip-address> Ex: ip route 0.0.0.0 0.0.0.0 192.168.5.1
Here 192.168.5.1 is the gateway of last resort to network 0.0.0.0
Note: Please refer to the SimulationExams.com Sim-Ex Lab Simulator for Network+ software to try complete lab with instructions.
Disclaimer: Simulationexams.com is not affiliated with any certification vendor, and Sim-Ex™ Practice Exams are written independently by SimulationExams.com and not affiliated or authorized by respective certification providers. Sim-Ex™ is a trade mark of SimulationExams.com or entity representing Simulationexams.com.Network+™ is a trademark of CompTIA® organization.