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

You may experience some slow load times, errors, and slight inconsistencies. We ask for your patience as we finalize the launch. Thank you.

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

For an introduction to the new site, click here. If you'd prefer to explore, try our beta test area to get started.

New Member

Static NAT on one ISP with default route on different ISP

We have one router with connections to two different ISPs. Static NATs are configured to servers using IPs from ISP A. The customer is migrating everything eventually to ISP B. At this moment, we want to make all outbound traffic flow through ISP B but keep the static NATs to the servers on ISP A.

default route - ISP B

server 1 static NAT ISP A

server 2 static NAT ISP A

server 3 static NAT ISP A

The problem is that once ISP B is the default route, the static NATs break. How do we get traffic meant for the servers that comes in ISP A to return through ISP A?

  • WAN Routing and Switching
2 REPLIES
Hall of Fame Super Blue

Re: Static NAT on one ISP with default route on different ISP

Jason

You can use PBR for this ie. traffic with a source address of one of the servers is sent to the ISP A next hop eg.

access-list 101 permit ip host any

access-list 101 permit ip host any

access-list 101 permit ip host any

note the server addresses would need to be the real address ie. not the natted ones.

route-map PBR permit 10

match ip address 101

set ip next-hop

then on the LAN interface of your router

int fa0/0

ip policy route-map PBR

Jon

New Member

Re: Static NAT on one ISP with default route on different ISP

Thanks Jon, I'm going to try that config.

128
Views
0
Helpful
2
Replies