cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
244
Views
0
Helpful
1
Replies

Changeing providers, complicated NAT

preston
Level 1
Level 1

I am brainstorming on this wondered if anybody had any ideas on it.

Cisco 2600 with working Internet Connection, switched Internetproviders, and for the short term to wait on DNS to propogate, I would like for both connections to be up and on the Internet, yet I would need for two NAT pools to be running and know to route at the Interface that it recieved the packet on.

I have looked at the Route map ispnat, type of setup but haven't used it. Wondered if anybody had any feedback on it.

Also, I see how this would work with say a 2600 with 2 wic's although could this be done on 2 2600's with 1 wic, keeping in mind that the default gateway will only be set to 1 of them.

Thanks in advance, the config I am thinking of useing one router is simular to below.

ip nat inside source static 11.1.1.2 192.68.1.21 route-map isp2

ip nat inside source static 11.1.1.2 172.68.1.21 route-map isp1

ip nat inside source static 11.1.1.1 192.68.1.11 route-map isp2

ip nat inside source static 11.1.1.1 172.68.1.11 route-map isp1

access-list 101 permit ip 11.1.1.0 0.0.0.255 172.0.0.0 0.255.255.255

access-list 102 permit ip 11.1.1.0 0.0.0.255 192.0.0.0 0.255.255.255

!

route-map isp2 permit 10

match ip address 102

set ip next-hop 192.68.1.1

!

route-map isp1 permit 10

match ip address 101

set ip next-hop 172.68.1.1

1 Reply 1

j-block
Level 4
Level 4

If you would like to use two separate NAT pools for each ISP, a route-map can be used to choose the appropriate global address. In the route-map you can match both on the inside local addess as well as the next-hop address of ISP1 or ISP2 to which the packet is going to be forwarded and then translate it by linking the route-map to the pool configured with the address given by the corresponding service provider. There is a similar example in the Ciscopress book Routing TCP/IP vol.II by Jeff Doyle The syntax of your NAT configuration seems to be wrong. You cannot use a static translation for this. You need to use the 'ip nat inside source route-map ...." commands. Check if this link helps you :

http://www.cisco.com/warp/public/105/nat_routemap.html

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: