You can specify the default route using the etc/rc file, router discovery, or Routing Information Protocol
(RIP).
If IPv6 is enabled on your storage system, the default route is generated automatically.
Note: If you are upgrading from a version of Data ONTAP earlier than 6.0, you might be using the /etc/dgateways file to set a default route. This method is obsolete, so you should switch to one of the current methods.
Example of default route in etc/rc file
The following example shows the default route being set in the /etc/rc file using the route add
command:
hostname tpubs-f720
ifconfig e0 172.28.50.21 netmask
255.255.255.0 mediatype 100tx-fd
route add default 172.28.50.1
1
routed on