cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
322
Views
5
Helpful
3
Replies

two outside nat interfaces - how do i select based on destination ip?

robert.dorn
Level 1
Level 1

Hi,

i have a router with two NAT outsinde interfaces. VLAN2 and Dialer1. VLAN2 represents my ISP connection, whereas Dialer1 is my VPN Connection. Now i would like to configure the following:

the destinations 192.168.0.0 - 192.168.7.254 and 192.168.140.0 - 192.168.140.254 should be nat'ed with dialer1

everything else (Internet etc.) should be nat'ed to VLAN2

Could somone please be so kind and give me a hint?

Special thanks!

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

If your router is capable of PBR, you maybe able to run NAT with PBR.

Have a look at this doc for examples:

https://supportforums.cisco.com/docs/DOC-8313

HTH

Thanks for your response.

Port based routing is not an option, because I would like to route the same protocols. I would like to have a destination based rule. everything wich is desired to 192.168.x.x should be nat'ed via Dialer1, everything else via VLAN2

Hello Robert,

PBR means Policy Based Routing. You will define ACL to mark interesting traffic and then set ip next-hop for this traffic.

You can specify in ACL source/destination IP and also source/destionation port if you want, it depends on your requirements.

Please read document which Reza provide one more time. Here is some additional example:

http://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/861-cisco-router-pbr-ipsla-auto-redirect.html

Best Regards

Please rate all helpful posts and close solved questions

Best Regards Please rate all helpful posts and close solved questions
Review Cisco Networking products for a $25 gift card