Establishing an IP Static Route

You can set a destination to receive and send traffic by a specific route through the network using the ip route command.

For null 0 interfaces, you can use the reject keyword to enable the sending of Internet Control Message Protocol (ICMP) unreachable messages to the originator for discarded ping and traceroute packets that reach the null 0 interface with a static route. Alternatively, you can use the discard keyword to disable the sending of ICMP unreachable messages to the originator for such dropped packets. For more information about the usage of ICMP unreachable messages for packets that reach null 0 interfaces with static routes, see Understanding ICMP Unreachable Messages for Static Routes Sent on Null Interfaces.

To establish a static route:

Related Documentation