Recover from an Incorrect Gateway

If you cannot use the Operations Console to change the appliance network settings, you might have to change the IPv4 gateway on the appliance.

The following procedure uses the eth0 interface as an example. You can update the eth1 interface by replacing eth0 with eth1.

Before you begin

This procedure assumes that you know how to use the vi editor.

Procedure

  1. Log on to the appliance with the user name rsaadmin and the operating system password.

  2. If you are correcting the gateway for the primary interface, such as eth0, then you must update the routes file with the correct gateway. This step is not required for a secondary interface. Do the following:

    1. Use 'sudo vi' to open the routes file at /etc/sysconfig/network/routes.

    2. Change the line default gateway-ip to the correct gateway.

    3. Save and close the routes file.

  3. Update the ifroute-eth0 file with the correct gateway:

    1. Use 'sudo vi' to open the ifroute-eth0 file at /etc/sysconfig/network/ifroute-eth0.

    2. Change the line default gateway-ip to the correct gateway.

    3. Save and close the ifroute-eth0 file.

  4. Restart the network services. Type:

    sudo /sbin/service network restart

    and press ENTER.