Which command configures a default route with gateway 192.168.1.254?

Study for the MTCNA Foundation Exam. Prepare with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your certification!

Multiple Choice

Which command configures a default route with gateway 192.168.1.254?

Explanation:
A default route directs all traffic destined for networks not in the local routing table to a single next hop. In RouterOS you create that route by adding a new route and specifying the gateway. The command /ip route add gateway=192.168.1.254 creates a route to 0.0.0.0/0 via 192.168.1.254, which is exactly how you establish a default gateway. Using set would only modify an existing route rather than create the new default path. Specifying address= would attempt to set the destination to the gateway itself, which isn’t how a default route is defined. The create form isn’t the correct way to define a route in this system.

A default route directs all traffic destined for networks not in the local routing table to a single next hop. In RouterOS you create that route by adding a new route and specifying the gateway. The command /ip route add gateway=192.168.1.254 creates a route to 0.0.0.0/0 via 192.168.1.254, which is exactly how you establish a default gateway. Using set would only modify an existing route rather than create the new default path. Specifying address= would attempt to set the destination to the gateway itself, which isn’t how a default route is defined. The create form isn’t the correct way to define a route in this system.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy