cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
403
Views
5
Helpful
2
Replies

NAT to 2 different ISPs

carl_townshend
Spotlight
Spotlight

Hi All

I have configured a router, it has 2 isp's and 2 default routes, one with a higher metric for failover.

With regards to the NAT config, is the below correct?

ISP1 is the primary.

 

ip nat inside source route-map NAT-TO-ISP1 interface GigabitEthernet0/1 overload

ip nat inside source route-map NAT-TO-ISP2 interface GigabitEthernet0/2 overload

!

route-map NAT-TO-ISP1 permit 10
match ip address Internal-nets
match interface GigabitEthernet0/1

!

route-map NAT-TO-ISP2 permit 10
match ip address Internal-nets
match interface GigabitEthernet0/2

 

Is this correct or anything else I need to do?

 

cheers

2 Replies 2

Hello
You NAT configuration looks okay, do you have any routing towards both wan interfaces preferably conditional statics routes?


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

carl_townshend
Spotlight
Spotlight

Hi

so we have to have the route maps matching the interface? Will it not work without them ?

And yes I have up sla echo and a track command to the next hop

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: