This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Static Route

The iView GUI does not include an option to add a static or permanent route. From the shell, the  "route add -net" command works but will not survive a reboot. Does anyone know how to add static or permanent route?


This thread was automatically locked due to age.
  • It's no doubt possible via the "cc" console management app... but they really need to update the GUI to make it on-par with SUM.

    CTO, Convergent Information Security Solutions, LLC

    https://www.convergesecurity.com

    Sophos Platinum Partner

    --------------------------------------

    Advice given as posted on this forum does not construe a support relationship or other relationship with Convergent Information Security Solutions, LLC or its subsidiaries.  Use the advice given at your own risk.

  • hi,

    first remount the root partition from readonly to write

    mount –o remount,rw /dev/root  /

    modify the script /scripts/networkd.sh

    add the static routes (see below)

     

    start)

            echo "starting network service"

            set_Interface_IP

            set_default_GW

            route add -net 10.x.x.x/x gw <gw-ip>

            echo "network service start - done"

            ;;

     

    Save the file and reboot.