04-22-2013 12:08 PM - edited 03-07-2019 12:58 PM
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!
04-22-2013 03:18 PM
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
04-23-2013 02:58 AM
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
04-23-2013 04:19 AM
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:
Best Regards
Please rate all helpful posts and close solved questions
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide