cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2178
Views
5
Helpful
8
Replies

Cisco ASA 5520 - Dual outbound NAT

Kuzuri
Level 1
Level 1

Is it possible to have two different outbound links and NAT them based on VLAN on a ASA 5520?

 

I have 3 VLANs trunked to the ASA in a router-on-a-stick design and two links to the Internet.  I'm trying to NAT 2 of the VLANs out the second outbound interface, but it won't work.  However, if I NAT out of the first everything works perfectly fine:

 

nat (inside,outside) dynamic interface
nat (vlan10,outside) dynamic interface
nat (vlan20,outside) dynamic interface

But as soon as I change it to outside2 outbound connections stop working:

 

nat (inside,outside) dynamic interface
nat (vlan10,outside2) dynamic interface
nat (vlan20,outside2) dynamic interface

Are you allowed to have 2 outbound interfaces on an ASA and can you NAT through them?  If so, can you spot what I am doing wrong?

 

Thank you!

1 Accepted Solution

Accepted Solutions

No other way. Without PBR, you can, however, do some kind of stuff but not exactly what you want.
Take a look here for examples: https://community.cisco.com/t5/security-documents/dual-isp-implementation-on-asa/ta-p/3144475

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

8 Replies 8

balaji.bandi
Hall of Fame
Hall of Fame

We are not sure what is VLAN 10 and VLAN 20 IP ?

Can we have 3 VLAN IP address and full configuration to review.

 

Are you looking to setup failover link ? what is the goal of 2 ISP link ?

 

BB

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Francesco Molino
VIP Alumni
VIP Alumni
Hi

Yes you can have 2 outbound interfaces. Based on your description, I believe your outside zone is the default route which explain why vlan 10 and 20 are working when Nat is done on outside.
If you want to nat using outside2 for vlan10 and vlan20, you would need to configure PBR.
You can take a look here:
https://www.cisco.com/c/en/us/td/docs/security/asa/asa94/config-guides/cli/general/asa-94-general-config/route-policy-based.pdf

This feature needs a minimum version of software.

If you want us to build the PBR, we will require more details like subnets of vlan10 and vlan20, does any traffic from these vlans has to go out through outside2?


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

I was afraid of that. My Cisco 5520 doesn't support PBR. Is there no way to
do it without PBR?

No other way. Without PBR, you can, however, do some kind of stuff but not exactly what you want.
Take a look here for examples: https://community.cisco.com/t5/security-documents/dual-isp-implementation-on-asa/ta-p/3144475

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Thank you, this might actually work in this situation.

OK no problem. If you need more assistance let us know.

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Hello, there is a way to do it by working with Traffic Zones, which is introduced on ASA code 9.3, however, the ASA5520 supports only up to 9.1 ASA code.

 

The ISP SLA option already given to you will work as well but will be only on a link failover basis.

 

It depends on if you need to work with 2 active Internet links or 1 active and a standby internet link.

 

I leave you here the information about traffic zones: https://www.cisco.com/c/en/us/td/docs/security/asa/asa93/release/notes/asarn93.html 

Unfortunately for my situation I needed two active links and traffic sent based on their originating VLAN/network.

 

However, now that I've glanced over the traffic zones post I might be able to work with that since I know what ports that I will be working with.

 

If that becomes too cumbersome I think I'll pull everything back and route it with the layer 3 switch.  That should take care of it, but it'll just make things a little more difficult for the hosts that needed to be in the dmz.

 

That is something that I will have to weigh and decide if the pros outweigh the cons. 

Review Cisco Networking for a $25 gift card