Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Set the permanent default router with:

    Code Block
    languagebash
    themeEclipse
    # vi /etc/defaultrouter

    Insert just the IP of the default gateway.


  2. Or use echo to right write to the file

    Code Block
    languagebash
    titleInsert IP address to defaultrouter
    # echo "10.12.1.254" > /etc/defaultrouter


  3. If possible reboot the system for the changes to take affect. If a reboot is not possible use the following command to set the default gateway immediately:

    1. This will not survive a reboot.

      Code Block
      languagebash
      themeEclipse
       # route –p add default x.x.x.x


...