1. Bicom Systems
  2. Solution home
  3. SERVERware
  4. HOWTOs SERVERware 5

HOWTO :: Adding static route on PBX v5 VPS

To add a static persistent route in pbxware v5 VPS you must do following,


nano /etc/local.d/customroute.start  (customroute can be changed as long as it ends with .start)


ip route add 192.168.2.0/24 via 10.1.0.50 dev eth0   ( if you do not need gateway you can remove via 10.1.0.50 from the example )


chmod +x /etc/local.d/customroute.start


After rebooting the VPS check with route -n if the route exists