Delete a Non-Persistent IPv4 or IPv6 Static Route
Use this procedure to remove a non-persistent IPv4 or IPv6 static route.
Before you begin
You must access the appliance operating system to delete 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.
For a list of the available static routes, you can view the current routing tables.
For IPv4, do the following:
To show the main routing table, type:
sudo ip -4 route show
To show the table in the network interface routing file, type:
sudo ip -4 route show table Tetho
where:
Teth0 specifies the table in the network interface routing file, such as Teth0 for the interface eth0.
For IPv6, do the following:
To show the main routing table, type:
sudo ip -6 route show
To show the table in the network interface routing file, type:
sudo ip -6 route show table Tetho
where:
Teth0 specifies the table in the network interface routing file, such as Teth0 for the interface eth0.
Choose one of the following options:
To manually delete a non-persistent IPv4 static route, without restarting network services or rebooting the AM instance, do the following:
Delete the route from the interface. Type the following, and press ENTER:
sudo ip route del destination/nn via gateway dev eth0
where:
destination specifies the the IP address of the network or host for which you are deleting the static route.
/nn is the prefix length notation used to specify the subnet mask associated with the destination IP address.
gatewayspecifies the IP address of the node that will route traffic to the destination network or host.
eth0specifies the network interface, for example, eth0 or eth1.
Delete the route from the interface table. Type the following, and press ENTER:
sudo ip route del destination/nn via gateway dev eth0 table Teth0
where:
destinationspecifies the the IP address of the network or host for which you are deleting the static route.
/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.
To manually delete a non-persistent IPv6 static route, without restarting network services or rebooting the AM instance, do the following:
Delete the route from the interface. Type the following, and press ENTER:
sudo ip -6 route del destination/nn via gateway dev eth0
where:
destination specifies the IP address for the network or host for which you are deleting the static route.
/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.
Delete the route from the interface table. Type the following, and press ENTER:
sudo ip -6 route del destination/nn via gateway dev eth0 table Teth0
where:
destination specifies the IP address for the network or host for which you are deleting the static route.
/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.
To automatically delete all non-persistent IPv4 and IPv6 static routes, you can restart the network services on the AM instance. Network services will not be available for several seconds. Type:
sudo service network restart
and press ENTER.
Related Articles
Add a Non-Persistent IPv6 Static Route 7Number of Views Add a Non-Persistent IPv4 Static Route 27Number of Views Delete a Persistent IPv4 or IPv6 Static Route 8Number of Views Add a Persistent IPv6 Static Route 9Number of Views Add a Persistent IPv4 Static Route 31Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x