How do you configure a default route with gateway 192.168.1.1 from RouterOS?

Prepare for the MikroTik Certified Network Associate Exam. Enhance your skills with diverse modules, adaptive quizzes, and detailed explanations. Ace your certification with confidence!

Multiple Choice

How do you configure a default route with gateway 192.168.1.1 from RouterOS?

Explanation:
Configuring a default route means telling RouterOS where to send traffic for destinations not covered by more specific routes. In MikroTik RouterOS, the default route is 0.0.0.0/0. You create it by adding a route and leaving the destination unspecified, so RouterOS treats it as the default. The gateway parameter sets the next-hop IP for that traffic. Therefore, the command to configure a default route with gateway 192.168.1.1 is: /ip route add gateway=192.168.1.1 The other forms don’t fit: attaching a/24 mask to the gateway is invalid since masks apply to destinations, not the gateway itself; using set would modify an existing route rather than create the default route; and using /route instead of /ip route uses a different command path in RouterOS.

Configuring a default route means telling RouterOS where to send traffic for destinations not covered by more specific routes. In MikroTik RouterOS, the default route is 0.0.0.0/0. You create it by adding a route and leaving the destination unspecified, so RouterOS treats it as the default. The gateway parameter sets the next-hop IP for that traffic. Therefore, the command to configure a default route with gateway 192.168.1.1 is:

/ip route add gateway=192.168.1.1

The other forms don’t fit: attaching a/24 mask to the gateway is invalid since masks apply to destinations, not the gateway itself; using set would modify an existing route rather than create the default route; and using /route instead of /ip route uses a different command path in RouterOS.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy