NAT and PBR

Unanswered Question
Jul 14th, 2010

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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
manish arora Wed, 07/14/2010 - 09:58

Do you have Pbr configured already ? what device are you working on ( asa , router , l3 ) ?

markmarek Wed, 07/14/2010 - 11:35

I don't have anything configured yet?

How would I do it for a router and how would I do it for an ASA?

manish arora Wed, 07/14/2010 - 15:36

I am going to guide you here to a cisco link for pbr configuration on asa :-

http://www.cisco.com/en/US/prod/collateral/iosswrel/ps6537/ps6586/ps6635/ps6659/prod_white_paper0900aecd8060b477.html

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

Actions

This Discussion