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.
Parents
  • 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.

Reply
  • 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.

Children
No Data