Use this procedure to add a non-persistent IPv6 static route to support IPv6-compliant agents.
Before you begin
You must access the appliance operating system to add a static route. For information, see Operating System Access.
Log on to the appliance with the user name rsaadmin and the operating system password.
View the current routing table, type:
sudo ip -6 route show
To add a non-persistent IPv6 route to a network interface routing file, type:
sudo ip -6 route add destination/nn via gateway dev eth0
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.
IPv6 special notation can be used. For example, to add a non-persistent static route that sends all network traffic for IPv6-compliant agents in the 2005::0/64 network to the gateway 2001::2, type:
sudo ip -6 route add 2005::0/64 via 2001::2 dev eth0
To add a non-persistent IPv6 route entry to the corresponding table, type:
sudo ip -6 route add destination/nn via gateway dev eth0 table Teth0
Teth0 specifies the table in the network interface routing file, such as Teth0 for the interface eth0.
sudo ip -6 route add 2005::0/64 via 2001::2 dev eth0 table Teth0
Press ENTER. The non-persistent route takes effect immediately.
Add a Non-Persistent IPv4 Static Route
Delete a Non-Persistent IPv4 or IPv6 Static Route