How do you ensure the DHCP client also adds a default route when obtaining an address via DHCP?

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 ensure the DHCP client also adds a default route when obtaining an address via DHCP?

Explanation:
When a DHCP client gets an address, the server can offer a gateway as the default route. The client decides whether to install that route in its routing table. Enabling add-default-route in the DHCP client setup tells the client to automatically create a default route using the gateway provided by the DHCP server. If this option is disabled, the client won’t add the route even if the server offers a default gateway. The server’s own default-route setting or relay behavior doesn’t force the client to modify its routing unless the client is configured to apply the provided default route. So the right approach is to enable add-default-route in the DHCP client.

When a DHCP client gets an address, the server can offer a gateway as the default route. The client decides whether to install that route in its routing table. Enabling add-default-route in the DHCP client setup tells the client to automatically create a default route using the gateway provided by the DHCP server. If this option is disabled, the client won’t add the route even if the server offers a default gateway. The server’s own default-route setting or relay behavior doesn’t force the client to modify its routing unless the client is configured to apply the provided default route. So the right approach is to enable add-default-route in the DHCP client.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy