LinuxMoz

Linux Stuff && Coffee

Netapp Change Default Gateway

How to change the default gateway on Netapp from the CLI, as always when modifying the configuration on your Netapp I recommend you take a backup in case you need to restore the settings.

This Netapp HowTo is useful for the following

  • Netapp Change Default Route
  • Netapp Set Default Route
  • Netapp Change Gateway
  • Netapp Set Gatway
  • Netapp Add Default Gatway

To print the current network settings run:

1
ifconfig -a

Netapp Remove Default Gateway / Route

To change / set the default gateway on a netapp you first need to remove the previous default route.

1
route delete default

Netapp Change Default Gateway

To set the new default gateway enter the following command:

1
route add 0.0.0.0 default-gateway-ip 1

Say for example you want to change your default gateway to 192.168.75.1, enter:

1
route add 0.0.0.0 192.168.75.1 1

You might be interested in my other Netapp Commands & HowTo’s.

Comments