Network

Add IP static routes

You can assign manually configured routing entries to your appliance.

  1. In the Services tab, click network instance setup next to a network interface.

    Interface Setup

  2. Add a static route through the following syntax.

    ip route <ip/mask> <gateway>
    ip route <ip/mask> <gateway>

    Example:

    service network eth0 ip address 192.168.1.11/24 ip route 10.0.0.0/24 192.168.1.1
    service network eth0 ip address 192.168.1.11/24 ip route 10.0.0.0/24 192.168.1.1
  3. Reload the network interface.

  4. To make your changes persistent after a reboot, click the Setup tab. Then click Save under Configuration.

Do you have any suggestions on how we can improve the content of this page?