Refer to the exhibit. A company always uses the last valid IP address in a subnetwork as the IP address of the router LAN interface. A network administrator is using a laptop to configure switch X with a default gateway. Assuming that the switch IP address is 192.168.5.147/24, what command will the administrator use to assign a default gateway to the switch?
IT Exam Items Repository › Category: CCNA Discovery v4 › Refer to the exhibit. A company always uses the last valid IP address in a subnetwork as the IP address of the router LAN interface. A network administrator is using a laptop to configure switch X with a default gateway. Assuming that the switch IP address is 192.168.5.147/24, what command will the administrator use to assign a default gateway to the switch?
Refer to the exhibit. A company always uses the last valid IP address in a subnetwork as the IP address of the router LAN interface. A network administrator is using a laptop to configure switch X with a default gateway. Assuming that the switch IP address is 192.168.5.147/24, what command will the administrator use to assign a default gateway to the switch?

- X(config)# ip default-gateway 192.168.5.254
- X(config)# ip gateway 192.168.5.1
- X(config)# ip route 0.0.0.0 0.0.0.0 192.168.5.1
- X(config)# ip default-route 192.168.5.1
- X(config)# ip route 192.168.5.254 255.255.255.0 fastethernet 0/0
Related exam: CCNA Discovery 2: DsmbISP Chapter 5 Exam
About The Author
The ITExamAnswers Editorial Team is a dedicated group of certified IT professionals and network engineers. We rigorously review, verify, and update all exam materials to ensure you receive the most accurate and reliable resources for your certification journey.