Add a Non-Persistent IPv4 Static Route
Use this procedure to add a non-persistent IPv4 static route.
Before you begin
You must access the appliance operating system to add a static route. For information, see Operating System Access.
Procedure
Log on to the appliance with the user name rsaadmin and the operating system password.
View the current routing table, type:
sudo ip -4 route show
When you add a non-persistent IPv4 route entry to a network interface routing file, you can choose to whether to specify a table:
- To add a non-persistent IPv4 route to a network interface routing file, type:
sudo ip route add destination/nn via gateway dev eth0
where:
destination specifies the IP address of the network or host for which you are adding a static route. Any network traffic to the destination IP address follows the route defined by the entry.
/nn is the prefix length notation used to specify the subnet mask associated with the destination IP address.
gateway specifies the IP address of the node that will route traffic to the destination network or host.
eth0 specifies the network interface, for example, eth0 or eth1.
For example, to add a non-persistent static route that sends all network traffic for any host in the 10.100.212.0/22 network to the gateway 10.100.219.102, type:
sudo ip route add 10.100.212.0/22 via 10.100.219.102 dev eth0
- To add a non-persistent IPv4 route entry to the corresponding table, type:
sudo ip route add destination/nn via gateway dev eth0 table Teth0
where:
destination specifies the IP address of the network or host for which you are adding a static route. Any network traffic to the destination IP address follows the route defined by the entry.
/nn is the prefix length notation used to specify the subnet mask associated with the destination IP address.
gateway specifies the IP address of the node that will route traffic to the destination network or host.
eth0 specifies the network interface, for example, eth0 or eth1.
Teth0 specifies the table in the network interface routing file, such as Teth0 for the interface eth0.
For example, to add a non-persistent static route that sends all network traffic for any host in the 10.100.212.0/22 network to the gateway 10.100.219.102, type:
sudo ip route add 10.100.212.0/22 via 10.100.219.102 dev eth0 table Teth0
- To add a non-persistent IPv4 route to a network interface routing file, type:
Press ENTER. The non-persistent route takes effect immediately.
Related Articles
RSA SecurID Software Token 2.4 for iOS Quick Start (Italian) 4Number of Views RSA MFA Agent 3.0 for Microsoft AD FS Release Notes (Italian) 6Number of Views Command in RSA Authentication Manager (AM) 8.X to set the run level for the NTP service on boot. 65Number of Views Emergency Offline Authentication 73Number of Views RSA Authentication Manager server fails to boot starting Dracut Emergency shell 38Number of Views
Trending Articles
RSA Authentication Manager Upgrade Process RSA Release Notes for RSA Authentication Manager 8.8 RSA RADIUS Server service failed to start in the RSA Authentication Manager 8.1 Operations Console Microsoft Entra ID External MFA - Relying Party Configuration Using OIDC - RSA Ready Implementation Guide RSA Release Notes: Cloud Access Service and RSA Authenticators