.. _example_interfaces_ethernet_dhcp_defaultrouter:
##############
Default Router
##############
This scenario shows how to configure an Ethernet interface with DHCP
and manage default route options.
(Dynamic Host Configuration Protocol).
.. image:: dhcp.svg
:width: 800
**************************************
Test DHCP client disable default route
**************************************
Description
===========
This example show how to configure the client to avoid installing
the default route via the default gateway provided by DHCP server.
Scenario
========
.. include:: defaultrouter/testdhcpclientdisabledefaultroute
.. raw:: html
******************************************
Test DHCP client disable default route VRF
******************************************
Description
===========
This example show how to configure the client to avoid installing
the default route via the default gateway provided by DHCP server
in a VRF.
Scenario
========
.. include:: defaultrouter/testdhcpclientdisabledefaultroutevrf
.. raw:: html
*******************************************
Test DHCP client set default route distance
*******************************************
Description
===========
This example show how to configure the client to avoid installing
the default route with a weight of 1 via the default gateway provided
by DHCP server.
Scenario
========
.. include:: defaultrouter/testdhcpclientsetdefaultroutedistance
.. raw:: html
***********************************************
Test DHCP client set default route distance VRF
***********************************************
Description
===========
This example show how to configure the client to avoid installing
the default route with a weight of 1 via the default gateway provided
by DHCP server in a VRF.
Scenario
========
.. include:: defaultrouter/testdhcpclientsetdefaultroutedistancevrf
.. raw:: html