Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

NAT and PBR

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.

3 REPLIES

Re: NAT and PBR

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

New Member

Re: NAT and PBR

I don't have anything configured yet?

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

Re: NAT and PBR

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

302
Views
0
Helpful
3
Replies