Cisco Exam Questions

which two commands set the gateway of last resort to the default gateway?

If IP routing is enabled, which two commands set the gateway of last resort to the default
gateway? (Choose two.)

A.
ip default-gateway 0.0.0.0

B.
ip route 172.16.2.1 0.0.0.0 0.0.0.0

C.
ip default-network 0.0.0.0

D.
ip default-route 0.0.0.0 0.0.0.0 172.16.2.1

E.
ip route 0.0.0.0 0.0.0.0 172.16.2.1

Explanation:
Both the “ip default-network” and “ip route 0.0.0.0 0.0.0.0 (next hop)” commands can be
used to set the default gateway in a Cisco router.