Add a static or default route
You can add a static or default route to the routing table.
To add a static or default route:
- Open a web browser and log in to the device UI using your login details and device admin password.
The Dashboard page displays.
- Select Routing > Routing Table.
The Routing Table page displays.
- Click the Add New button.
The Add Configure Routes pop-up window displays.
- From the Route Type menu, select one of the following route types:
- Static: Specify the network address, subnet mask, next hop address, and preference.
- DefaultRoute: Specify the next hop address and preference.
- If you are adding a static route, do the following:
- In the Network Address field, type the IPv4 route prefix for the destination.
- In the Subnet Mask field, type the subnet or network mask that identifies the attached network.
- In the Next Hop Address, type the IP address of the outgoing router that must be used when traffic is forwarded to the next router (if any) in the path toward the destination.
The next router is always one of the adjacent neighbors or the IP address of the local interface for a directly attached network.
- In the Preference field, type a value from 1 to 255.
You can specify the preference value (sometimes called administrative distance) of an individual static route. Among routes to the same destination, the route with the lowest preference value is the route entered into the forwarding database. By specifying the preference of a static route, you can control if a static route is more preferred or less preferred than routes from dynamic routing protocols. The preference also controls if a static route is more preferred or less preferred than other static routes to the same destination.
Use a value of 255 to indicate that the network is not reachable, preventing the route from being added to the routing table and traffic from being forwarded over the route.
- In the Description field, enter a description of this route that identifies the route.
The description must consist of alphanumeric, hyphen, or underscore characters and can be up to 31 characters in length.
- Click the Save button.
Your settings are saved and the route is added.