Which command sets the default static route to reach the internet via gateway 203.0.113.1?

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 sets the default static route to reach the internet via gateway 203.0.113.1?

Explanation:
The main idea is to define a default route by sending all unspecified traffic to a single next-hop. In RouterOS, a default route is created by setting the destination to 0.0.0.0/0 and specifying the next-hop gateway IP. The command that does exactly that with the gateway 203.0.113.1 is /ip route add dst-address=0.0.0.0/0 gateway=203.0.113.1. This makes every packet destined for anything not in the routing table go through 203.0.113.1. Using a different gateway IP would direct traffic toward a different router. Using interface=wan instead of a specific gateway IP relies on the next-hop learned on that interface and does not guarantee a particular next-hop IP, which is why it isn’t the exact match for the specified gateway.

The main idea is to define a default route by sending all unspecified traffic to a single next-hop. In RouterOS, a default route is created by setting the destination to 0.0.0.0/0 and specifying the next-hop gateway IP. The command that does exactly that with the gateway 203.0.113.1 is /ip route add dst-address=0.0.0.0/0 gateway=203.0.113.1. This makes every packet destined for anything not in the routing table go through 203.0.113.1.

Using a different gateway IP would direct traffic toward a different router. Using interface=wan instead of a specific gateway IP relies on the next-hop learned on that interface and does not guarantee a particular next-hop IP, which is why it isn’t the exact match for the specified gateway.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy