In this tutorial, we are going to learn how to add a static route entry in the Cisco ASA firewall. How to send the specific traffic to a specific gateway.
We will add a static route entry to reach the 192.168.1.0/24 network via the 1.1.1.1 gateway. To reach the other networks, the firewall will use its default gateway. Let's start.
To add a static route, expand the "Routing" configuration tree. You can find it from the "Device Setup" option of the "Configuration" menu. Then click on the "Static Routes" option. Then click on the "Add" button to add a new static entry.
Now select the "IPv4" radio button from the "IP Address Type" section. In the "Interface" field, select your "Outside" interface from the drop-down list. Now write the destination network address that you want to reach in the "Network" field. Here, we will write 192.168.1.0/24 as the network address. Now write the gateway IP address that we want to use to reach that "192.168.1.0/24" network in the "Gateway IP" field. According to this tutorial, our gateway IP address will be 1.1.1.1. Finally, click on the "OK" button to add this route entry as well as close this window.
That's it. From now on, the firewall will use the gateway 1.1.1.1 to reach the "192.168.1.0/24" network.
No comments:
Post a Comment