This knowledge base has moved to the documentation site. Please visit the knowledge base here for the most up to date content. This site is no longer maintained.

Ignoring DHCP Default Route Option For eth0



I'd like the management port eth0 to be configured over DHCP, but I don't want it to install the default route received over DHCP.


  • Cumulus Linux 2.5.0 through 2.5.8 (for Cumulus Linux 2.5.9 or later, or 3.0.0 or later, use management VRF)
  • eth0 configured as follows in /etc/network/interfaces:
    cumulus@switch$ ifquery eth0
    auto eth0
    iface eth0 inet dhcp


Create a dhclient hook, /etc/dhcp/dhclient-enter-hooks.d/no-default-route, with the following contents:

case $reason in
    if [[ $interface =~ eth[0-9] ]]; then
      unset new_routers


This support portal has moved

Cumulus Networks is now part of the NVIDIA Networking Business Unit! The NVIDIA Cumulus Global Support Services (GSS) team has merged its operations with the NVIDIA Mellanox support services team.

You can access NVIDIA Cumulus support content from the Mellanox support portal.

You open and update new cases on the Mellanox support portal. Any previous cases that have been closed have been migrated to the Mellanox support portal.

Cases that are still open on the Cumulus portal will continue to be managed on the Cumulus portal. Once these cases close, they will be moved to the Mellanox support portal.

Powered by Zendesk