07-14-2010 09:06 AM - edited 03-06-2019 12:01 PM
I need some help with a Cisco config that would NAT a computer to one IP address if they leave one interface and NAT to a different one if that need to go out another interface
I want to nat a server based on what outbound interface the traffic leaves on with two IP addresses.
If traffic leaves on f0/0 then nat to 10.1.1.1 f0/1 then nat to 10.1.1.2.
07-14-2010 09:58 AM
Do you have Pbr configured already ? what device are you working on ( asa , router , l3 ) ?
07-14-2010 11:35 AM
I don't have anything configured yet?
How would I do it for a router and how would I do it for an ASA?
07-14-2010 03:36 PM
I am going to guide you here to a cisco link for pbr configuration on asa :-
For multiple static nat for a server :-
since you will have two different interfaces to go out of you can following statement on the asa :-
static (inside,outside1) 10.1.1.1 a.b.c.d netmask 255.255.255.255
static (inside,outside2) 10.2.2.2 a.b.c.d netmask 255.255.255.255
I am not sure about the router configuration but the concept should be same, just change of commands.
hope it helps
Thanks
Manish
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