IPv4 Static Routes

A static route defines the destination and one or more paths (next hops) to get to that destination.

You define static routes manually in the Gaia Portal, or in Gaia Clish (in Gaia gClish on Security Groups) with the "set static-route" command.

Static routes let you add paths to destinations that are unknown by dynamic routing protocols. You can define multiple paths (next hops) to a destination and define priorities for selecting a path. Static routes are also useful for defining the default route.

Static route definitions include these parameters:

  • Destination IPv4 address.

  • Route type:

    • Normal - Accepts and forwards packets to the specified destination.

    • Reject - Drops packets and sends ICMP unreachable packet.

    • Blackhole - Drops packets and does not send ICMP unreachable packet.

  • Next-hop type:

    • Address - Identifies the next hop gateway by its IPv4 address.

    • Logical - Identifies the next hop gateway by the name of the local interface that connects to it. Use this option only if the next hop gateway has an unnumbered interface.

  • Gateway identifier - IPv4 address, or name of local interface.

  • Priority (Optional) - Assigns a path priority when there are many different paths.

  • Rank (Optional) - Selects a route when there are many routes to a destination that use different routing protocols. You must use the Gaia Clish (Gaia gClish on Security Groups) to configure the rank.