Unanswered Question
Jul 14th, 2010
User Badges:

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 f0/1 then nat to

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
manish arora Wed, 07/14/2010 - 09:58
User Badges:
  • Silver, 250 points or more

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

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

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
User Badges:
  • Silver, 250 points or more

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) a.b.c.d netmask

static (inside,outside2) a.b.c.d netmask

I am not sure about the router configuration but the concept should be same, just change of commands.

hope it helps




This Discussion